Skip to content

Conversation

dreis2211
Copy link
Contributor

Hi,

this PR improves the performance of URLFactory.create(). An isolated microbenchmark shows the following results.

Benchmark                      Mode  Cnt     Score     Error  Units
MyBenchmark.testURINew         avgt   10   717,888 ± 107,067  ns/op
MyBenchmark.testURIOld         avgt   10  1139,942 ±  13,933  ns/op

Cheers,
Christoph

@stevehu stevehu merged commit 4906d90 into networknt:master Apr 29, 2022
@stevehu
Copy link
Contributor

stevehu commented Apr 29, 2022

@dreis2211 Thanks a lot for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants