Skip to content

Instantly share code, notes, and snippets.

@shipilev
Created March 19, 2014 12:05
Show Gist options
  • Save shipilev/9640309 to your computer and use it in GitHub Desktop.
Save shipilev/9640309 to your computer and use it in GitHub Desktop.
# Run progress: 0.00% complete, ETA 00:00:05
# VM invoker: /home/shade/Install/jdk8u0/jre/bin/java
# VM options: <none>
# Fork: 1 of 1
# Warmup: <none>
# Measurement: 5 iterations, 1 s each
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: org.openjdk.jmh.samples.JMHSample_01_HelloWorld.wellHelloThere
Iteration 1: 1838576.986 ops/ms
Iteration 2: 1797769.467 ops/ms
Iteration 3: 1902559.993 ops/ms
Iteration 4: 1876831.093 ops/ms
Iteration 5: 953182.119 ops/ms
Result : 1673783.932 ±(99.9%) 1558634.371 ops/ms
Statistics: (min, avg, max) = (953182.119, 1673783.932, 1902559.993), stdev = 404772.397
Confidence interval (99.9%): [115149.560, 3232418.303]
Hottest guys on the block:
--------------------------------------------------
0x00007fbfe1185711: cmp $0xf801024a,%r9d ; {metadata('org/openjdk/jmh/logic/results/RawResults')}
0x00007fbfe1185718: jne 0x00007fbfe11857b5
0x00007fbfe118571e: mov %rbp,%r13
0x00007fbfe1185721: mov 0x8(%rbx),%r10d ; implicit exception: dispatches to 0x00007fbfe1185791
0x00007fbfe1185725: cmp $0xf8010387,%r10d ; {metadata('org/openjdk/jmh/samples/generated/JMHSample_01_HelloWorld$JMHSample_01_HelloWorld_1_jmh')}
0x00007fbfe118572c: jne 0x00007fbfe11857b5
0x00007fbfe1185732: test %r11,%r11
0x00007fbfe1185735: je 0x00007fbfe1185793
0x00007fbfe1185737: nopw 0x0(%rax,%rax,1) ;*invokevirtual wellHelloThere
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@14 (line 97)
4355 4184 0x00007fbfe1185740: movzbl 0xa0(%r11),%r10d ;*getfield isDone
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@24 (line 99)
268 274 0x00007fbfe1185748: add $0x1,%r14 ; OopMap{r11=Oop rbx=Oop r13=Oop off=172}
;*ifeq
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@27 (line 99)
33 43 0x00007fbfe118574c: test %eax,0x178708ae(%rip) # 0x00007fbff89f6000
; {poll}
20146 20398 0x00007fbfe1185752: test %r10d,%r10d
0x00007fbfe1185755: je 0x00007fbfe1185740 ;*ifeq
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@27 (line 99)
0x00007fbfe1185757: mov $0x7fbff7755d10,%r10
0x00007fbfe1185761: callq *%r10 ;*invokestatic nanoTime
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@31 (line 100)
0x00007fbfe1185764: mov %rax,0x30(%r13) ;*putfield stopTime
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@34 (line 100)
; implicit exception: dispatches to 0x00007fbfe11857dd
0x00007fbfe1185768: mov 0x18(%rsp),%r10
--------------------------------------------------
Columns are: cycles, instructions,
0x00007fbfe11949e9: test %r11,%r11
0x00007fbfe11949ec: je 0x00007fbfe1194a3c ;*invokevirtual wellHelloThere
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@14 (line 97)
0x00007fbfe11949ee: movzbl 0xa0(%r13),%r10d ;*getfield isDone
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@24 (line 99)
; implicit exception: dispatches to 0x00007fbfe1194a61
0x00007fbfe11949f6: mov $0x1,%ebp
0x00007fbfe11949fb: test %r10d,%r10d
0x00007fbfe11949fe: jne 0x00007fbfe1194a17 ;*aload_3
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@13 (line 97)
3073 3933 0x00007fbfe1194a00: movzbl 0xa0(%r13),%r10d ;*getfield isDone
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@24 (line 99)
2344 3200 0x00007fbfe1194a08: add $0x1,%rbp ; OopMap{r11=Oop rbx=Oop r13=Oop off=108}
;*ifeq
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@27 (line 99)
14 11 0x00007fbfe1194a0c: test %eax,0x178615ee(%rip) # 0x00007fbff89f6000
; {poll}
32384 32564 0x00007fbfe1194a12: test %r10d,%r10d
1 0 0x00007fbfe1194a15: je 0x00007fbfe1194a00 ;*aload_2
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@30 (line 100)
0x00007fbfe1194a17: mov $0x7fbff7755d10,%r10
0x00007fbfe1194a21: callq *%r10 ;*invokestatic nanoTime
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@31 (line 100)
0x00007fbfe1194a24: mov %rbp,0x18(%rbx) ;*putfield operations
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@46 (line 102)
0x00007fbfe1194a28: mov %rax,0x30(%rbx) ;*putfield stopTime
; - org.openjdk.jmh.samples.generated.JMHSample_01_HelloWorld::wellHelloThere_Throughput_measurementLoop@34 (line 100)
--------------------------------------------------
Columns are: cycles, instructions,
Benchmark Mode Samples Mean Mean error Units
o.o.j.s.JMHSample_01_HelloWorld.wellHelloThere thrpt 5 1673783.932 1558634.371 ops/ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment