Last active
July 28, 2022 15:41
-
-
Save jkschneider/96f5741dd76c007abf5bbcb804ebd712 to your computer and use it in GitHub Desktop.
The results of the StarImportBenchmark (https://github.com/openrewrite/rewrite/blob/main/rewrite-benchmarks/src/jmh/java/org/openrewrite/benchmarks/java/StarImportBenchmark.java)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport": | |
N = 238 | |
mean = 333.142 ±(99.9%) 10.826 ms/op | |
Histogram, ms/op: | |
[200.000, 225.000) = 0 | |
[225.000, 250.000) = 0 | |
[250.000, 275.000) = 19 | |
[275.000, 300.000) = 59 | |
[300.000, 325.000) = 56 | |
[325.000, 350.000) = 30 | |
[350.000, 375.000) = 23 | |
[375.000, 400.000) = 13 | |
[400.000, 425.000) = 22 | |
[425.000, 450.000) = 11 | |
[450.000, 475.000) = 5 | |
Percentiles, ms/op: | |
p(0.0000) = 258.212 ms/op | |
p(50.0000) = 316.146 ms/op | |
p(90.0000) = 410.622 ms/op | |
p(95.0000) = 439.511 ms/op | |
p(99.0000) = 454.673 ms/op | |
p(99.9000) = 459.276 ms/op | |
p(99.9900) = 459.276 ms/op | |
p(99.9990) = 459.276 ms/op | |
p(99.9999) = 459.276 ms/op | |
p(100.0000) = 459.276 ms/op | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport:·gc.alloc.rate": | |
1303.212 MB/sec | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport:·gc.alloc.rate.norm": | |
120516886.531 B/op | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport:·gc.churn.G1_Eden_Space": | |
3952.044 MB/sec | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport:·gc.churn.G1_Eden_Space.norm": | |
365663307.976 B/op | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport:·gc.churn.G1_Old_Gen": | |
17.500 MB/sec | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport:·gc.churn.G1_Old_Gen.norm": | |
1617624.488 B/op | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport:·gc.churn.G1_Survivor_Space": | |
6.259 MB/sec | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport:·gc.churn.G1_Survivor_Space.norm": | |
578827.914 B/op | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport:·gc.count": | |
16.000 counts | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.noStarImport:·gc.time": | |
549.000 ms | |
# JMH version: 1.35 | |
# VM version: JDK 11.0.9.1, OpenJDK 64-Bit Server VM, 11.0.9.1+1 | |
# VM invoker: /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/bin/java | |
# VM options: -javaagent:/Applications/IntelliJ IDEA.app/Contents/lib/idea_rt.jar=51596:/Applications/IntelliJ IDEA.app/Contents/bin -Dfile.encoding=UTF-8 | |
# Blackhole mode: full + dont-inline hint (auto-detected, use -Djmh.blackhole.autoDetect=false to disable) | |
# Warmup: 2 iterations, 10 s each | |
# Measurement: 2 iterations, 10 s each | |
# Timeout: 10 min per iteration | |
# Threads: 4 threads, will synchronize iterations | |
# Benchmark mode: Sampling time | |
# Benchmark: org.openrewrite.benchmarks.java.StarImportBenchmark.starImport | |
# Run progress: 50.00% complete, ETA 00:00:46 | |
# Fork: 1 of 1 | |
# Warmup Iteration 1: 1076.906 ±(99.9%) 404.676 ms/op | |
# Warmup Iteration 2: 451.053 ±(99.9%) 38.826 ms/op | |
Iteration 1: 341.827 ±(99.9%) 18.419 ms/op | |
starImport·p0.00: 261.882 ms/op | |
starImport·p0.50: 329.253 ms/op | |
starImport·p0.90: 437.990 ms/op | |
starImport·p0.95: 470.706 ms/op | |
starImport·p0.99: 484.547 ms/op | |
starImport·p0.999: 485.491 ms/op | |
starImport·p0.9999: 485.491 ms/op | |
starImport·p1.00: 485.491 ms/op | |
·gc.alloc.rate: 1278.330 MB/sec | |
·gc.alloc.rate.norm: 119955428.098 B/op | |
·gc.churn.G1_Eden_Space: 3830.174 MB/sec | |
·gc.churn.G1_Eden_Space.norm: 359414342.764 B/op | |
·gc.churn.G1_Old_Gen: 17.066 MB/sec | |
·gc.churn.G1_Old_Gen.norm: 1601431.935 B/op | |
·gc.churn.G1_Survivor_Space: 32.705 MB/sec | |
·gc.churn.G1_Survivor_Space.norm: 3069002.927 B/op | |
·gc.count: 17.000 counts | |
·gc.time: 770.000 ms | |
Iteration 2: 315.808 ±(99.9%) 12.459 ms/op | |
starImport·p0.00: 235.930 ms/op | |
starImport·p0.50: 313.524 ms/op | |
starImport·p0.90: 372.140 ms/op | |
starImport·p0.95: 386.872 ms/op | |
starImport·p0.99: 409.993 ms/op | |
starImport·p0.999: 409.993 ms/op | |
starImport·p0.9999: 409.993 ms/op | |
starImport·p1.00: 409.993 ms/op | |
·gc.alloc.rate: 1375.197 MB/sec | |
·gc.alloc.rate.norm: 119931837.191 B/op | |
·gc.churn.G1_Eden_Space: 4046.131 MB/sec | |
·gc.churn.G1_Eden_Space.norm: 352865834.992 B/op | |
·gc.churn.G1_Old_Gen: 17.514 MB/sec | |
·gc.churn.G1_Old_Gen.norm: 1527381.985 B/op | |
·gc.churn.G1_Survivor_Space: 6.425 MB/sec | |
·gc.churn.G1_Survivor_Space.norm: 560307.786 B/op | |
·gc.count: 16.000 counts | |
·gc.time: 870.000 ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport": | |
N = 242 | |
mean = 328.387 ±(99.9%) 11.178 ms/op | |
Histogram, ms/op: | |
[200.000, 225.000) = 0 | |
[225.000, 250.000) = 1 | |
[250.000, 275.000) = 33 | |
[275.000, 300.000) = 54 | |
[300.000, 325.000) = 36 | |
[325.000, 350.000) = 45 | |
[350.000, 375.000) = 35 | |
[375.000, 400.000) = 11 | |
[400.000, 425.000) = 13 | |
[425.000, 450.000) = 4 | |
[450.000, 475.000) = 6 | |
Percentiles, ms/op: | |
p(0.0000) = 235.930 ms/op | |
p(50.0000) = 323.748 ms/op | |
p(90.0000) = 403.282 ms/op | |
p(95.0000) = 436.208 ms/op | |
p(99.0000) = 478.219 ms/op | |
p(99.9000) = 485.491 ms/op | |
p(99.9900) = 485.491 ms/op | |
p(99.9990) = 485.491 ms/op | |
p(99.9999) = 485.491 ms/op | |
p(100.0000) = 485.491 ms/op | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport:·gc.alloc.rate": | |
1326.763 MB/sec | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport:·gc.alloc.rate.norm": | |
119943632.644 B/op | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport:·gc.churn.G1_Eden_Space": | |
3938.152 MB/sec | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport:·gc.churn.G1_Eden_Space.norm": | |
356140088.878 B/op | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport:·gc.churn.G1_Old_Gen": | |
17.290 MB/sec | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport:·gc.churn.G1_Old_Gen.norm": | |
1564406.960 B/op | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport:·gc.churn.G1_Survivor_Space": | |
19.565 MB/sec | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport:·gc.churn.G1_Survivor_Space.norm": | |
1814655.357 B/op | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport:·gc.count": | |
16.500 counts | |
Secondary result "org.openrewrite.benchmarks.java.StarImportBenchmark.starImport:·gc.time": | |
820.000 ms | |
# Run complete. Total time: 00:01:32 | |
REMEMBER: The numbers below are just data. To gain reusable insights, you need to follow up on | |
why the numbers are the way they are. Use profilers (see -prof, -lprof), design factorial | |
experiments, perform baseline and negative tests that provide experimental control, make sure | |
the benchmarking environment is safe on JVM/OS/HW level, ask for reviews from the domain experts. | |
Do not assume the numbers tell you what you want them to tell. | |
Benchmark Mode Cnt Score Error Units | |
StarImportBenchmark.noStarImport sample 238 333.142 ± 10.826 ms/op | |
StarImportBenchmark.noStarImport:noStarImport·p0.00 sample 258.212 ms/op | |
StarImportBenchmark.noStarImport:noStarImport·p0.50 sample 316.146 ms/op | |
StarImportBenchmark.noStarImport:noStarImport·p0.90 sample 410.622 ms/op | |
StarImportBenchmark.noStarImport:noStarImport·p0.95 sample 439.511 ms/op | |
StarImportBenchmark.noStarImport:noStarImport·p0.99 sample 454.673 ms/op | |
StarImportBenchmark.noStarImport:noStarImport·p0.999 sample 459.276 ms/op | |
StarImportBenchmark.noStarImport:noStarImport·p0.9999 sample 459.276 ms/op | |
StarImportBenchmark.noStarImport:noStarImport·p1.00 sample 459.276 ms/op | |
StarImportBenchmark.noStarImport:·gc.alloc.rate sample 2 1303.212 MB/sec | |
StarImportBenchmark.noStarImport:·gc.alloc.rate.norm sample 2 120516886.531 B/op | |
StarImportBenchmark.noStarImport:·gc.churn.G1_Eden_Space sample 2 3952.044 MB/sec | |
StarImportBenchmark.noStarImport:·gc.churn.G1_Eden_Space.norm sample 2 365663307.976 B/op | |
StarImportBenchmark.noStarImport:·gc.churn.G1_Old_Gen sample 2 17.500 MB/sec | |
StarImportBenchmark.noStarImport:·gc.churn.G1_Old_Gen.norm sample 2 1617624.488 B/op | |
StarImportBenchmark.noStarImport:·gc.churn.G1_Survivor_Space sample 2 6.259 MB/sec | |
StarImportBenchmark.noStarImport:·gc.churn.G1_Survivor_Space.norm sample 2 578827.914 B/op | |
StarImportBenchmark.noStarImport:·gc.count sample 2 32.000 counts | |
StarImportBenchmark.noStarImport:·gc.time sample 2 1098.000 ms | |
StarImportBenchmark.starImport sample 242 328.387 ± 11.178 ms/op | |
StarImportBenchmark.starImport:starImport·p0.00 sample 235.930 ms/op | |
StarImportBenchmark.starImport:starImport·p0.50 sample 323.748 ms/op | |
StarImportBenchmark.starImport:starImport·p0.90 sample 403.282 ms/op | |
StarImportBenchmark.starImport:starImport·p0.95 sample 436.208 ms/op | |
StarImportBenchmark.starImport:starImport·p0.99 sample 478.219 ms/op | |
StarImportBenchmark.starImport:starImport·p0.999 sample 485.491 ms/op | |
StarImportBenchmark.starImport:starImport·p0.9999 sample 485.491 ms/op | |
StarImportBenchmark.starImport:starImport·p1.00 sample 485.491 ms/op | |
StarImportBenchmark.starImport:·gc.alloc.rate sample 2 1326.763 MB/sec | |
StarImportBenchmark.starImport:·gc.alloc.rate.norm sample 2 119943632.644 B/op | |
StarImportBenchmark.starImport:·gc.churn.G1_Eden_Space sample 2 3938.152 MB/sec | |
StarImportBenchmark.starImport:·gc.churn.G1_Eden_Space.norm sample 2 356140088.878 B/op | |
StarImportBenchmark.starImport:·gc.churn.G1_Old_Gen sample 2 17.290 MB/sec | |
StarImportBenchmark.starImport:·gc.churn.G1_Old_Gen.norm sample 2 1564406.960 B/op | |
StarImportBenchmark.starImport:·gc.churn.G1_Survivor_Space sample 2 19.565 MB/sec | |
StarImportBenchmark.starImport:·gc.churn.G1_Survivor_Space.norm sample 2 1814655.357 B/op | |
StarImportBenchmark.starImport:·gc.count sample 2 33.000 counts | |
StarImportBenchmark.starImport:·gc.time sample 2 1640.000 ms |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice work