This is just a bookmark for my ongoing task of tuning without larger rewrites. So far, we got to this:
Benchmark Mode Cnt Score Error Units
HtmlParser_v380_Benchmark.domParser avgt 3 1,596,511 ± 136,413 ns/op
HtmlParser_v380_Benchmark.domParser:gc.alloc.rate.norm avgt 3 1,091,867 ± 1,868 B/op
Benchmark Mode Cnt Score Error Units
HtmlParser_v380_Benchmark.domParser avgt 3 1,178,706 ± 130,720 ns/op
HtmlParser_v380_Benchmark.domParser:gc.alloc.rate.norm avgt 3 870,992 ± 0 B/op
Benchmark Mode Cnt Score Error Units
HtmlParser_v380_Benchmark.domParser avgt 3 1,165,087 ± 112,361 ns/op
HtmlParser_v380_Benchmark.domParser:gc.alloc.rate.norm avgt 3 870,656 ± 0 B/op
Summary: 25% faster and 20% less memory is needed. There are 1-2% more performance in a JDK 11 compile than a JDK 8 one due to improvements of the JDK 11 code generation (no accessor methods for inner classes anymore).
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too