forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Performance Improvements for Azure Core (#12890)
* Miscellaneous small perf investigations in azure-core in draft form. * Fix HttpResponseBodyDecoder unit tests * Revert error checking logic * Fix some checkstyle issues and a test failure. * Compile two frequently parsed regex's into a Pattern to save CPU time * Hack in some code that tries to minimise the amount of times we serialize / deserialize to / from String, instead trying to use byte[] for input and ByteArrayOutputStream for output. * Fix afterburner versioning * Convert object to byte array * Remove duplicate serializer methods * Update references to old method * Add afterburner module to xml mapper * Reuse same Jackson ObjectMappers for all swagger interface methods in a single RestProxy instance * Improve code that enables object mapper reuse * Fix test and checkstyle issues * Remove unused jsonwrapper code * Fix unit tests * Use HashMap instead of ConcurrentHashMap * Remove references to jsonwrapper in module-info.java * Fixing spotbugs / checkstyle issues. * Rename one newly introduced SerializerAdapter method to avoid incompatibilities. * More cleanup * Some code cleanups based on review feedback * Remove unused import * Removing an exception I added * Update code paths that were creating unnecessary container types * Merge setScheme and setHost into a single API * Fixes for failing tests * Change interface defaults to fix ServiceBus test issues * Fix linting issue * Remove AfterBurner dependency from Azure Core * Add unreleased version tag * Add missing ; * Update serializeRaw to use OutputStream serializer method * Fix possible incorrect sizes * Fix Form Recognizer tests that were failing * Revert Form Recognizer version changes * Fix CI * Add accidentally deleted version tag Co-authored-by: Srikanta <srnagar@microsoft.com> Co-authored-by: alzimmermsft <48699787+alzimmermsft@users.noreply.github.com>
- Loading branch information
1 parent
18cbeed
commit 76fc7e8
Showing
29 changed files
with
639 additions
and
375 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.