@@ -22,9 +22,9 @@ Running the previous command should print something like (assuming Linux perf to
22
22
```
23
23
Secondary result "org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.test:·async":
24
24
Async profiler results:
25
- /tmp/org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.test -Throughput-count-100 /jfr-cpu.jfr
25
+ /tmp/org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.single -Throughput/jfr-cpu.jfr
26
26
Async profiler results:
27
- /tmp/org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.test -Throughput-count-100 /jfr-cpu.jfr
27
+ /tmp/org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.single -Throughput/jfr-cpu.jfr
28
28
```
29
29
and finally the results:
30
30
```
@@ -56,15 +56,15 @@ The position of the `jfr` files can be used along with the async-profiler conver
56
56
57
57
For alloc flamegraphs:
58
58
```
59
- $ java -cp ${ASYNC_PROFILER_HOME}/lib/converter.jar jfr2flame --alloc --total /tmp/org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.test -Throughput-count-100 /jfr-cpu.jfr alloc.html
59
+ $ java -cp ${ASYNC_PROFILER_HOME}/lib/converter.jar jfr2flame --alloc --total /tmp/org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.single -Throughput/jfr-cpu.jfr alloc.html
60
60
```
61
61
The ` --total ` flag is used to produce flamegraph samples based on the configred allocation threshold, aiming to show the total size of allocations.
62
62
63
63
Instead, for wall clock and cpu flamegraphs:
64
64
```
65
- $ java -cp ~/async-profiler/ lib/converter.jar jfr2flame --state default /tmp/org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.test -Throughput-count-100 /jfr-cpu.jfr cpu.html
65
+ $ java -cp ${ASYNC_PROFILER_HOME}/ lib/converter.jar jfr2flame --state default /tmp/org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.single -Throughput/jfr-cpu.jfr cpu.html
66
66
67
- $ java -cp ~/async-profiler/ lib/converter.jar jfr2flame --state runnable,sleeping /tmp/org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.test -Throughput-count-100 /jfr-cpu.jfr wall.html
67
+ $ java -cp ${ASYNC_PROFILER_HOME}/ lib/converter.jar jfr2flame --state runnable,sleeping /tmp/org.hibernate.benchmark.queryl1hit.QueryEntityLazyInitCollectionLoop.single -Throughput/jfr-cpu.jfr wall.html
68
68
```
69
69
Why we're using ` --state ` here?
70
70
0 commit comments