-
-
Notifications
You must be signed in to change notification settings - Fork 108
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
Optimize escape functions #188
base: main
Are you sure you want to change the base?
Conversation
Hi @isaacl, Thank you for your contribution! We really value the time you've taken to put this together. Before we proceed with reviewing this pull request, please sign the Lightbend Contributors License Agreement: |
cla signed |
- Use java.lang.StringBuilder instead of scala wrapper - Rewrite Html.buildString to use bulk copy methods when possible.
ping... I also posted in chat and got no response.... |
Hi @isaacl, I think it would be good to have JHM benchmarks added to the project so that we can better see/prove/check performance numbers when doing such optimizations: https://github.com/ktoso/sbt-jmh Basically, you write a benchmark for the function and run it before and after the optimization to see how the code change affected performance. Do you have the time to do it? Best. |
if you're willing to do it, that would be easier for me, but I will get to it eventually. |
@isaacl Do you have time to add the benchmarks? |
Do you have a benchmark framework to use or are you asking for simple jmh? |
when possible.