RFR: 8008733: Psr:perf:osb performance regression (18%) in wss_bodyenc

Aleksej Efimov aleksej.efimov at oracle.com
Sun Oct 13 10:00:58 UTC 2013


Aleksey,
Thank you for your comments and JMH reference.
I have created a benchmark to measure an average time of XPathContext 
object creation.
The benchmark code:
     @GenerateMicroBenchmark
     @BenchmarkMode(Mode.AverageTime)
     @OutputTimeUnit(TimeUnit.MICROSECONDS)
     public void testMethod(BlackHole bh) {
         bh.consume( new XPathContext() );
     }

Benchmark results:
Without proposed fix: 9,496 us/op
With proposed fix: 8,570 us/op

Alan,
No, I don't have sponsor and I'll be very appreciate if you'll sponsor 
this commit. The changeset is located here: h 
ttp://cr.openjdk.java.net/~aefimov/8008733/8008733_hg.export 
<http://cr.openjdk.java.net/%7Eaefimov/8008733/8008733_hg.export>. But I 
suppose, we will need another one formal review from a JDK8 reviewer.

Thank you,
Aleksej

On 10/12/2013 12:47 AM, Aleksey Shipilev wrote:
> On 10/11/2013 11:57 PM, Alan Bateman wrote:
>> (this might be a question for Aleksey as ideally we should be
>> building up a suite a good micro benchmarks as we fix or improve
>> things).
> Working on it separately for some time now.
> It would help to have the benchmark for particular issue anyway.
>
> -Aleksey.




More information about the core-libs-dev mailing list