What problem are you trying to solve?
Improve speed for Rewrite by merging in optimizations we created with Codeflash
Describe the solution you'd like
Here are the Pull Requests we created and reviewed manually with the optimizations. I have ordered them roughly in the order of ease of merge and impact:
Can you let me know which ones can I create here.
Additional context
We have improved codeflash for java significantly since the runs above last month, and now we can optimize end-to-end performance benchmarks as well. Let me know if you have any performance benchmarks that you would want optimizations for?
What problem are you trying to solve?
Improve speed for Rewrite by merging in optimizations we created with Codeflash
Describe the solution you'd like
Here are the Pull Requests we created and reviewed manually with the optimizations. I have ordered them roughly in the order of ease of merge and impact:
StringUtils.formatUriForPropertiesFileby 265% HeshamHM28/rewrite#54 - Simple speed up for string operationsStringUtils.indexOfNextNonWhitespaceby 57% HeshamHM28/rewrite#53 - Speeds up string operationsLocalRemoteArtifactCache.hashUriby 697% HeshamHM28/rewrite#27 - HashURI speedupStringUtils.indentby 161% HeshamHM28/rewrite#49 - String indent speedupCursor.toStringby 75% HeshamHM28/rewrite#16 - Cursor.toString speedupCursor.firstEnclosingby 94% HeshamHM28/rewrite#15 - Cursor firstEnclosing speedupExceptionUtils.containsCircularReferencesby 127% HeshamHM28/rewrite#33 - Exception circularReferencesStringUtils.isBlankby 139% HeshamHM28/rewrite#43 - String isBlank whitespacePathUtils.getEitherOrPatternsby 209% HeshamHM28/rewrite#38 - PathUtils speedupsStringUtils.capitalizeby 15% HeshamHM28/rewrite#45 - String capitalizeStringUtils.uncapitalizeby 7% HeshamHM28/rewrite#46 - String uncapitalizeRewriteRpcProcess.getLivenessCheckby 38% HeshamHM28/rewrite#19 - RewriteRpcProcess.getLivenessCheck speedupStringUtils.aspectjNameToPatternby 15% HeshamHM28/rewrite#51 - Speed up string operationsGitRemote.hashCodeby 114% HeshamHM28/rewrite#10 - speedup hashCode with a more optimized implementationMetricsHelper.successTagsby 116% HeshamHM28/rewrite#28 - simple speedupStringUtils.commonMarginby 12% HeshamHM28/rewrite#50 - speeds up string operations by reducing redundant computationsCan you let me know which ones can I create here.
Additional context
We have improved codeflash for java significantly since the runs above last month, and now we can optimize end-to-end performance benchmarks as well. Let me know if you have any performance benchmarks that you would want optimizations for?