Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config the default blocksize to 32k for Python 3.7+ #14442

Merged
merged 18 commits into from
Nov 7, 2020

Conversation

xiangyan99
Copy link
Member

@xiangyan99 xiangyan99 commented Oct 12, 2020

Fixes #11044

@ghost ghost added the Azure.Core label Oct 12, 2020
@xiangyan99 xiangyan99 marked this pull request as draft October 12, 2020 19:59
@xiangyan99
Copy link
Member Author

/azp run python - formrecognizer - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@xiangyan99 xiangyan99 marked this pull request as ready for review October 14, 2020 16:52
* [metricsadvisor] live tests setup (#14396)

* add live test yml for metrics advisor

* some fixes

* hardcode test ids and rerecord a few tests

* add ids back as env variables

* [formrecognizer] initial business cards (#14026)

* Sync eng/common directory with azure-sdk-tools for PR 1081 (#14445)

Sync eng/common directory with azure-sdk-tools for PR Azure/azure-sdk-tools#1081
 See [eng/common workflow](https://github.com/Azure/azure-sdk-tools/blob/master/eng/common/README.md#workflow)

* Communication Administration: Add on-demand resource creation for live-tests  (#14366)

* Add communication service preparer

* Refactor dynamic resource creation testing code

* Remove setup method of base test class

* Change fake conn str to valid format

* Remove unused import

* Remove main test file

* Reduce RG expiry durtion

* Async test code change with resource preparer

* Add chaching for resource-preparer

* Move helper into shared

* Move preparer into shared

* Uncomment test code

* Remove CommunicationResourceGroupPreparer use common instead

* Add base testcase for sync pnm

* move phone_number_helper to phone_number folder

* Add base pnm async testcase

* Add __init__ for test folders

* Fix identity tests to refer to shared test folder

* Refactor base async phonenumber test class

* Make decorator consisitent across all async tests utm

* Replace fake resource value

* Fix type in test file names

* Remove commented cache setting code

* Add livetest recording files

* Refresh recording files

* Update recording files

* Reorganize the test folder structure

* Add mgmt pacakge to the dev reqs

Co-authored-by: tural farhadov <[email protected]>

* [ServiceBus] Small stress test and sample touchups (#14304)

* Emplace sample generated for customer issue on the side for future reference. (generate sas token and authenticate)
* Adjust stress test that was using push receive instead of pull.
* Add async version of non-session to session send failure test, make both cached to improve perf.

* Codegen for Azure Monitor (#14057)

* Codegen fro Azure Monitor

* codeowner

* commit 2

* Update sdk/monitor/opentelemetry-exporter-azuremonitor/README.md

* doc setings

* Update eng/.docsettings.yml

* Update eng/.docsettings.yml

* Update sdk/monitor/opentelemetry-exporter-azuremonitor/README.md

* Update eng/.docsettings.yml

* version

* oops

* comments

* Update sdk/monitor/opentelemetry-exporter-azuremonitor/LICENSE.txt

Co-authored-by: Hector Hernandez <[email protected]>

Co-authored-by: Hector Hernandez <[email protected]>

* [Storage][FileShare]Regenerate for delete leased snapshot (#14469)

* add repr to models (#14475)

* remove validations (#14476)

* Ma remove readonly assignments (#14478)

* Ensure azure-identity readme has exactly one H1 (#14480)

The docs publishing system disallows multiple H1 headings in a document.

* Sync eng/common directory with azure-sdk-tools for PR 1088 (#14482)

* Add pipeline configuration for cleaning up upstream branches

* Fix powershell naming

* Switch to use github API

* Use github API to delete branches

Co-authored-by: Chidozie Ononiwu <[email protected]>

* enable live tests (#14467)

* Removed asynctestcase.py (#14444)

* testcase.py now uses AzureTestCase (#14443)

Co-authored-by: Krista Pratico <[email protected]>
Co-authored-by: Azure SDK Bot <[email protected]>
Co-authored-by: turalf <[email protected]>
Co-authored-by: tural farhadov <[email protected]>
Co-authored-by: KieranBrantnerMagee <[email protected]>
Co-authored-by: Rakshith Bhyravabhotla <[email protected]>
Co-authored-by: Hector Hernandez <[email protected]>
Co-authored-by: Xiaoxi Fu <[email protected]>
Co-authored-by: Charles Lowell <[email protected]>
Co-authored-by: Chidozie Ononiwu <[email protected]>
Co-authored-by: Bradley D'Amato <[email protected]>
@xiangyan99
Copy link
Member Author

/azp run python - tables - ci

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@mikeharder
Copy link
Member

Perf results show Stream matches Array after this PR:

  Stream (Mbps)   Array (Mbps)  
azure-core Pipeline stage_block Pipeline stage_block
1.8.2 5.93 5.88 287 302
PR 271 302 270 284

Test environment: #11044 (comment)

kasobol-msft
kasobol-msft previously approved these changes Nov 5, 2020
@xiangyan99
Copy link
Member Author

I tried it on Linux and did not see any perf impact.

@xiangyan99 xiangyan99 changed the title customize httpadapter to honor kwargs in send method Config the default blocksize to 32k for Python 3.7+ Nov 6, 2020
@xiangyan99 xiangyan99 merged commit c17c635 into master Nov 7, 2020
@xiangyan99 xiangyan99 deleted the core_customize_httpadapter branch November 7, 2020 02:45
openapi-sdkautomation bot pushed a commit to AzureSDKAutomation/azure-sdk-for-python that referenced this pull request Aug 26, 2021
Mitryakh/network march (Azure#15709)

* Adds base for updating Microsoft.Network from version stable/2021-02-01 to version 2021-03-01

* Updates readme

* Updates API version in new specs and examples

* Add new parameter to enable/disable BGP route translation for NAT VirtualWan VpnGateway (Azure#14462)

* Adding Bastion Host Configuration Features (Azure#14442)

Co-authored-by: Abhishek Shah <[email protected]>

* Add PL ASG (Azure#14620)

* Add PL ASG

* Prettier

* [Private Link] Private Endpoint Ipconfigurations swagger for 2021-03-01 (Azure#14662)

* Ipconfigurations swagger

* Ran prettier check

* fixing conflicting files

* fixing lint

* Fixing linter diff

* Lint diff

* resolving comments

* fixing conflict

* Fioxing

* running prettier

* Fixing linter comment

Co-authored-by: Shane Baden <[email protected]>

* Add missing properties of ServiceEndpointPolicy (Azure#14948)

* Add missing 'type' and 'serviceAlias' for ServiceEndpointPolicy related API response

* Add missing 'contextualServiceEndpointPolicies'

* fix bug

* fix type

* Add missing properties to ServiceEndpointPolicy

* Revert "fix type"

This reverts commit 3a49beb66d9bbb288fa0d3baaeaf5aaf2bbc6ee9.

* Revert "fix bug"

This reverts commit a4fff4ae925b01ed0cfb07b1594fb95e2c6649c7.

* Revert "Add missing 'contextualServiceEndpointPolicies'"

This reverts commit ccf19167abc61b90bce6b5204dc3b2a64fdf4ca4.

* Revert "Add missing 'type' and 'serviceAlias' for ServiceEndpointPolicy related API response"

This reverts commit e532cc1118241a74902e4362c32c25c11a764933.

Co-authored-by: Xu Wang <[email protected]>

* add new service tag details api (Azure#14958)

* add new service tag details api

* prettier check fixes

* fixing lint issue, additional properties issue

* Add Load distribution policy and global configuration to AppGW (Azure#14790)

* add Load distribution policy and global configuration to Application Gateway resource

* prettify

* remove provisioning state

* add public ssh key to network virtual appliance (Azure#14988)

* Changes needed for BgpEndpoint (Azure#14800)

* changes needed for BgpEndpoint

* prettier check

* model validation fix

* fix description

* update again

* Multi QoS support for DSCP configuration (Azure#15120)

* Updating the DSCP jsons to reflect the  multi-qos support

* Adding support to multi-qos

* adding the type object to NrpQos

* fixing the prettier
removing my update to the settings

* fixing the missing type object error. seeing if this also fixes the additional attributes exception

* fixing the prettier exception

* almost forgot this, it was refactor from NrpQos to QosDefinition. NRPQos is already being used in Networking repo

* copying what I did with my other objects

* names didn't match with what I have in NRP's src

* forgot to update the examples with the updates in the specification. updating it

* fixing the merge exceptions

* Add SQL Setting to Firewall Policy (Azure#15110)

* Add SQL Setting to Firewall Policy

* fix lint check except for object type

* resolve linter error

* network: fix newly added targets field to an array and missing sub-resource properties in applicationGateways.json (Azure#15318)

* fix: change target to an array and add subresource properties

* fix target examples

* Support to update tags for BastionHost resource (Azure#15446)

* Initial commit

* Validation fixes

* Update bastionHost.json

Co-authored-by: Abhishek Shah <[email protected]>

* Azure FW - Explicit Proxy feature swagger change (Azure#15017)

* explicit proxy swagger change

* prettier check fix

* lint check

* prettier fix

* revert unnecessary file change

* Add kind to virtual hub (Azure#15562)

* Adding customnetworkinterfacename attribute to Private Endpoint (Azure#15574)

Co-authored-by: Shane Baden <[email protected]>

* Added 3 new properties to InboundNatRule resource (Azure#15611)

* Added the missins properties to fix the change breaking update (Azure#15732)

Co-authored-by: Nilambari <[email protected]>
Co-authored-by: Abhishek Shah <[email protected]>
Co-authored-by: Abhishek Shah <[email protected]>
Co-authored-by: Yang Shi <[email protected]>
Co-authored-by: Shane Baden <[email protected]>
Co-authored-by: Shane Baden <[email protected]>
Co-authored-by: Xu Wang <[email protected]>
Co-authored-by: Xu Wang <[email protected]>
Co-authored-by: guptas14 <[email protected]>
Co-authored-by: Akshay Gupta <[email protected]>
Co-authored-by: litchiyangMSFT <[email protected]>
Co-authored-by: Ritvika Reddy Nagula <[email protected]>
Co-authored-by: David Velasco <[email protected]>
Co-authored-by: Jiejiong Wu <[email protected]>
Co-authored-by: tinawu6 <[email protected]>
Co-authored-by: irrogozh <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Single request uploads of large "readable" data stream are slow (capped at ~8Mbps)
5 participants