1. 需求
在github 讨论东西的时候,有时候需要贴上性能报告。
但是那玩意很长,所以希望能折叠
2. 实现
1 | <details> |
3. 实例
Jmh Result
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0
Parameters: (inputStreamSize = 1000000, skipLength = 1)
Run progress: 0.00% complete, ETA 00:14:00
Fork: 1 of 3
Warmup Iteration 1: 3188201.250 ns/op
Warmup Iteration 2: 2445386.603 ns/op
Warmup Iteration 3: 2395206.481 ns/op
Warmup Iteration 4: 2391797.196 ns/op
Warmup Iteration 5: 2518698.039 ns/op
Warmup Iteration 6: 2414542.254 ns/op
Warmup Iteration 7: 2419808.019 ns/op
Warmup Iteration 8: 2430526.540 ns/op
Warmup Iteration 9: 2430806.635 ns/op
Warmup Iteration 10: 2414558.173 ns/op
Iteration 1: 2426910.427 ns/op
Iteration 2: 2429144.811 ns/op
Iteration 3: 2574322.500 ns/op
Iteration 4: 2396079.907 ns/op
Iteration 5: 2425966.509 ns/op
Iteration 6: 2461450.239 ns/op
Iteration 7: 2527480.392 ns/op
Iteration 8: 2523890.640 ns/op
Iteration 9: 2511460.488 ns/op
Iteration 10: 2532332.843 ns/op
Run progress: 1.19% complete, ETA 00:14:36
Fork: 2 of 3
Warmup Iteration 1: 3174534.969 ns/op
Warmup Iteration 2: 2499138.235 ns/op
Warmup Iteration 3: 2421553.521 ns/op
Warmup Iteration 4: 2416571.698 ns/op
Warmup Iteration 5: 2384638.889 ns/op
Warmup Iteration 6: 2377448.387 ns/op
Warmup Iteration 7: 2395746.512 ns/op
Warmup Iteration 8: 2384657.209 ns/op
Warmup Iteration 9: 2403249.302 ns/op
Warmup Iteration 10: 2397511.163 ns/op
Iteration 1: 2386731.481 ns/op
Iteration 2: 2418383.491 ns/op
Iteration 3: 2394599.535 ns/op
Iteration 4: 2436117.536 ns/op
Iteration 5: 2399048.357 ns/op
Iteration 6: 2483871.498 ns/op
Iteration 7: 2496279.612 ns/op
Iteration 8: 2496743.204 ns/op
Iteration 9: 2491237.811 ns/op
Iteration 10: 2493390.338 ns/op
Run progress: 2.38% complete, ETA 00:14:25
Fork: 3 of 3
Warmup Iteration 1: 3677115.714 ns/op
Warmup Iteration 2: 2423365.877 ns/op
Warmup Iteration 3: 2480975.962 ns/op
Warmup Iteration 4: 2412990.610 ns/op
Warmup Iteration 5: 2433951.185 ns/op
Warmup Iteration 6: 2389266.190 ns/op
Warmup Iteration 7: 2407245.933 ns/op
Warmup Iteration 8: 2375563.721 ns/op
Warmup Iteration 9: 2388543.981 ns/op
Warmup Iteration 10: 2393794.419 ns/op
Iteration 1: 2403104.306 ns/op
Iteration 2: 2414766.355 ns/op
Iteration 3: 2408296.667 ns/op
Iteration 4: 2509554.412 ns/op
Iteration 5: 2402212.440 ns/op
Iteration 6: 2436674.272 ns/op
Iteration 7: 2466500.000 ns/op
Iteration 8: 2472919.712 ns/op
Iteration 9: 2462019.139 ns/op
Iteration 10: 2453551.905 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0”:
2457834.694 ±(99.9%) 33354.477 ns/op [Average]
(min, avg, max) = (2386731.481, 2457834.694, 2574322.500), stdev = 49923.415
CI (99.9%): [2424480.217, 2491189.172] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0
Parameters: (inputStreamSize = 1000000, skipLength = 8)
Run progress: 3.57% complete, ETA 00:14:13
Fork: 1 of 3
Warmup Iteration 1: 432960.511 ns/op
Warmup Iteration 2: 336604.734 ns/op
Warmup Iteration 3: 330185.843 ns/op
Warmup Iteration 4: 325184.675 ns/op
Warmup Iteration 5: 328446.641 ns/op
Warmup Iteration 6: 327902.621 ns/op
Warmup Iteration 7: 330808.786 ns/op
Warmup Iteration 8: 347259.824 ns/op
Warmup Iteration 9: 325685.010 ns/op
Warmup Iteration 10: 327215.911 ns/op
Iteration 1: 326363.255 ns/op
Iteration 2: 328112.283 ns/op
Iteration 3: 328520.409 ns/op
Iteration 4: 328192.298 ns/op
Iteration 5: 340780.468 ns/op
Iteration 6: 343513.740 ns/op
Iteration 7: 339350.495 ns/op
Iteration 8: 342972.315 ns/op
Iteration 9: 344445.097 ns/op
Iteration 10: 350693.452 ns/op
Run progress: 4.76% complete, ETA 00:14:02
Fork: 2 of 3
Warmup Iteration 1: 503495.030 ns/op
Warmup Iteration 2: 323265.522 ns/op
Warmup Iteration 3: 325264.161 ns/op
Warmup Iteration 4: 312467.682 ns/op
Warmup Iteration 5: 307800.661 ns/op
Warmup Iteration 6: 315526.290 ns/op
Warmup Iteration 7: 302447.260 ns/op
Warmup Iteration 8: 301606.959 ns/op
Warmup Iteration 9: 304443.979 ns/op
Warmup Iteration 10: 303558.949 ns/op
Iteration 1: 305632.977 ns/op
Iteration 2: 304706.452 ns/op
Iteration 3: 304734.752 ns/op
Iteration 4: 304647.030 ns/op
Iteration 5: 303296.986 ns/op
Iteration 6: 308326.426 ns/op
Iteration 7: 307861.538 ns/op
Iteration 8: 310309.671 ns/op
Iteration 9: 308256.783 ns/op
Iteration 10: 310094.610 ns/op
Run progress: 5.95% complete, ETA 00:13:51
Fork: 3 of 3
Warmup Iteration 1: 423681.099 ns/op
Warmup Iteration 2: 331443.907 ns/op
Warmup Iteration 3: 325272.884 ns/op
Warmup Iteration 4: 326737.206 ns/op
Warmup Iteration 5: 327400.978 ns/op
Warmup Iteration 6: 333933.247 ns/op
Warmup Iteration 7: 334043.381 ns/op
Warmup Iteration 8: 324878.689 ns/op
Warmup Iteration 9: 326202.222 ns/op
Warmup Iteration 10: 324154.253 ns/op
Iteration 1: 324469.987 ns/op
Iteration 2: 321729.508 ns/op
Iteration 3: 327916.008 ns/op
Iteration 4: 323248.774 ns/op
Iteration 5: 327260.817 ns/op
Iteration 6: 335050.000 ns/op
Iteration 7: 334465.887 ns/op
Iteration 8: 332373.493 ns/op
Iteration 9: 332774.758 ns/op
Iteration 10: 334466.124 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0”:
324485.546 ±(99.9%) 9594.651 ns/op [Average]
(min, avg, max) = (303296.986, 324485.546, 350693.452), stdev = 14360.823
CI (99.9%): [314890.895, 334080.198] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0
Parameters: (inputStreamSize = 1000000, skipLength = 32)
Run progress: 7.14% complete, ETA 00:13:42
Fork: 1 of 3
Warmup Iteration 1: 157982.625 ns/op
Warmup Iteration 2: 118242.606 ns/op
Warmup Iteration 3: 118988.755 ns/op
Warmup Iteration 4: 116650.870 ns/op
Warmup Iteration 5: 116501.544 ns/op
Warmup Iteration 6: 117494.746 ns/op
Warmup Iteration 7: 116678.389 ns/op
Warmup Iteration 8: 119845.086 ns/op
Warmup Iteration 9: 124761.701 ns/op
Warmup Iteration 10: 131184.009 ns/op
Iteration 1: 127549.720 ns/op
Iteration 2: 128505.980 ns/op
Iteration 3: 124631.989 ns/op
Iteration 4: 124192.308 ns/op
Iteration 5: 124832.198 ns/op
Iteration 6: 121911.619 ns/op
Iteration 7: 122014.377 ns/op
Iteration 8: 120072.613 ns/op
Iteration 9: 119579.097 ns/op
Iteration 10: 120206.452 ns/op
Run progress: 8.33% complete, ETA 00:13:31
Fork: 2 of 3
Warmup Iteration 1: 154871.139 ns/op
Warmup Iteration 2: 122151.482 ns/op
Warmup Iteration 3: 115675.248 ns/op
Warmup Iteration 4: 116348.184 ns/op
Warmup Iteration 5: 117370.941 ns/op
Warmup Iteration 6: 116512.639 ns/op
Warmup Iteration 7: 117318.053 ns/op
Warmup Iteration 8: 117803.068 ns/op
Warmup Iteration 9: 117686.096 ns/op
Warmup Iteration 10: 116044.860 ns/op
Iteration 1: 116761.451 ns/op
Iteration 2: 117445.679 ns/op
Iteration 3: 116673.003 ns/op
Iteration 4: 115562.183 ns/op
Iteration 5: 116082.398 ns/op
Iteration 6: 118057.978 ns/op
Iteration 7: 120118.816 ns/op
Iteration 8: 120141.873 ns/op
Iteration 9: 122371.829 ns/op
Iteration 10: 119617.317 ns/op
Run progress: 9.52% complete, ETA 00:13:21
Fork: 3 of 3
Warmup Iteration 1: 153774.641 ns/op
Warmup Iteration 2: 118236.151 ns/op
Warmup Iteration 3: 118701.089 ns/op
Warmup Iteration 4: 117544.991 ns/op
Warmup Iteration 5: 118908.965 ns/op
Warmup Iteration 6: 116556.597 ns/op
Warmup Iteration 7: 116960.708 ns/op
Warmup Iteration 8: 117323.268 ns/op
Warmup Iteration 9: 118292.823 ns/op
Warmup Iteration 10: 118358.750 ns/op
Iteration 1: 119093.418 ns/op
Iteration 2: 119664.406 ns/op
Iteration 3: 119291.078 ns/op
Iteration 4: 119179.563 ns/op
Iteration 5: 119678.926 ns/op
Iteration 6: 120095.905 ns/op
Iteration 7: 119978.473 ns/op
Iteration 8: 119794.866 ns/op
Iteration 9: 119378.122 ns/op
Iteration 10: 120919.192 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0”:
120446.761 ±(99.9%) 2038.143 ns/op [Average]
(min, avg, max) = (115562.183, 120446.761, 128505.980), stdev = 3050.596
CI (99.9%): [118408.618, 122484.903] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0
Parameters: (inputStreamSize = 1000000, skipLength = 128)
Run progress: 10.71% complete, ETA 00:13:10
Fork: 1 of 3
Warmup Iteration 1: 102663.829 ns/op
Warmup Iteration 2: 83648.860 ns/op
Warmup Iteration 3: 78914.332 ns/op
Warmup Iteration 4: 78855.969 ns/op
Warmup Iteration 5: 78423.452 ns/op
Warmup Iteration 6: 79308.987 ns/op
Warmup Iteration 7: 79245.060 ns/op
Warmup Iteration 8: 78493.284 ns/op
Warmup Iteration 9: 79586.881 ns/op
Warmup Iteration 10: 77774.863 ns/op
Iteration 1: 80046.149 ns/op
Iteration 2: 77178.902 ns/op
Iteration 3: 77045.684 ns/op
Iteration 4: 77329.515 ns/op
Iteration 5: 77123.399 ns/op
Iteration 6: 80490.295 ns/op
Iteration 7: 82318.670 ns/op
Iteration 8: 82269.526 ns/op
Iteration 9: 83190.164 ns/op
Iteration 10: 83596.219 ns/op
Run progress: 11.90% complete, ETA 00:12:59
Fork: 2 of 3
Warmup Iteration 1: 109741.726 ns/op
Warmup Iteration 2: 81610.000 ns/op
Warmup Iteration 3: 77431.550 ns/op
Warmup Iteration 4: 77795.449 ns/op
Warmup Iteration 5: 77021.062 ns/op
Warmup Iteration 6: 77504.265 ns/op
Warmup Iteration 7: 79110.988 ns/op
Warmup Iteration 8: 78471.372 ns/op
Warmup Iteration 9: 79013.571 ns/op
Warmup Iteration 10: 76824.813 ns/op
Iteration 1: 77220.497 ns/op
Iteration 2: 76968.315 ns/op
Iteration 3: 77452.563 ns/op
Iteration 4: 77063.835 ns/op
Iteration 5: 77165.763 ns/op
Iteration 6: 77498.838 ns/op
Iteration 7: 79278.259 ns/op
Iteration 8: 81120.645 ns/op
Iteration 9: 80998.644 ns/op
Iteration 10: 81013.150 ns/op
Run progress: 13.10% complete, ETA 00:12:48
Fork: 3 of 3
Warmup Iteration 1: 102657.228 ns/op
Warmup Iteration 2: 83686.451 ns/op
Warmup Iteration 3: 79767.733 ns/op
Warmup Iteration 4: 79342.178 ns/op
Warmup Iteration 5: 79293.307 ns/op
Warmup Iteration 6: 79669.975 ns/op
Warmup Iteration 7: 78855.248 ns/op
Warmup Iteration 8: 79944.160 ns/op
Warmup Iteration 9: 79307.401 ns/op
Warmup Iteration 10: 79501.854 ns/op
Iteration 1: 77225.988 ns/op
Iteration 2: 76637.151 ns/op
Iteration 3: 77185.755 ns/op
Iteration 4: 76765.182 ns/op
Iteration 5: 77099.521 ns/op
Iteration 6: 78191.114 ns/op
Iteration 7: 78648.578 ns/op
Iteration 8: 79591.636 ns/op
Iteration 9: 81063.063 ns/op
Iteration 10: 80659.528 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0”:
78981.218 ±(99.9%) 1455.232 ns/op [Average]
(min, avg, max) = (76637.151, 78981.218, 83596.219), stdev = 2178.122
CI (99.9%): [77525.987, 80436.450] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0
Parameters: (inputStreamSize = 1000000, skipLength = 512)
Run progress: 14.29% complete, ETA 00:12:38
Fork: 1 of 3
Warmup Iteration 1: 110284.355 ns/op
Warmup Iteration 2: 87845.780 ns/op
Warmup Iteration 3: 86279.993 ns/op
Warmup Iteration 4: 86616.478 ns/op
Warmup Iteration 5: 86007.761 ns/op
Warmup Iteration 6: 86624.126 ns/op
Warmup Iteration 7: 86011.156 ns/op
Warmup Iteration 8: 86494.165 ns/op
Warmup Iteration 9: 86150.461 ns/op
Warmup Iteration 10: 87206.396 ns/op
Iteration 1: 86158.701 ns/op
Iteration 2: 86814.809 ns/op
Iteration 3: 86391.159 ns/op
Iteration 4: 86420.481 ns/op
Iteration 5: 86192.492 ns/op
Iteration 6: 86387.883 ns/op
Iteration 7: 86515.532 ns/op
Iteration 8: 86804.092 ns/op
Iteration 9: 92068.945 ns/op
Iteration 10: 94226.402 ns/op
Run progress: 15.48% complete, ETA 00:12:27
Fork: 2 of 3
Warmup Iteration 1: 125421.884 ns/op
Warmup Iteration 2: 104713.860 ns/op
Warmup Iteration 3: 92435.580 ns/op
Warmup Iteration 4: 93801.039 ns/op
Warmup Iteration 5: 91955.016 ns/op
Warmup Iteration 6: 89863.662 ns/op
Warmup Iteration 7: 89482.934 ns/op
Warmup Iteration 8: 89784.940 ns/op
Warmup Iteration 9: 89200.178 ns/op
Warmup Iteration 10: 92073.483 ns/op
Iteration 1: 90659.436 ns/op
Iteration 2: 89330.763 ns/op
Iteration 3: 88061.523 ns/op
Iteration 4: 89087.350 ns/op
Iteration 5: 90807.571 ns/op
Iteration 6: 89006.133 ns/op
Iteration 7: 89833.473 ns/op
Iteration 8: 86286.802 ns/op
Iteration 9: 87186.204 ns/op
Iteration 10: 87149.704 ns/op
Run progress: 16.67% complete, ETA 00:12:16
Fork: 3 of 3
Warmup Iteration 1: 112808.804 ns/op
Warmup Iteration 2: 88255.384 ns/op
Warmup Iteration 3: 87005.771 ns/op
Warmup Iteration 4: 87296.134 ns/op
Warmup Iteration 5: 86430.054 ns/op
Warmup Iteration 6: 86560.017 ns/op
Warmup Iteration 7: 86641.664 ns/op
Warmup Iteration 8: 87761.186 ns/op
Warmup Iteration 9: 86926.524 ns/op
Warmup Iteration 10: 87537.658 ns/op
Iteration 1: 88463.151 ns/op
Iteration 2: 88457.574 ns/op
Iteration 3: 88471.720 ns/op
Iteration 4: 87268.556 ns/op
Iteration 5: 87252.555 ns/op
Iteration 6: 89661.423 ns/op
Iteration 7: 91098.844 ns/op
Iteration 8: 89373.957 ns/op
Iteration 9: 89355.994 ns/op
Iteration 10: 87744.177 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0”:
88417.914 ±(99.9%) 1324.450 ns/op [Average]
(min, avg, max) = (86158.701, 88417.914, 94226.402), stdev = 1982.375
CI (99.9%): [87093.463, 89742.364] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0
Parameters: (inputStreamSize = 1000000, skipLength = 2048)
Run progress: 17.86% complete, ETA 00:12:06
Fork: 1 of 3
Warmup Iteration 1: 102055.637 ns/op
Warmup Iteration 2: 83953.095 ns/op
Warmup Iteration 3: 81054.527 ns/op
Warmup Iteration 4: 81460.215 ns/op
Warmup Iteration 5: 81400.711 ns/op
Warmup Iteration 6: 80534.898 ns/op
Warmup Iteration 7: 82214.429 ns/op
Warmup Iteration 8: 79675.975 ns/op
Warmup Iteration 9: 80020.870 ns/op
Warmup Iteration 10: 79895.252 ns/op
Iteration 1: 80148.246 ns/op
Iteration 2: 80310.782 ns/op
Iteration 3: 80039.960 ns/op
Iteration 4: 79770.754 ns/op
Iteration 5: 79818.343 ns/op
Iteration 6: 81146.106 ns/op
Iteration 7: 82810.122 ns/op
Iteration 8: 82839.421 ns/op
Iteration 9: 82310.678 ns/op
Iteration 10: 80088.597 ns/op
Run progress: 19.05% complete, ETA 00:11:55
Fork: 2 of 3
Warmup Iteration 1: 102615.678 ns/op
Warmup Iteration 2: 82043.463 ns/op
Warmup Iteration 3: 79697.718 ns/op
Warmup Iteration 4: 80145.736 ns/op
Warmup Iteration 5: 80305.335 ns/op
Warmup Iteration 6: 81131.083 ns/op
Warmup Iteration 7: 79974.670 ns/op
Warmup Iteration 8: 79974.868 ns/op
Warmup Iteration 9: 79699.256 ns/op
Warmup Iteration 10: 80816.486 ns/op
Iteration 1: 82163.022 ns/op
Iteration 2: 81062.705 ns/op
Iteration 3: 80207.153 ns/op
Iteration 4: 81797.205 ns/op
Iteration 5: 84417.675 ns/op
Iteration 6: 80766.897 ns/op
Iteration 7: 80014.765 ns/op
Iteration 8: 80701.136 ns/op
Iteration 9: 80743.715 ns/op
Iteration 10: 80494.425 ns/op
Run progress: 20.24% complete, ETA 00:11:45
Fork: 3 of 3
Warmup Iteration 1: 104127.774 ns/op
Warmup Iteration 2: 84746.915 ns/op
Warmup Iteration 3: 86138.469 ns/op
Warmup Iteration 4: 87681.478 ns/op
Warmup Iteration 5: 84842.044 ns/op
Warmup Iteration 6: 83701.255 ns/op
Warmup Iteration 7: 82922.666 ns/op
Warmup Iteration 8: 83111.535 ns/op
Warmup Iteration 9: 83815.198 ns/op
Warmup Iteration 10: 82283.971 ns/op
Iteration 1: 82810.192 ns/op
Iteration 2: 82679.581 ns/op
Iteration 3: 83454.692 ns/op
Iteration 4: 82988.826 ns/op
Iteration 5: 82807.421 ns/op
Iteration 6: 83196.126 ns/op
Iteration 7: 83579.131 ns/op
Iteration 8: 82080.933 ns/op
Iteration 9: 82578.360 ns/op
Iteration 10: 83344.252 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0”:
81705.707 ±(99.9%) 920.354 ns/op [Average]
(min, avg, max) = (79770.754, 81705.707, 84417.675), stdev = 1377.543
CI (99.9%): [80785.353, 82626.062] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0
Parameters: (inputStreamSize = 1000000, skipLength = 8192)
Run progress: 21.43% complete, ETA 00:11:34
Fork: 1 of 3
Warmup Iteration 1: 26489.399 ns/op
Warmup Iteration 2: 20772.307 ns/op
Warmup Iteration 3: 20483.216 ns/op
Warmup Iteration 4: 20574.444 ns/op
Warmup Iteration 5: 20634.652 ns/op
Warmup Iteration 6: 20914.959 ns/op
Warmup Iteration 7: 20702.594 ns/op
Warmup Iteration 8: 20567.134 ns/op
Warmup Iteration 9: 21063.642 ns/op
Warmup Iteration 10: 20678.942 ns/op
Iteration 1: 20854.266 ns/op
Iteration 2: 20827.427 ns/op
Iteration 3: 21071.932 ns/op
Iteration 4: 20818.294 ns/op
Iteration 5: 21002.478 ns/op
Iteration 6: 21187.056 ns/op
Iteration 7: 20785.493 ns/op
Iteration 8: 21084.103 ns/op
Iteration 9: 20689.386 ns/op
Iteration 10: 21348.985 ns/op
Run progress: 22.62% complete, ETA 00:11:24
Fork: 2 of 3
Warmup Iteration 1: 27175.485 ns/op
Warmup Iteration 2: 20977.799 ns/op
Warmup Iteration 3: 20391.248 ns/op
Warmup Iteration 4: 20353.639 ns/op
Warmup Iteration 5: 20575.407 ns/op
Warmup Iteration 6: 20616.771 ns/op
Warmup Iteration 7: 20574.437 ns/op
Warmup Iteration 8: 20775.360 ns/op
Warmup Iteration 9: 20537.898 ns/op
Warmup Iteration 10: 20699.992 ns/op
Iteration 1: 20790.142 ns/op
Iteration 2: 20897.762 ns/op
Iteration 3: 21178.964 ns/op
Iteration 4: 20589.881 ns/op
Iteration 5: 20817.220 ns/op
Iteration 6: 20242.485 ns/op
Iteration 7: 20483.477 ns/op
Iteration 8: 20255.665 ns/op
Iteration 9: 20323.850 ns/op
Iteration 10: 20249.024 ns/op
Run progress: 23.81% complete, ETA 00:11:13
Fork: 3 of 3
Warmup Iteration 1: 25386.842 ns/op
Warmup Iteration 2: 20431.106 ns/op
Warmup Iteration 3: 20256.294 ns/op
Warmup Iteration 4: 20195.299 ns/op
Warmup Iteration 5: 20128.312 ns/op
Warmup Iteration 6: 20162.641 ns/op
Warmup Iteration 7: 20195.761 ns/op
Warmup Iteration 8: 20102.447 ns/op
Warmup Iteration 9: 20219.653 ns/op
Warmup Iteration 10: 20158.666 ns/op
Iteration 1: 20247.113 ns/op
Iteration 2: 20228.567 ns/op
Iteration 3: 20150.238 ns/op
Iteration 4: 20209.225 ns/op
Iteration 5: 20179.959 ns/op
Iteration 6: 20125.067 ns/op
Iteration 7: 20237.787 ns/op
Iteration 8: 20129.995 ns/op
Iteration 9: 20133.099 ns/op
Iteration 10: 20239.677 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip0”:
20579.287 ±(99.9%) 260.370 ns/op [Average]
(min, avg, max) = (20125.067, 20579.287, 21348.985), stdev = 389.710
CI (99.9%): [20318.917, 20839.658] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1
Parameters: (inputStreamSize = 1000000, skipLength = 1)
Run progress: 25.00% complete, ETA 00:11:03
Fork: 1 of 3
Warmup Iteration 1: 1523456.213 ns/op
Warmup Iteration 2: 1472994.236 ns/op
Warmup Iteration 3: 1507210.557 ns/op
Warmup Iteration 4: 1478360.807 ns/op
Warmup Iteration 5: 1483629.769 ns/op
Warmup Iteration 6: 1477262.931 ns/op
Warmup Iteration 7: 1483323.563 ns/op
Warmup Iteration 8: 1482942.486 ns/op
Warmup Iteration 9: 1468771.429 ns/op
Warmup Iteration 10: 1482198.844 ns/op
Iteration 1: 1473512.034 ns/op
Iteration 2: 1469536.103 ns/op
Iteration 3: 1472926.801 ns/op
Iteration 4: 1481235.447 ns/op
Iteration 5: 1474775.931 ns/op
Iteration 6: 1519975.740 ns/op
Iteration 7: 1526036.499 ns/op
Iteration 8: 1535044.478 ns/op
Iteration 9: 1536937.838 ns/op
Iteration 10: 1530933.433 ns/op
Run progress: 26.19% complete, ETA 00:10:52
Fork: 2 of 3
Warmup Iteration 1: 1552555.556 ns/op
Warmup Iteration 2: 1527709.009 ns/op
Warmup Iteration 3: 1528438.279 ns/op
Warmup Iteration 4: 1518343.195 ns/op
Warmup Iteration 5: 1529964.179 ns/op
Warmup Iteration 6: 1523591.445 ns/op
Warmup Iteration 7: 1525374.184 ns/op
Warmup Iteration 8: 1555876.061 ns/op
Warmup Iteration 9: 1528672.997 ns/op
Warmup Iteration 10: 1539299.102 ns/op
Iteration 1: 1537250.450 ns/op
Iteration 2: 1522923.669 ns/op
Iteration 3: 1547069.069 ns/op
Iteration 4: 1539041.617 ns/op
Iteration 5: 1522994.065 ns/op
Iteration 6: 1569674.618 ns/op
Iteration 7: 1601412.150 ns/op
Iteration 8: 1599402.795 ns/op
Iteration 9: 1594985.759 ns/op
Iteration 10: 1600359.502 ns/op
Run progress: 27.38% complete, ETA 00:10:42
Fork: 3 of 3
Warmup Iteration 1: 1524622.121 ns/op
Warmup Iteration 2: 1481929.107 ns/op
Warmup Iteration 3: 1482453.097 ns/op
Warmup Iteration 4: 1484176.012 ns/op
Warmup Iteration 5: 1490247.688 ns/op
Warmup Iteration 6: 1492335.015 ns/op
Warmup Iteration 7: 1486042.241 ns/op
Warmup Iteration 8: 1471062.286 ns/op
Warmup Iteration 9: 1486252.802 ns/op
Warmup Iteration 10: 1471295.308 ns/op
Iteration 1: 1474984.814 ns/op
Iteration 2: 1476571.976 ns/op
Iteration 3: 1490120.349 ns/op
Iteration 4: 1477158.453 ns/op
Iteration 5: 1475879.765 ns/op
Iteration 6: 1516047.892 ns/op
Iteration 7: 1544309.009 ns/op
Iteration 8: 1551311.712 ns/op
Iteration 9: 1545775.767 ns/op
Iteration 10: 1548329.321 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1”:
1525217.235 ±(99.9%) 27978.461 ns/op [Average]
(min, avg, max) = (1469536.103, 1525217.235, 1601412.150), stdev = 41876.847
CI (99.9%): [1497238.774, 1553195.696] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1
Parameters: (inputStreamSize = 1000000, skipLength = 8)
Run progress: 28.57% complete, ETA 00:10:31
Fork: 1 of 3
Warmup Iteration 1: 192351.609 ns/op
Warmup Iteration 2: 189616.617 ns/op
Warmup Iteration 3: 188225.852 ns/op
Warmup Iteration 4: 188603.855 ns/op
Warmup Iteration 5: 188402.449 ns/op
Warmup Iteration 6: 189370.562 ns/op
Warmup Iteration 7: 188774.681 ns/op
Warmup Iteration 8: 188737.542 ns/op
Warmup Iteration 9: 188681.259 ns/op
Warmup Iteration 10: 190408.207 ns/op
Iteration 1: 188971.941 ns/op
Iteration 2: 189903.754 ns/op
Iteration 3: 189887.533 ns/op
Iteration 4: 188621.447 ns/op
Iteration 5: 189700.981 ns/op
Iteration 6: 193320.978 ns/op
Iteration 7: 196261.000 ns/op
Iteration 8: 195928.457 ns/op
Iteration 9: 195466.991 ns/op
Iteration 10: 197301.259 ns/op
Run progress: 29.76% complete, ETA 00:10:20
Fork: 2 of 3
Warmup Iteration 1: 187504.503 ns/op
Warmup Iteration 2: 184882.996 ns/op
Warmup Iteration 3: 184515.966 ns/op
Warmup Iteration 4: 184307.994 ns/op
Warmup Iteration 5: 184678.868 ns/op
Warmup Iteration 6: 184980.223 ns/op
Warmup Iteration 7: 183748.592 ns/op
Warmup Iteration 8: 185279.573 ns/op
Warmup Iteration 9: 184684.610 ns/op
Warmup Iteration 10: 184443.885 ns/op
Iteration 1: 184406.371 ns/op
Iteration 2: 184960.014 ns/op
Iteration 3: 186565.974 ns/op
Iteration 4: 184390.717 ns/op
Iteration 5: 185884.584 ns/op
Iteration 6: 188783.848 ns/op
Iteration 7: 191297.669 ns/op
Iteration 8: 191109.757 ns/op
Iteration 9: 191154.704 ns/op
Iteration 10: 191611.298 ns/op
Run progress: 30.95% complete, ETA 00:10:09
Fork: 3 of 3
Warmup Iteration 1: 190824.529 ns/op
Warmup Iteration 2: 188365.423 ns/op
Warmup Iteration 3: 188230.648 ns/op
Warmup Iteration 4: 189560.333 ns/op
Warmup Iteration 5: 187967.616 ns/op
Warmup Iteration 6: 188946.296 ns/op
Warmup Iteration 7: 187657.372 ns/op
Warmup Iteration 8: 189650.076 ns/op
Warmup Iteration 9: 189438.104 ns/op
Warmup Iteration 10: 190728.117 ns/op
Iteration 1: 189878.007 ns/op
Iteration 2: 190540.653 ns/op
Iteration 3: 189824.547 ns/op
Iteration 4: 188339.108 ns/op
Iteration 5: 189789.315 ns/op
Iteration 6: 194161.932 ns/op
Iteration 7: 198048.557 ns/op
Iteration 8: 196308.552 ns/op
Iteration 9: 198357.204 ns/op
Iteration 10: 196089.210 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1”:
191228.879 ±(99.9%) 2728.044 ns/op [Average]
(min, avg, max) = (184390.717, 191228.879, 198357.204), stdev = 4083.208
CI (99.9%): [188500.835, 193956.922] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1
Parameters: (inputStreamSize = 1000000, skipLength = 32)
Run progress: 32.14% complete, ETA 00:09:58
Fork: 1 of 3
Warmup Iteration 1: 47020.515 ns/op
Warmup Iteration 2: 46247.723 ns/op
Warmup Iteration 3: 46182.438 ns/op
Warmup Iteration 4: 46208.308 ns/op
Warmup Iteration 5: 46222.293 ns/op
Warmup Iteration 6: 46657.978 ns/op
Warmup Iteration 7: 46119.194 ns/op
Warmup Iteration 8: 46314.229 ns/op
Warmup Iteration 9: 46221.869 ns/op
Warmup Iteration 10: 46214.746 ns/op
Iteration 1: 47073.035 ns/op
Iteration 2: 46924.679 ns/op
Iteration 3: 45965.503 ns/op
Iteration 4: 46100.403 ns/op
Iteration 5: 46483.749 ns/op
Iteration 6: 47107.007 ns/op
Iteration 7: 48610.423 ns/op
Iteration 8: 48526.145 ns/op
Iteration 9: 48241.095 ns/op
Iteration 10: 48140.497 ns/op
Run progress: 33.33% complete, ETA 00:09:48
Fork: 2 of 3
Warmup Iteration 1: 47336.314 ns/op
Warmup Iteration 2: 46190.271 ns/op
Warmup Iteration 3: 46755.051 ns/op
Warmup Iteration 4: 46235.545 ns/op
Warmup Iteration 5: 46373.365 ns/op
Warmup Iteration 6: 46401.496 ns/op
Warmup Iteration 7: 46284.166 ns/op
Warmup Iteration 8: 46384.406 ns/op
Warmup Iteration 9: 46106.442 ns/op
Warmup Iteration 10: 46427.825 ns/op
Iteration 1: 52484.633 ns/op
Iteration 2: 46570.381 ns/op
Iteration 3: 46128.033 ns/op
Iteration 4: 46140.002 ns/op
Iteration 5: 46394.625 ns/op
Iteration 6: 47880.470 ns/op
Iteration 7: 48180.503 ns/op
Iteration 8: 48317.870 ns/op
Iteration 9: 48875.872 ns/op
Iteration 10: 48279.216 ns/op
Run progress: 34.52% complete, ETA 00:09:37
Fork: 3 of 3
Warmup Iteration 1: 47143.462 ns/op
Warmup Iteration 2: 46500.437 ns/op
Warmup Iteration 3: 47997.362 ns/op
Warmup Iteration 4: 46331.281 ns/op
Warmup Iteration 5: 47204.824 ns/op
Warmup Iteration 6: 47144.315 ns/op
Warmup Iteration 7: 46605.933 ns/op
Warmup Iteration 8: 46093.840 ns/op
Warmup Iteration 9: 46401.258 ns/op
Warmup Iteration 10: 47681.845 ns/op
Iteration 1: 53448.013 ns/op
Iteration 2: 47572.703 ns/op
Iteration 3: 47485.336 ns/op
Iteration 4: 49342.260 ns/op
Iteration 5: 48232.387 ns/op
Iteration 6: 49119.861 ns/op
Iteration 7: 49558.622 ns/op
Iteration 8: 49691.322 ns/op
Iteration 9: 49110.505 ns/op
Iteration 10: 48517.337 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1”:
48150.083 ±(99.9%) 1148.057 ns/op [Average]
(min, avg, max) = (45965.503, 48150.083, 53448.013), stdev = 1718.358
CI (99.9%): [47002.026, 49298.140] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1
Parameters: (inputStreamSize = 1000000, skipLength = 128)
Run progress: 35.71% complete, ETA 00:09:27
Fork: 1 of 3
Warmup Iteration 1: 12330.665 ns/op
Warmup Iteration 2: 11722.089 ns/op
Warmup Iteration 3: 12353.039 ns/op
Warmup Iteration 4: 11698.434 ns/op
Warmup Iteration 5: 11686.629 ns/op
Warmup Iteration 6: 11515.056 ns/op
Warmup Iteration 7: 11610.590 ns/op
Warmup Iteration 8: 11498.757 ns/op
Warmup Iteration 9: 11501.151 ns/op
Warmup Iteration 10: 11533.614 ns/op
Iteration 1: 11598.396 ns/op
Iteration 2: 11579.238 ns/op
Iteration 3: 11503.041 ns/op
Iteration 4: 11636.755 ns/op
Iteration 5: 11539.315 ns/op
Iteration 6: 12007.921 ns/op
Iteration 7: 12192.884 ns/op
Iteration 8: 12156.460 ns/op
Iteration 9: 12048.044 ns/op
Iteration 10: 12059.764 ns/op
Run progress: 36.90% complete, ETA 00:09:16
Fork: 2 of 3
Warmup Iteration 1: 11855.981 ns/op
Warmup Iteration 2: 11682.551 ns/op
Warmup Iteration 3: 12439.423 ns/op
Warmup Iteration 4: 11758.123 ns/op
Warmup Iteration 5: 11615.049 ns/op
Warmup Iteration 6: 11728.112 ns/op
Warmup Iteration 7: 11614.891 ns/op
Warmup Iteration 8: 11594.453 ns/op
Warmup Iteration 9: 11602.327 ns/op
Warmup Iteration 10: 11595.842 ns/op
Iteration 1: 11707.182 ns/op
Iteration 2: 11602.736 ns/op
Iteration 3: 11596.377 ns/op
Iteration 4: 11523.631 ns/op
Iteration 5: 11503.697 ns/op
Iteration 6: 11996.688 ns/op
Iteration 7: 12037.708 ns/op
Iteration 8: 12208.886 ns/op
Iteration 9: 12049.150 ns/op
Iteration 10: 12053.711 ns/op
Run progress: 38.10% complete, ETA 00:09:05
Fork: 3 of 3
Warmup Iteration 1: 11887.778 ns/op
Warmup Iteration 2: 11707.665 ns/op
Warmup Iteration 3: 12312.211 ns/op
Warmup Iteration 4: 11684.768 ns/op
Warmup Iteration 5: 11535.829 ns/op
Warmup Iteration 6: 11549.765 ns/op
Warmup Iteration 7: 11634.504 ns/op
Warmup Iteration 8: 11544.766 ns/op
Warmup Iteration 9: 11546.806 ns/op
Warmup Iteration 10: 11577.687 ns/op
Iteration 1: 11620.211 ns/op
Iteration 2: 11530.818 ns/op
Iteration 3: 11783.076 ns/op
Iteration 4: 11554.441 ns/op
Iteration 5: 11625.092 ns/op
Iteration 6: 11848.789 ns/op
Iteration 7: 12090.720 ns/op
Iteration 8: 11922.810 ns/op
Iteration 9: 11951.847 ns/op
Iteration 10: 11923.596 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1”:
11815.100 ±(99.9%) 161.631 ns/op [Average]
(min, avg, max) = (11503.041, 11815.100, 12208.886), stdev = 241.921
CI (99.9%): [11653.469, 11976.730] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1
Parameters: (inputStreamSize = 1000000, skipLength = 512)
Run progress: 39.29% complete, ETA 00:08:55
Fork: 1 of 3
Warmup Iteration 1: 3177.096 ns/op
Warmup Iteration 2: 3311.765 ns/op
Warmup Iteration 3: 2981.654 ns/op
Warmup Iteration 4: 3449.263 ns/op
Warmup Iteration 5: 3386.895 ns/op
Warmup Iteration 6: 3396.692 ns/op
Warmup Iteration 7: 3372.876 ns/op
Warmup Iteration 8: 3379.558 ns/op
Warmup Iteration 9: 3377.420 ns/op
Warmup Iteration 10: 2915.753 ns/op
Iteration 1: 2912.218 ns/op
Iteration 2: 2898.650 ns/op
Iteration 3: 2919.153 ns/op
Iteration 4: 2889.924 ns/op
Iteration 5: 2890.539 ns/op
Iteration 6: 2988.560 ns/op
Iteration 7: 3068.767 ns/op
Iteration 8: 2996.055 ns/op
Iteration 9: 3020.060 ns/op
Iteration 10: 3037.292 ns/op
Run progress: 40.48% complete, ETA 00:08:44
Fork: 2 of 3
Warmup Iteration 1: 3171.775 ns/op
Warmup Iteration 2: 3328.823 ns/op
Warmup Iteration 3: 2990.940 ns/op
Warmup Iteration 4: 3408.990 ns/op
Warmup Iteration 5: 3390.932 ns/op
Warmup Iteration 6: 3384.514 ns/op
Warmup Iteration 7: 3395.854 ns/op
Warmup Iteration 8: 3381.799 ns/op
Warmup Iteration 9: 3380.299 ns/op
Warmup Iteration 10: 2901.734 ns/op
Iteration 1: 2899.932 ns/op
Iteration 2: 2909.648 ns/op
Iteration 3: 2899.611 ns/op
Iteration 4: 2888.904 ns/op
Iteration 5: 2888.650 ns/op
Iteration 6: 2978.012 ns/op
Iteration 7: 3028.067 ns/op
Iteration 8: 3038.785 ns/op
Iteration 9: 3016.161 ns/op
Iteration 10: 3009.468 ns/op
Run progress: 41.67% complete, ETA 00:08:34
Fork: 3 of 3
Warmup Iteration 1: 3188.730 ns/op
Warmup Iteration 2: 3315.451 ns/op
Warmup Iteration 3: 3014.636 ns/op
Warmup Iteration 4: 3407.085 ns/op
Warmup Iteration 5: 3391.513 ns/op
Warmup Iteration 6: 3382.438 ns/op
Warmup Iteration 7: 3432.490 ns/op
Warmup Iteration 8: 3374.117 ns/op
Warmup Iteration 9: 3415.525 ns/op
Warmup Iteration 10: 2910.263 ns/op
Iteration 1: 2893.772 ns/op
Iteration 2: 2898.702 ns/op
Iteration 3: 2895.024 ns/op
Iteration 4: 2911.677 ns/op
Iteration 5: 2895.069 ns/op
Iteration 6: 2996.832 ns/op
Iteration 7: 3008.649 ns/op
Iteration 8: 3020.422 ns/op
Iteration 9: 3022.532 ns/op
Iteration 10: 3008.558 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1”:
2957.656 ±(99.9%) 41.162 ns/op [Average]
(min, avg, max) = (2888.650, 2957.656, 3068.767), stdev = 61.609
CI (99.9%): [2916.495, 2998.818] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1
Parameters: (inputStreamSize = 1000000, skipLength = 2048)
Run progress: 42.86% complete, ETA 00:08:23
Fork: 1 of 3
Warmup Iteration 1: 1078.433 ns/op
Warmup Iteration 2: 826.944 ns/op
Warmup Iteration 3: 822.322 ns/op
Warmup Iteration 4: 825.544 ns/op
Warmup Iteration 5: 820.143 ns/op
Warmup Iteration 6: 822.538 ns/op
Warmup Iteration 7: 823.453 ns/op
Warmup Iteration 8: 820.741 ns/op
Warmup Iteration 9: 829.214 ns/op
Warmup Iteration 10: 813.310 ns/op
Iteration 1: 810.661 ns/op
Iteration 2: 816.678 ns/op
Iteration 3: 809.886 ns/op
Iteration 4: 814.349 ns/op
Iteration 5: 814.185 ns/op
Iteration 6: 828.766 ns/op
Iteration 7: 842.838 ns/op
Iteration 8: 843.721 ns/op
Iteration 9: 839.100 ns/op
Iteration 10: 836.942 ns/op
Run progress: 44.05% complete, ETA 00:08:12
Fork: 2 of 3
Warmup Iteration 1: 1097.360 ns/op
Warmup Iteration 2: 825.663 ns/op
Warmup Iteration 3: 815.648 ns/op
Warmup Iteration 4: 821.306 ns/op
Warmup Iteration 5: 822.394 ns/op
Warmup Iteration 6: 819.957 ns/op
Warmup Iteration 7: 820.763 ns/op
Warmup Iteration 8: 818.912 ns/op
Warmup Iteration 9: 835.157 ns/op
Warmup Iteration 10: 810.131 ns/op
Iteration 1: 813.615 ns/op
Iteration 2: 813.852 ns/op
Iteration 3: 817.584 ns/op
Iteration 4: 815.711 ns/op
Iteration 5: 812.929 ns/op
Iteration 6: 841.412 ns/op
Iteration 7: 849.280 ns/op
Iteration 8: 847.687 ns/op
Iteration 9: 846.453 ns/op
Iteration 10: 850.110 ns/op
Run progress: 45.24% complete, ETA 00:08:02
Fork: 3 of 3
Warmup Iteration 1: 1079.828 ns/op
Warmup Iteration 2: 829.916 ns/op
Warmup Iteration 3: 814.199 ns/op
Warmup Iteration 4: 823.611 ns/op
Warmup Iteration 5: 824.004 ns/op
Warmup Iteration 6: 828.554 ns/op
Warmup Iteration 7: 823.272 ns/op
Warmup Iteration 8: 822.055 ns/op
Warmup Iteration 9: 822.314 ns/op
Warmup Iteration 10: 812.882 ns/op
Iteration 1: 814.219 ns/op
Iteration 2: 811.064 ns/op
Iteration 3: 812.238 ns/op
Iteration 4: 812.719 ns/op
Iteration 5: 814.585 ns/op
Iteration 6: 831.875 ns/op
Iteration 7: 841.715 ns/op
Iteration 8: 863.932 ns/op
Iteration 9: 878.186 ns/op
Iteration 10: 883.537 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1”:
830.994 ±(99.9%) 13.880 ns/op [Average]
(min, avg, max) = (809.886, 830.994, 883.537), stdev = 20.774
CI (99.9%): [817.115, 844.874] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1
Parameters: (inputStreamSize = 1000000, skipLength = 8192)
Run progress: 46.43% complete, ETA 00:07:51
Fork: 1 of 3
Warmup Iteration 1: 673.621 ns/op
Warmup Iteration 2: 497.891 ns/op
Warmup Iteration 3: 448.860 ns/op
Warmup Iteration 4: 491.408 ns/op
Warmup Iteration 5: 484.470 ns/op
Warmup Iteration 6: 477.959 ns/op
Warmup Iteration 7: 493.714 ns/op
Warmup Iteration 8: 495.703 ns/op
Warmup Iteration 9: 489.659 ns/op
Warmup Iteration 10: 471.387 ns/op
Iteration 1: 463.286 ns/op
Iteration 2: 485.156 ns/op
Iteration 3: 465.842 ns/op
Iteration 4: 456.823 ns/op
Iteration 5: 452.152 ns/op
Iteration 6: 459.910 ns/op
Iteration 7: 462.217 ns/op
Iteration 8: 458.735 ns/op
Iteration 9: 463.817 ns/op
Iteration 10: 459.041 ns/op
Run progress: 47.62% complete, ETA 00:07:41
Fork: 2 of 3
Warmup Iteration 1: 701.791 ns/op
Warmup Iteration 2: 503.358 ns/op
Warmup Iteration 3: 480.923 ns/op
Warmup Iteration 4: 509.666 ns/op
Warmup Iteration 5: 498.563 ns/op
Warmup Iteration 6: 491.844 ns/op
Warmup Iteration 7: 502.889 ns/op
Warmup Iteration 8: 509.837 ns/op
Warmup Iteration 9: 507.599 ns/op
Warmup Iteration 10: 479.780 ns/op
Iteration 1: 460.536 ns/op
Iteration 2: 477.708 ns/op
Iteration 3: 466.100 ns/op
Iteration 4: 464.881 ns/op
Iteration 5: 475.830 ns/op
Iteration 6: 466.699 ns/op
Iteration 7: 464.882 ns/op
Iteration 8: 469.254 ns/op
Iteration 9: 481.899 ns/op
Iteration 10: 458.864 ns/op
Run progress: 48.81% complete, ETA 00:07:30
Fork: 3 of 3
Warmup Iteration 1: 810.525 ns/op
Warmup Iteration 2: 491.270 ns/op
Warmup Iteration 3: 455.686 ns/op
Warmup Iteration 4: 503.087 ns/op
Warmup Iteration 5: 512.982 ns/op
Warmup Iteration 6: 491.758 ns/op
Warmup Iteration 7: 775.896 ns/op
Warmup Iteration 8: 640.211 ns/op
Warmup Iteration 9: 487.164 ns/op
Warmup Iteration 10: 467.138 ns/op
Iteration 1: 454.451 ns/op
Iteration 2: 449.081 ns/op
Iteration 3: 467.106 ns/op
Iteration 4: 459.483 ns/op
Iteration 5: 442.272 ns/op
Iteration 6: 451.958 ns/op
Iteration 7: 454.426 ns/op
Iteration 8: 454.101 ns/op
Iteration 9: 462.280 ns/op
Iteration 10: 456.994 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip1”:
462.193 ±(99.9%) 6.262 ns/op [Average]
(min, avg, max) = (442.272, 462.193, 485.156), stdev = 9.373
CI (99.9%): [455.930, 468.455] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2
Parameters: (inputStreamSize = 1000000, skipLength = 1)
Run progress: 50.00% complete, ETA 00:07:20
Fork: 1 of 3
Warmup Iteration 1: 1600381.931 ns/op
Warmup Iteration 2: 1522918.455 ns/op
Warmup Iteration 3: 1630929.524 ns/op
Warmup Iteration 4: 1491878.261 ns/op
Warmup Iteration 5: 1703253.970 ns/op
Warmup Iteration 6: 1520223.894 ns/op
Warmup Iteration 7: 1560624.620 ns/op
Warmup Iteration 8: 1527514.243 ns/op
Warmup Iteration 9: 1486408.382 ns/op
Warmup Iteration 10: 1598800.932 ns/op
Iteration 1: 1626938.611 ns/op
Iteration 2: 1614250.784 ns/op
Iteration 3: 1535637.313 ns/op
Iteration 4: 1518382.599 ns/op
Iteration 5: 1552711.480 ns/op
Iteration 6: 1544972.372 ns/op
Iteration 7: 1546436.446 ns/op
Iteration 8: 1549668.115 ns/op
Iteration 9: 1551146.526 ns/op
Iteration 10: 1568442.553 ns/op
Run progress: 51.19% complete, ETA 00:07:09
Fork: 2 of 3
Warmup Iteration 1: 1533575.676 ns/op
Warmup Iteration 2: 1506874.257 ns/op
Warmup Iteration 3: 1491809.887 ns/op
Warmup Iteration 4: 1571289.599 ns/op
Warmup Iteration 5: 1589797.840 ns/op
Warmup Iteration 6: 1542688.060 ns/op
Warmup Iteration 7: 1487715.939 ns/op
Warmup Iteration 8: 1487999.425 ns/op
Warmup Iteration 9: 1489184.682 ns/op
Warmup Iteration 10: 1489307.536 ns/op
Iteration 1: 1516429.501 ns/op
Iteration 2: 1505329.619 ns/op
Iteration 3: 1502676.316 ns/op
Iteration 4: 1492915.988 ns/op
Iteration 5: 1512904.412 ns/op
Iteration 6: 1539914.630 ns/op
Iteration 7: 1576945.065 ns/op
Iteration 8: 1548133.033 ns/op
Iteration 9: 1553487.037 ns/op
Iteration 10: 1539195.077 ns/op
Run progress: 52.38% complete, ETA 00:06:59
Fork: 3 of 3
Warmup Iteration 1: 1616053.770 ns/op
Warmup Iteration 2: 1534533.433 ns/op
Warmup Iteration 3: 1558576.087 ns/op
Warmup Iteration 4: 1522562.537 ns/op
Warmup Iteration 5: 1535325.595 ns/op
Warmup Iteration 6: 1633598.092 ns/op
Warmup Iteration 7: 1486916.474 ns/op
Warmup Iteration 8: 1489124.855 ns/op
Warmup Iteration 9: 1527958.336 ns/op
Warmup Iteration 10: 1504804.692 ns/op
Iteration 1: 1509667.251 ns/op
Iteration 2: 1499703.509 ns/op
Iteration 3: 1516409.971 ns/op
Iteration 4: 1494003.287 ns/op
Iteration 5: 1486538.329 ns/op
Iteration 6: 1546076.383 ns/op
Iteration 7: 1555692.427 ns/op
Iteration 8: 1539352.395 ns/op
Iteration 9: 1540285.629 ns/op
Iteration 10: 1542448.160 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2”:
1537556.494 ±(99.9%) 21742.419 ns/op [Average]
(min, avg, max) = (1486538.329, 1537556.494, 1626938.611), stdev = 32543.032
CI (99.9%): [1515814.074, 1559298.913] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2
Parameters: (inputStreamSize = 1000000, skipLength = 8)
Run progress: 53.57% complete, ETA 00:06:49
Fork: 1 of 3
Warmup Iteration 1: 185371.371 ns/op
Warmup Iteration 2: 183307.449 ns/op
Warmup Iteration 3: 182315.098 ns/op
Warmup Iteration 4: 187214.568 ns/op
Warmup Iteration 5: 185688.753 ns/op
Warmup Iteration 6: 188393.474 ns/op
Warmup Iteration 7: 189366.899 ns/op
Warmup Iteration 8: 183992.960 ns/op
Warmup Iteration 9: 185575.514 ns/op
Warmup Iteration 10: 181025.369 ns/op
Iteration 1: 183273.295 ns/op
Iteration 2: 182561.018 ns/op
Iteration 3: 182924.154 ns/op
Iteration 4: 188795.195 ns/op
Iteration 5: 188157.953 ns/op
Iteration 6: 189084.412 ns/op
Iteration 7: 188771.998 ns/op
Iteration 8: 186180.402 ns/op
Iteration 9: 188485.897 ns/op
Iteration 10: 188463.456 ns/op
Run progress: 54.76% complete, ETA 00:06:38
Fork: 2 of 3
Warmup Iteration 1: 194303.991 ns/op
Warmup Iteration 2: 188420.584 ns/op
Warmup Iteration 3: 188523.503 ns/op
Warmup Iteration 4: 194708.892 ns/op
Warmup Iteration 5: 193929.368 ns/op
Warmup Iteration 6: 195480.738 ns/op
Warmup Iteration 7: 193859.593 ns/op
Warmup Iteration 8: 187464.082 ns/op
Warmup Iteration 9: 194546.740 ns/op
Warmup Iteration 10: 190254.623 ns/op
Iteration 1: 188285.537 ns/op
Iteration 2: 197087.962 ns/op
Iteration 3: 189061.239 ns/op
Iteration 4: 191956.135 ns/op
Iteration 5: 201364.409 ns/op
Iteration 6: 195187.339 ns/op
Iteration 7: 195076.821 ns/op
Iteration 8: 194520.644 ns/op
Iteration 9: 194947.864 ns/op
Iteration 10: 195179.620 ns/op
Run progress: 55.95% complete, ETA 00:06:28
Fork: 3 of 3
Warmup Iteration 1: 184327.204 ns/op
Warmup Iteration 2: 186002.339 ns/op
Warmup Iteration 3: 182669.655 ns/op
Warmup Iteration 4: 181794.527 ns/op
Warmup Iteration 5: 183875.509 ns/op
Warmup Iteration 6: 181113.371 ns/op
Warmup Iteration 7: 182148.956 ns/op
Warmup Iteration 8: 183315.816 ns/op
Warmup Iteration 9: 185507.307 ns/op
Warmup Iteration 10: 187052.277 ns/op
Iteration 1: 183289.454 ns/op
Iteration 2: 188415.764 ns/op
Iteration 3: 182838.199 ns/op
Iteration 4: 182503.405 ns/op
Iteration 5: 183008.517 ns/op
Iteration 6: 190570.564 ns/op
Iteration 7: 189398.978 ns/op
Iteration 8: 189497.454 ns/op
Iteration 9: 192048.496 ns/op
Iteration 10: 189030.023 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2”:
189332.207 ±(99.9%) 3247.491 ns/op [Average]
(min, avg, max) = (182503.405, 189332.207, 201364.409), stdev = 4860.692
CI (99.9%): [186084.716, 192579.698] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2
Parameters: (inputStreamSize = 1000000, skipLength = 32)
Run progress: 57.14% complete, ETA 00:06:17
Fork: 1 of 3
Warmup Iteration 1: 47850.037 ns/op
Warmup Iteration 2: 46659.427 ns/op
Warmup Iteration 3: 47270.330 ns/op
Warmup Iteration 4: 47999.907 ns/op
Warmup Iteration 5: 49255.815 ns/op
Warmup Iteration 6: 48634.200 ns/op
Warmup Iteration 7: 46455.428 ns/op
Warmup Iteration 8: 46539.115 ns/op
Warmup Iteration 9: 47064.733 ns/op
Warmup Iteration 10: 47868.692 ns/op
Iteration 1: 57653.853 ns/op
Iteration 2: 47379.669 ns/op
Iteration 3: 47948.496 ns/op
Iteration 4: 46640.387 ns/op
Iteration 5: 47723.613 ns/op
Iteration 6: 47966.644 ns/op
Iteration 7: 47933.212 ns/op
Iteration 8: 48347.938 ns/op
Iteration 9: 48094.860 ns/op
Iteration 10: 48044.961 ns/op
Run progress: 58.33% complete, ETA 00:06:07
Fork: 2 of 3
Warmup Iteration 1: 47638.581 ns/op
Warmup Iteration 2: 48160.921 ns/op
Warmup Iteration 3: 47481.423 ns/op
Warmup Iteration 4: 47336.627 ns/op
Warmup Iteration 5: 47251.883 ns/op
Warmup Iteration 6: 47986.668 ns/op
Warmup Iteration 7: 48765.566 ns/op
Warmup Iteration 8: 48343.893 ns/op
Warmup Iteration 9: 47200.414 ns/op
Warmup Iteration 10: 47264.175 ns/op
Iteration 1: 56334.120 ns/op
Iteration 2: 45987.112 ns/op
Iteration 3: 45937.484 ns/op
Iteration 4: 46165.962 ns/op
Iteration 5: 45820.335 ns/op
Iteration 6: 47027.428 ns/op
Iteration 7: 47424.048 ns/op
Iteration 8: 47939.154 ns/op
Iteration 9: 47751.216 ns/op
Iteration 10: 47594.162 ns/op
Run progress: 59.52% complete, ETA 00:05:56
Fork: 3 of 3
Warmup Iteration 1: 47265.528 ns/op
Warmup Iteration 2: 48105.453 ns/op
Warmup Iteration 3: 46152.588 ns/op
Warmup Iteration 4: 46524.674 ns/op
Warmup Iteration 5: 47519.314 ns/op
Warmup Iteration 6: 46015.564 ns/op
Warmup Iteration 7: 46843.617 ns/op
Warmup Iteration 8: 46430.362 ns/op
Warmup Iteration 9: 46798.617 ns/op
Warmup Iteration 10: 46941.591 ns/op
Iteration 1: 60447.365 ns/op
Iteration 2: 46222.971 ns/op
Iteration 3: 46016.704 ns/op
Iteration 4: 47446.011 ns/op
Iteration 5: 49055.165 ns/op
Iteration 6: 48529.352 ns/op
Iteration 7: 47828.611 ns/op
Iteration 8: 47579.666 ns/op
Iteration 9: 47993.586 ns/op
Iteration 10: 47763.715 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2”:
48486.593 ±(99.9%) 2287.385 ns/op [Average]
(min, avg, max) = (45820.335, 48486.593, 60447.365), stdev = 3423.651
CI (99.9%): [46199.208, 50773.979] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2
Parameters: (inputStreamSize = 1000000, skipLength = 128)
Run progress: 60.71% complete, ETA 00:05:46
Fork: 1 of 3
Warmup Iteration 1: 12307.069 ns/op
Warmup Iteration 2: 12034.649 ns/op
Warmup Iteration 3: 13604.872 ns/op
Warmup Iteration 4: 11211.318 ns/op
Warmup Iteration 5: 11145.343 ns/op
Warmup Iteration 6: 11142.724 ns/op
Warmup Iteration 7: 11182.241 ns/op
Warmup Iteration 8: 11131.610 ns/op
Warmup Iteration 9: 10905.528 ns/op
Warmup Iteration 10: 10850.074 ns/op
Iteration 1: 11283.908 ns/op
Iteration 2: 12276.360 ns/op
Iteration 3: 11603.058 ns/op
Iteration 4: 11028.135 ns/op
Iteration 5: 11091.345 ns/op
Iteration 6: 11225.388 ns/op
Iteration 7: 11318.498 ns/op
Iteration 8: 11307.435 ns/op
Iteration 9: 11276.733 ns/op
Iteration 10: 11290.993 ns/op
Run progress: 61.90% complete, ETA 00:05:35
Fork: 2 of 3
Warmup Iteration 1: 12356.381 ns/op
Warmup Iteration 2: 11794.944 ns/op
Warmup Iteration 3: 13355.614 ns/op
Warmup Iteration 4: 11287.547 ns/op
Warmup Iteration 5: 11185.967 ns/op
Warmup Iteration 6: 11171.306 ns/op
Warmup Iteration 7: 12259.531 ns/op
Warmup Iteration 8: 12410.751 ns/op
Warmup Iteration 9: 12021.365 ns/op
Warmup Iteration 10: 11839.859 ns/op
Iteration 1: 11170.718 ns/op
Iteration 2: 10898.701 ns/op
Iteration 3: 10958.143 ns/op
Iteration 4: 10919.660 ns/op
Iteration 5: 10894.873 ns/op
Iteration 6: 11276.859 ns/op
Iteration 7: 11375.605 ns/op
Iteration 8: 11436.379 ns/op
Iteration 9: 11294.827 ns/op
Iteration 10: 11292.266 ns/op
Run progress: 63.10% complete, ETA 00:05:24
Fork: 3 of 3
Warmup Iteration 1: 12326.366 ns/op
Warmup Iteration 2: 11813.472 ns/op
Warmup Iteration 3: 13255.021 ns/op
Warmup Iteration 4: 11268.230 ns/op
Warmup Iteration 5: 11134.791 ns/op
Warmup Iteration 6: 11205.229 ns/op
Warmup Iteration 7: 11090.444 ns/op
Warmup Iteration 8: 11149.783 ns/op
Warmup Iteration 9: 10900.722 ns/op
Warmup Iteration 10: 10968.211 ns/op
Iteration 1: 10840.022 ns/op
Iteration 2: 10896.874 ns/op
Iteration 3: 10799.555 ns/op
Iteration 4: 10829.735 ns/op
Iteration 5: 10891.844 ns/op
Iteration 6: 11220.686 ns/op
Iteration 7: 11444.363 ns/op
Iteration 8: 11283.402 ns/op
Iteration 9: 11206.220 ns/op
Iteration 10: 11163.789 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2”:
11193.212 ±(99.9%) 197.053 ns/op [Average]
(min, avg, max) = (10799.555, 11193.212, 12276.360), stdev = 294.939
CI (99.9%): [10996.160, 11390.265] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2
Parameters: (inputStreamSize = 1000000, skipLength = 512)
Run progress: 64.29% complete, ETA 00:05:14
Fork: 1 of 3
Warmup Iteration 1: 3627.173 ns/op
Warmup Iteration 2: 4196.510 ns/op
Warmup Iteration 3: 3200.638 ns/op
Warmup Iteration 4: 4086.014 ns/op
Warmup Iteration 5: 3994.356 ns/op
Warmup Iteration 6: 3959.363 ns/op
Warmup Iteration 7: 4203.218 ns/op
Warmup Iteration 8: 4046.890 ns/op
Warmup Iteration 9: 3968.463 ns/op
Warmup Iteration 10: 3012.631 ns/op
Iteration 1: 3000.603 ns/op
Iteration 2: 2998.036 ns/op
Iteration 3: 2983.099 ns/op
Iteration 4: 2991.244 ns/op
Iteration 5: 2997.143 ns/op
Iteration 6: 3077.378 ns/op
Iteration 7: 3122.359 ns/op
Iteration 8: 3091.360 ns/op
Iteration 9: 3127.516 ns/op
Iteration 10: 3109.661 ns/op
Run progress: 65.48% complete, ETA 00:05:03
Fork: 2 of 3
Warmup Iteration 1: 3492.830 ns/op
Warmup Iteration 2: 4059.554 ns/op
Warmup Iteration 3: 3173.803 ns/op
Warmup Iteration 4: 3837.429 ns/op
Warmup Iteration 5: 3804.372 ns/op
Warmup Iteration 6: 3759.826 ns/op
Warmup Iteration 7: 3860.921 ns/op
Warmup Iteration 8: 3775.802 ns/op
Warmup Iteration 9: 3816.181 ns/op
Warmup Iteration 10: 2809.110 ns/op
Iteration 1: 2799.282 ns/op
Iteration 2: 2822.944 ns/op
Iteration 3: 2820.442 ns/op
Iteration 4: 2801.420 ns/op
Iteration 5: 2798.625 ns/op
Iteration 6: 2900.416 ns/op
Iteration 7: 2904.702 ns/op
Iteration 8: 2921.288 ns/op
Iteration 9: 2887.661 ns/op
Iteration 10: 2928.718 ns/op
Run progress: 66.67% complete, ETA 00:04:53
Fork: 3 of 3
Warmup Iteration 1: 3631.585 ns/op
Warmup Iteration 2: 4237.025 ns/op
Warmup Iteration 3: 3173.084 ns/op
Warmup Iteration 4: 3916.382 ns/op
Warmup Iteration 5: 3895.940 ns/op
Warmup Iteration 6: 3848.179 ns/op
Warmup Iteration 7: 3845.879 ns/op
Warmup Iteration 8: 3849.513 ns/op
Warmup Iteration 9: 3873.165 ns/op
Warmup Iteration 10: 2990.531 ns/op
Iteration 1: 2996.021 ns/op
Iteration 2: 2995.289 ns/op
Iteration 3: 3006.391 ns/op
Iteration 4: 3006.051 ns/op
Iteration 5: 3012.556 ns/op
Iteration 6: 3067.065 ns/op
Iteration 7: 3118.446 ns/op
Iteration 8: 3280.964 ns/op
Iteration 9: 3126.310 ns/op
Iteration 10: 3100.495 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2”:
2993.116 ±(99.9%) 79.159 ns/op [Average]
(min, avg, max) = (2798.625, 2993.116, 3280.964), stdev = 118.482
CI (99.9%): [2913.957, 3072.275] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2
Parameters: (inputStreamSize = 1000000, skipLength = 2048)
Run progress: 67.86% complete, ETA 00:04:43
Fork: 1 of 3
Warmup Iteration 1: 1334.005 ns/op
Warmup Iteration 2: 1076.288 ns/op
Warmup Iteration 3: 774.020 ns/op
Warmup Iteration 4: 1071.051 ns/op
Warmup Iteration 5: 1061.022 ns/op
Warmup Iteration 6: 1064.288 ns/op
Warmup Iteration 7: 1060.222 ns/op
Warmup Iteration 8: 1059.507 ns/op
Warmup Iteration 9: 1069.863 ns/op
Warmup Iteration 10: 728.870 ns/op
Iteration 1: 726.786 ns/op
Iteration 2: 722.822 ns/op
Iteration 3: 735.768 ns/op
Iteration 4: 718.979 ns/op
Iteration 5: 728.883 ns/op
Iteration 6: 737.871 ns/op
Iteration 7: 745.559 ns/op
Iteration 8: 742.403 ns/op
Iteration 9: 741.530 ns/op
Iteration 10: 745.531 ns/op
Run progress: 69.05% complete, ETA 00:04:32
Fork: 2 of 3
Warmup Iteration 1: 1457.633 ns/op
Warmup Iteration 2: 1079.259 ns/op
Warmup Iteration 3: 770.332 ns/op
Warmup Iteration 4: 1065.559 ns/op
Warmup Iteration 5: 1062.851 ns/op
Warmup Iteration 6: 1060.527 ns/op
Warmup Iteration 7: 1057.854 ns/op
Warmup Iteration 8: 1067.550 ns/op
Warmup Iteration 9: 1071.907 ns/op
Warmup Iteration 10: 721.212 ns/op
Iteration 1: 724.178 ns/op
Iteration 2: 721.765 ns/op
Iteration 3: 723.789 ns/op
Iteration 4: 721.606 ns/op
Iteration 5: 727.996 ns/op
Iteration 6: 740.184 ns/op
Iteration 7: 749.788 ns/op
Iteration 8: 751.580 ns/op
Iteration 9: 747.098 ns/op
Iteration 10: 752.569 ns/op
Run progress: 70.24% complete, ETA 00:04:22
Fork: 3 of 3
Warmup Iteration 1: 1320.692 ns/op
Warmup Iteration 2: 999.164 ns/op
Warmup Iteration 3: 773.403 ns/op
Warmup Iteration 4: 998.129 ns/op
Warmup Iteration 5: 994.993 ns/op
Warmup Iteration 6: 1001.478 ns/op
Warmup Iteration 7: 990.722 ns/op
Warmup Iteration 8: 1024.891 ns/op
Warmup Iteration 9: 997.286 ns/op
Warmup Iteration 10: 730.735 ns/op
Iteration 1: 728.672 ns/op
Iteration 2: 725.350 ns/op
Iteration 3: 729.132 ns/op
Iteration 4: 727.167 ns/op
Iteration 5: 728.937 ns/op
Iteration 6: 745.805 ns/op
Iteration 7: 753.412 ns/op
Iteration 8: 756.743 ns/op
Iteration 9: 753.739 ns/op
Iteration 10: 751.167 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2”:
736.894 ±(99.9%) 8.002 ns/op [Average]
(min, avg, max) = (718.979, 736.894, 756.743), stdev = 11.976
CI (99.9%): [728.892, 744.895] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2
Parameters: (inputStreamSize = 1000000, skipLength = 8192)
Run progress: 71.43% complete, ETA 00:04:11
Fork: 1 of 3
Warmup Iteration 1: 824.218 ns/op
Warmup Iteration 2: 558.402 ns/op
Warmup Iteration 3: 455.710 ns/op
Warmup Iteration 4: 595.549 ns/op
Warmup Iteration 5: 597.424 ns/op
Warmup Iteration 6: 607.381 ns/op
Warmup Iteration 7: 567.484 ns/op
Warmup Iteration 8: 572.725 ns/op
Warmup Iteration 9: 576.511 ns/op
Warmup Iteration 10: 444.320 ns/op
Iteration 1: 440.230 ns/op
Iteration 2: 441.965 ns/op
Iteration 3: 442.892 ns/op
Iteration 4: 441.011 ns/op
Iteration 5: 445.897 ns/op
Iteration 6: 450.682 ns/op
Iteration 7: 456.058 ns/op
Iteration 8: 455.945 ns/op
Iteration 9: 454.806 ns/op
Iteration 10: 454.402 ns/op
Run progress: 72.62% complete, ETA 00:04:01
Fork: 2 of 3
Warmup Iteration 1: 813.629 ns/op
Warmup Iteration 2: 562.192 ns/op
Warmup Iteration 3: 445.881 ns/op
Warmup Iteration 4: 563.452 ns/op
Warmup Iteration 5: 567.429 ns/op
Warmup Iteration 6: 563.228 ns/op
Warmup Iteration 7: 560.503 ns/op
Warmup Iteration 8: 563.675 ns/op
Warmup Iteration 9: 556.744 ns/op
Warmup Iteration 10: 442.848 ns/op
Iteration 1: 436.955 ns/op
Iteration 2: 439.168 ns/op
Iteration 3: 441.501 ns/op
Iteration 4: 445.505 ns/op
Iteration 5: 442.725 ns/op
Iteration 6: 447.179 ns/op
Iteration 7: 450.441 ns/op
Iteration 8: 457.027 ns/op
Iteration 9: 454.359 ns/op
Iteration 10: 453.202 ns/op
Run progress: 73.81% complete, ETA 00:03:50
Fork: 3 of 3
Warmup Iteration 1: 720.621 ns/op
Warmup Iteration 2: 563.623 ns/op
Warmup Iteration 3: 445.686 ns/op
Warmup Iteration 4: 567.224 ns/op
Warmup Iteration 5: 564.950 ns/op
Warmup Iteration 6: 557.819 ns/op
Warmup Iteration 7: 562.175 ns/op
Warmup Iteration 8: 560.725 ns/op
Warmup Iteration 9: 558.889 ns/op
Warmup Iteration 10: 440.788 ns/op
Iteration 1: 440.845 ns/op
Iteration 2: 440.017 ns/op
Iteration 3: 442.510 ns/op
Iteration 4: 447.888 ns/op
Iteration 5: 440.780 ns/op
Iteration 6: 450.577 ns/op
Iteration 7: 454.286 ns/op
Iteration 8: 451.147 ns/op
Iteration 9: 453.044 ns/op
Iteration 10: 453.127 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip2”:
447.539 ±(99.9%) 4.169 ns/op [Average]
(min, avg, max) = (436.955, 447.539, 457.027), stdev = 6.240
CI (99.9%): [443.370, 451.708] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3
Parameters: (inputStreamSize = 1000000, skipLength = 1)
Run progress: 75.00% complete, ETA 00:03:40
Fork: 1 of 3
Warmup Iteration 1: 2151264.017 ns/op
Warmup Iteration 2: 2091483.607 ns/op
Warmup Iteration 3: 2108069.456 ns/op
Warmup Iteration 4: 2135040.496 ns/op
Warmup Iteration 5: 2114271.849 ns/op
Warmup Iteration 6: 2107860.924 ns/op
Warmup Iteration 7: 2121736.975 ns/op
Warmup Iteration 8: 2104463.673 ns/op
Warmup Iteration 9: 2098269.167 ns/op
Warmup Iteration 10: 2130394.215 ns/op
Iteration 1: 2134304.661 ns/op
Iteration 2: 2102452.301 ns/op
Iteration 3: 2114667.089 ns/op
Iteration 4: 2132030.085 ns/op
Iteration 5: 2125000.000 ns/op
Iteration 6: 2188356.522 ns/op
Iteration 7: 2204782.906 ns/op
Iteration 8: 2187722.034 ns/op
Iteration 9: 2177151.477 ns/op
Iteration 10: 2238603.111 ns/op
Run progress: 76.19% complete, ETA 00:03:29
Fork: 2 of 3
Warmup Iteration 1: 2141472.996 ns/op
Warmup Iteration 2: 2148505.858 ns/op
Warmup Iteration 3: 2092496.266 ns/op
Warmup Iteration 4: 2105840.756 ns/op
Warmup Iteration 5: 2126346.414 ns/op
Warmup Iteration 6: 2102201.250 ns/op
Warmup Iteration 7: 2112762.185 ns/op
Warmup Iteration 8: 2096674.895 ns/op
Warmup Iteration 9: 2096281.667 ns/op
Warmup Iteration 10: 2103689.167 ns/op
Iteration 1: 2107954.098 ns/op
Iteration 2: 2099919.665 ns/op
Iteration 3: 2120199.578 ns/op
Iteration 4: 2114721.008 ns/op
Iteration 5: 2110401.681 ns/op
Iteration 6: 2134220.851 ns/op
Iteration 7: 2160903.433 ns/op
Iteration 8: 2160135.897 ns/op
Iteration 9: 2160875.536 ns/op
Iteration 10: 2170838.235 ns/op
Run progress: 77.38% complete, ETA 00:03:19
Fork: 3 of 3
Warmup Iteration 1: 2158338.197 ns/op
Warmup Iteration 2: 2123724.481 ns/op
Warmup Iteration 3: 2111551.029 ns/op
Warmup Iteration 4: 2112030.864 ns/op
Warmup Iteration 5: 2111053.689 ns/op
Warmup Iteration 6: 2106363.525 ns/op
Warmup Iteration 7: 2124271.488 ns/op
Warmup Iteration 8: 2113309.426 ns/op
Warmup Iteration 9: 2127532.922 ns/op
Warmup Iteration 10: 2110577.366 ns/op
Iteration 1: 2109472.951 ns/op
Iteration 2: 2108497.531 ns/op
Iteration 3: 2111459.426 ns/op
Iteration 4: 2114813.169 ns/op
Iteration 5: 2122864.050 ns/op
Iteration 6: 2186059.565 ns/op
Iteration 7: 2188020.763 ns/op
Iteration 8: 2192549.573 ns/op
Iteration 9: 2182645.763 ns/op
Iteration 10: 2229974.667 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3”:
2149719.921 ±(99.9%) 26904.372 ns/op [Average]
(min, avg, max) = (2099919.665, 2149719.921, 2238603.111), stdev = 40269.200
CI (99.9%): [2122815.549, 2176624.293] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3
Parameters: (inputStreamSize = 1000000, skipLength = 8)
Run progress: 78.57% complete, ETA 00:03:08
Fork: 1 of 3
Warmup Iteration 1: 295206.357 ns/op
Warmup Iteration 2: 288737.514 ns/op
Warmup Iteration 3: 287841.074 ns/op
Warmup Iteration 4: 288508.632 ns/op
Warmup Iteration 5: 288937.254 ns/op
Warmup Iteration 6: 290307.014 ns/op
Warmup Iteration 7: 291715.718 ns/op
Warmup Iteration 8: 287861.440 ns/op
Warmup Iteration 9: 287635.014 ns/op
Warmup Iteration 10: 286926.448 ns/op
Iteration 1: 291699.773 ns/op
Iteration 2: 290060.000 ns/op
Iteration 3: 290343.115 ns/op
Iteration 4: 289737.902 ns/op
Iteration 5: 290821.210 ns/op
Iteration 6: 296109.225 ns/op
Iteration 7: 297473.449 ns/op
Iteration 8: 296435.524 ns/op
Iteration 9: 299668.126 ns/op
Iteration 10: 297757.366 ns/op
Run progress: 79.76% complete, ETA 00:02:58
Fork: 2 of 3
Warmup Iteration 1: 292720.117 ns/op
Warmup Iteration 2: 287366.330 ns/op
Warmup Iteration 3: 288332.606 ns/op
Warmup Iteration 4: 287722.750 ns/op
Warmup Iteration 5: 288975.449 ns/op
Warmup Iteration 6: 290271.574 ns/op
Warmup Iteration 7: 287073.717 ns/op
Warmup Iteration 8: 288264.759 ns/op
Warmup Iteration 9: 287718.772 ns/op
Warmup Iteration 10: 292462.514 ns/op
Iteration 1: 288938.249 ns/op
Iteration 2: 290590.967 ns/op
Iteration 3: 291416.450 ns/op
Iteration 4: 290155.537 ns/op
Iteration 5: 294176.655 ns/op
Iteration 6: 297428.969 ns/op
Iteration 7: 301755.006 ns/op
Iteration 8: 301400.841 ns/op
Iteration 9: 304305.744 ns/op
Iteration 10: 302343.923 ns/op
Run progress: 80.95% complete, ETA 00:02:47
Fork: 3 of 3
Warmup Iteration 1: 294299.824 ns/op
Warmup Iteration 2: 288862.706 ns/op
Warmup Iteration 3: 289214.840 ns/op
Warmup Iteration 4: 288548.092 ns/op
Warmup Iteration 5: 293010.917 ns/op
Warmup Iteration 6: 288856.475 ns/op
Warmup Iteration 7: 289040.751 ns/op
Warmup Iteration 8: 296619.734 ns/op
Warmup Iteration 9: 289214.277 ns/op
Warmup Iteration 10: 289155.805 ns/op
Iteration 1: 290487.387 ns/op
Iteration 2: 292652.107 ns/op
Iteration 3: 290565.796 ns/op
Iteration 4: 289851.493 ns/op
Iteration 5: 294712.428 ns/op
Iteration 6: 296299.076 ns/op
Iteration 7: 299780.443 ns/op
Iteration 8: 304877.087 ns/op
Iteration 9: 301733.724 ns/op
Iteration 10: 300310.117 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3”:
295462.923 ±(99.9%) 3348.567 ns/op [Average]
(min, avg, max) = (288938.249, 295462.923, 304877.087), stdev = 5011.978
CI (99.9%): [292114.356, 298811.490] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3
Parameters: (inputStreamSize = 1000000, skipLength = 32)
Run progress: 82.14% complete, ETA 00:02:37
Fork: 1 of 3
Warmup Iteration 1: 74205.474 ns/op
Warmup Iteration 2: 72484.277 ns/op
Warmup Iteration 3: 72627.193 ns/op
Warmup Iteration 4: 72268.177 ns/op
Warmup Iteration 5: 72507.259 ns/op
Warmup Iteration 6: 71965.050 ns/op
Warmup Iteration 7: 72317.000 ns/op
Warmup Iteration 8: 72528.571 ns/op
Warmup Iteration 9: 72324.891 ns/op
Warmup Iteration 10: 72270.898 ns/op
Iteration 1: 73137.755 ns/op
Iteration 2: 72636.504 ns/op
Iteration 3: 72544.377 ns/op
Iteration 4: 72890.367 ns/op
Iteration 5: 71977.649 ns/op
Iteration 6: 75580.836 ns/op
Iteration 7: 62740.359 ns/op
Iteration 8: 63025.782 ns/op
Iteration 9: 63422.797 ns/op
Iteration 10: 63263.635 ns/op
Run progress: 83.33% complete, ETA 00:02:26
Fork: 2 of 3
Warmup Iteration 1: 74258.183 ns/op
Warmup Iteration 2: 72499.688 ns/op
Warmup Iteration 3: 72002.665 ns/op
Warmup Iteration 4: 72308.821 ns/op
Warmup Iteration 5: 72288.280 ns/op
Warmup Iteration 6: 71948.497 ns/op
Warmup Iteration 7: 71781.919 ns/op
Warmup Iteration 8: 71946.673 ns/op
Warmup Iteration 9: 72023.721 ns/op
Warmup Iteration 10: 72337.598 ns/op
Iteration 1: 72735.704 ns/op
Iteration 2: 72157.002 ns/op
Iteration 3: 71936.263 ns/op
Iteration 4: 72446.360 ns/op
Iteration 5: 72198.099 ns/op
Iteration 6: 75459.968 ns/op
Iteration 7: 62039.026 ns/op
Iteration 8: 63940.868 ns/op
Iteration 9: 62451.320 ns/op
Iteration 10: 62916.340 ns/op
Run progress: 84.52% complete, ETA 00:02:16
Fork: 3 of 3
Warmup Iteration 1: 73518.951 ns/op
Warmup Iteration 2: 72061.340 ns/op
Warmup Iteration 3: 71869.858 ns/op
Warmup Iteration 4: 72758.799 ns/op
Warmup Iteration 5: 72052.488 ns/op
Warmup Iteration 6: 71907.394 ns/op
Warmup Iteration 7: 71694.248 ns/op
Warmup Iteration 8: 71721.536 ns/op
Warmup Iteration 9: 71846.036 ns/op
Warmup Iteration 10: 71808.350 ns/op
Iteration 1: 72275.141 ns/op
Iteration 2: 72038.608 ns/op
Iteration 3: 72485.698 ns/op
Iteration 4: 71819.194 ns/op
Iteration 5: 71975.039 ns/op
Iteration 6: 75114.835 ns/op
Iteration 7: 62332.874 ns/op
Iteration 8: 61923.235 ns/op
Iteration 9: 61839.263 ns/op
Iteration 10: 62020.109 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3”:
68777.500 ±(99.9%) 3462.224 ns/op [Average]
(min, avg, max) = (61839.263, 68777.500, 75580.836), stdev = 5182.095
CI (99.9%): [65315.276, 72239.725] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3
Parameters: (inputStreamSize = 1000000, skipLength = 128)
Run progress: 85.71% complete, ETA 00:02:05
Fork: 1 of 3
Warmup Iteration 1: 18500.336 ns/op
Warmup Iteration 2: 17966.643 ns/op
Warmup Iteration 3: 17977.566 ns/op
Warmup Iteration 4: 18461.775 ns/op
Warmup Iteration 5: 15027.872 ns/op
Warmup Iteration 6: 14998.325 ns/op
Warmup Iteration 7: 15023.523 ns/op
Warmup Iteration 8: 15096.244 ns/op
Warmup Iteration 9: 15021.257 ns/op
Warmup Iteration 10: 15147.752 ns/op
Iteration 1: 15127.995 ns/op
Iteration 2: 15061.841 ns/op
Iteration 3: 15083.656 ns/op
Iteration 4: 15124.732 ns/op
Iteration 5: 15113.727 ns/op
Iteration 6: 15529.731 ns/op
Iteration 7: 15859.323 ns/op
Iteration 8: 15876.106 ns/op
Iteration 9: 15812.514 ns/op
Iteration 10: 15885.430 ns/op
Run progress: 86.90% complete, ETA 00:01:55
Fork: 2 of 3
Warmup Iteration 1: 18517.760 ns/op
Warmup Iteration 2: 18050.839 ns/op
Warmup Iteration 3: 18022.544 ns/op
Warmup Iteration 4: 18245.477 ns/op
Warmup Iteration 5: 15010.995 ns/op
Warmup Iteration 6: 15170.064 ns/op
Warmup Iteration 7: 15116.491 ns/op
Warmup Iteration 8: 15161.010 ns/op
Warmup Iteration 9: 14933.679 ns/op
Warmup Iteration 10: 15099.744 ns/op
Iteration 1: 14962.255 ns/op
Iteration 2: 14968.321 ns/op
Iteration 3: 14956.298 ns/op
Iteration 4: 14906.940 ns/op
Iteration 5: 14984.987 ns/op
Iteration 6: 15314.264 ns/op
Iteration 7: 15591.719 ns/op
Iteration 8: 15463.564 ns/op
Iteration 9: 15460.417 ns/op
Iteration 10: 15996.101 ns/op
Run progress: 88.10% complete, ETA 00:01:44
Fork: 3 of 3
Warmup Iteration 1: 19410.756 ns/op
Warmup Iteration 2: 18139.345 ns/op
Warmup Iteration 3: 18072.425 ns/op
Warmup Iteration 4: 18256.003 ns/op
Warmup Iteration 5: 15097.702 ns/op
Warmup Iteration 6: 15111.088 ns/op
Warmup Iteration 7: 15105.294 ns/op
Warmup Iteration 8: 15129.039 ns/op
Warmup Iteration 9: 15087.252 ns/op
Warmup Iteration 10: 15285.062 ns/op
Iteration 1: 15116.062 ns/op
Iteration 2: 15090.017 ns/op
Iteration 3: 15224.712 ns/op
Iteration 4: 15058.380 ns/op
Iteration 5: 15076.827 ns/op
Iteration 6: 15380.568 ns/op
Iteration 7: 15704.807 ns/op
Iteration 8: 15543.588 ns/op
Iteration 9: 15571.549 ns/op
Iteration 10: 15606.498 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3”:
15348.431 ±(99.9%) 223.267 ns/op [Average]
(min, avg, max) = (14906.940, 15348.431, 15996.101), stdev = 334.175
CI (99.9%): [15125.164, 15571.698] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3
Parameters: (inputStreamSize = 1000000, skipLength = 512)
Run progress: 89.29% complete, ETA 00:01:34
Fork: 1 of 3
Warmup Iteration 1: 4384.250 ns/op
Warmup Iteration 2: 4804.444 ns/op
Warmup Iteration 3: 4189.041 ns/op
Warmup Iteration 4: 4956.598 ns/op
Warmup Iteration 5: 4861.888 ns/op
Warmup Iteration 6: 4876.798 ns/op
Warmup Iteration 7: 4862.325 ns/op
Warmup Iteration 8: 4882.423 ns/op
Warmup Iteration 9: 4885.435 ns/op
Warmup Iteration 10: 4467.235 ns/op
Iteration 1: 4491.859 ns/op
Iteration 2: 4456.160 ns/op
Iteration 3: 4378.937 ns/op
Iteration 4: 4377.863 ns/op
Iteration 5: 4398.866 ns/op
Iteration 6: 4480.645 ns/op
Iteration 7: 4608.981 ns/op
Iteration 8: 4509.917 ns/op
Iteration 9: 4540.754 ns/op
Iteration 10: 4519.374 ns/op
Run progress: 90.48% complete, ETA 00:01:23
Fork: 2 of 3
Warmup Iteration 1: 4417.332 ns/op
Warmup Iteration 2: 4837.993 ns/op
Warmup Iteration 3: 4208.248 ns/op
Warmup Iteration 4: 4963.647 ns/op
Warmup Iteration 5: 4927.073 ns/op
Warmup Iteration 6: 4887.792 ns/op
Warmup Iteration 7: 4867.574 ns/op
Warmup Iteration 8: 4874.402 ns/op
Warmup Iteration 9: 4862.645 ns/op
Warmup Iteration 10: 4518.698 ns/op
Iteration 1: 4458.527 ns/op
Iteration 2: 4468.361 ns/op
Iteration 3: 4364.901 ns/op
Iteration 4: 4359.978 ns/op
Iteration 5: 4338.498 ns/op
Iteration 6: 4455.835 ns/op
Iteration 7: 4522.034 ns/op
Iteration 8: 4484.659 ns/op
Iteration 9: 4494.817 ns/op
Iteration 10: 4495.097 ns/op
Run progress: 91.67% complete, ETA 00:01:13
Fork: 3 of 3
Warmup Iteration 1: 4436.282 ns/op
Warmup Iteration 2: 4877.135 ns/op
Warmup Iteration 3: 4234.073 ns/op
Warmup Iteration 4: 4940.780 ns/op
Warmup Iteration 5: 4904.392 ns/op
Warmup Iteration 6: 4899.234 ns/op
Warmup Iteration 7: 4901.496 ns/op
Warmup Iteration 8: 4891.757 ns/op
Warmup Iteration 9: 4887.062 ns/op
Warmup Iteration 10: 4486.050 ns/op
Iteration 1: 4483.435 ns/op
Iteration 2: 4456.642 ns/op
Iteration 3: 4370.796 ns/op
Iteration 4: 4359.803 ns/op
Iteration 5: 4351.001 ns/op
Iteration 6: 4461.781 ns/op
Iteration 7: 4540.268 ns/op
Iteration 8: 4532.157 ns/op
Iteration 9: 4552.617 ns/op
Iteration 10: 4521.549 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3”:
4461.204 ±(99.9%) 47.803 ns/op [Average]
(min, avg, max) = (4338.498, 4461.204, 4608.981), stdev = 71.549
CI (99.9%): [4413.401, 4509.007] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3
Parameters: (inputStreamSize = 1000000, skipLength = 2048)
Run progress: 92.86% complete, ETA 00:01:02
Fork: 1 of 3
Warmup Iteration 1: 1511.050 ns/op
Warmup Iteration 2: 1203.845 ns/op
Warmup Iteration 3: 1051.855 ns/op
Warmup Iteration 4: 1190.308 ns/op
Warmup Iteration 5: 1186.287 ns/op
Warmup Iteration 6: 1186.647 ns/op
Warmup Iteration 7: 1183.675 ns/op
Warmup Iteration 8: 1190.586 ns/op
Warmup Iteration 9: 1197.796 ns/op
Warmup Iteration 10: 1094.721 ns/op
Iteration 1: 1075.206 ns/op
Iteration 2: 1083.123 ns/op
Iteration 3: 1071.874 ns/op
Iteration 4: 1089.103 ns/op
Iteration 5: 1074.778 ns/op
Iteration 6: 1110.394 ns/op
Iteration 7: 1116.813 ns/op
Iteration 8: 1127.129 ns/op
Iteration 9: 1121.170 ns/op
Iteration 10: 1121.581 ns/op
Run progress: 94.05% complete, ETA 00:00:52
Fork: 2 of 3
Warmup Iteration 1: 1636.268 ns/op
Warmup Iteration 2: 1245.983 ns/op
Warmup Iteration 3: 1045.910 ns/op
Warmup Iteration 4: 1195.748 ns/op
Warmup Iteration 5: 1190.069 ns/op
Warmup Iteration 6: 1192.905 ns/op
Warmup Iteration 7: 1203.243 ns/op
Warmup Iteration 8: 1195.721 ns/op
Warmup Iteration 9: 1200.174 ns/op
Warmup Iteration 10: 1043.114 ns/op
Iteration 1: 1044.396 ns/op
Iteration 2: 1046.994 ns/op
Iteration 3: 1039.387 ns/op
Iteration 4: 1044.145 ns/op
Iteration 5: 1124.766 ns/op
Iteration 6: 1081.636 ns/op
Iteration 7: 1114.180 ns/op
Iteration 8: 1121.581 ns/op
Iteration 9: 1088.910 ns/op
Iteration 10: 1089.093 ns/op
Run progress: 95.24% complete, ETA 00:00:41
Fork: 3 of 3
Warmup Iteration 1: 1530.958 ns/op
Warmup Iteration 2: 1233.515 ns/op
Warmup Iteration 3: 1043.386 ns/op
Warmup Iteration 4: 1197.501 ns/op
Warmup Iteration 5: 1193.354 ns/op
Warmup Iteration 6: 1187.717 ns/op
Warmup Iteration 7: 1209.913 ns/op
Warmup Iteration 8: 1184.168 ns/op
Warmup Iteration 9: 1205.299 ns/op
Warmup Iteration 10: 1078.936 ns/op
Iteration 1: 1091.636 ns/op
Iteration 2: 1074.592 ns/op
Iteration 3: 1086.118 ns/op
Iteration 4: 1077.098 ns/op
Iteration 5: 1078.045 ns/op
Iteration 6: 1113.701 ns/op
Iteration 7: 1124.583 ns/op
Iteration 8: 1130.463 ns/op
Iteration 9: 1122.005 ns/op
Iteration 10: 1131.845 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3”:
1093.878 ±(99.9%) 18.836 ns/op [Average]
(min, avg, max) = (1039.387, 1093.878, 1131.845), stdev = 28.192
CI (99.9%): [1075.042, 1112.714] (assumes normal distribution)
JMH version: 1.34
VM version: JDK 19-internal, OpenJDK 64-Bit Server VM, 19-internal-adhoc..jdk
VM invoker: F:\workspace\jdk\build\windows-x86_64-server-release\images\jdk\bin\java.exe
VM options: -Djava.library.path=f:\workspace\jdk\build\windows-x86_64-server-release\images\test\micro\native -Xms1g -Xmx1g
Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
Warmup: 10 iterations, 500 ms each
Measurement: 10 iterations, 500 ms each
Timeout: 10 min per iteration
Threads: 1 thread, will synchronize iterations
Benchmark mode: Average time, time/op
Benchmark: org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3
Parameters: (inputStreamSize = 1000000, skipLength = 8192)
Run progress: 96.43% complete, ETA 00:00:31
Fork: 1 of 3
Warmup Iteration 1: 862.256 ns/op
Warmup Iteration 2: 589.408 ns/op
Warmup Iteration 3: 536.517 ns/op
Warmup Iteration 4: 586.005 ns/op
Warmup Iteration 5: 579.866 ns/op
Warmup Iteration 6: 580.350 ns/op
Warmup Iteration 7: 578.639 ns/op
Warmup Iteration 8: 580.218 ns/op
Warmup Iteration 9: 581.047 ns/op
Warmup Iteration 10: 534.851 ns/op
Iteration 1: 533.743 ns/op
Iteration 2: 534.777 ns/op
Iteration 3: 540.328 ns/op
Iteration 4: 537.531 ns/op
Iteration 5: 539.491 ns/op
Iteration 6: 546.376 ns/op
Iteration 7: 558.525 ns/op
Iteration 8: 561.100 ns/op
Iteration 9: 556.636 ns/op
Iteration 10: 558.412 ns/op
Run progress: 97.62% complete, ETA 00:00:20
Fork: 2 of 3
Warmup Iteration 1: 826.456 ns/op
Warmup Iteration 2: 587.213 ns/op
Warmup Iteration 3: 540.019 ns/op
Warmup Iteration 4: 590.900 ns/op
Warmup Iteration 5: 581.237 ns/op
Warmup Iteration 6: 584.115 ns/op
Warmup Iteration 7: 577.480 ns/op
Warmup Iteration 8: 581.162 ns/op
Warmup Iteration 9: 580.742 ns/op
Warmup Iteration 10: 535.249 ns/op
Iteration 1: 535.045 ns/op
Iteration 2: 536.905 ns/op
Iteration 3: 535.945 ns/op
Iteration 4: 535.661 ns/op
Iteration 5: 540.646 ns/op
Iteration 6: 546.533 ns/op
Iteration 7: 556.958 ns/op
Iteration 8: 554.579 ns/op
Iteration 9: 554.086 ns/op
Iteration 10: 553.856 ns/op
Run progress: 98.81% complete, ETA 00:00:10
Fork: 3 of 3
Warmup Iteration 1: 763.465 ns/op
Warmup Iteration 2: 580.260 ns/op
Warmup Iteration 3: 541.448 ns/op
Warmup Iteration 4: 583.521 ns/op
Warmup Iteration 5: 586.102 ns/op
Warmup Iteration 6: 584.882 ns/op
Warmup Iteration 7: 582.433 ns/op
Warmup Iteration 8: 586.619 ns/op
Warmup Iteration 9: 581.809 ns/op
Warmup Iteration 10: 544.865 ns/op
Iteration 1: 536.932 ns/op
Iteration 2: 534.487 ns/op
Iteration 3: 537.681 ns/op
Iteration 4: 534.289 ns/op
Iteration 5: 548.063 ns/op
Iteration 6: 550.755 ns/op
Iteration 7: 560.138 ns/op
Iteration 8: 556.991 ns/op
Iteration 9: 561.591 ns/op
Iteration 10: 558.184 ns/op
Result “org.openjdk.bench.java.io.InputStreamSkipBenchmark.testSkip3”:
546.542 ±(99.9%) 6.780 ns/op [Average]
(min, avg, max) = (533.743, 546.542, 561.591), stdev = 10.148
CI (99.9%): [539.762, 553.322] (assumes normal distribution)
Run complete. Total time: 00:14:39
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.
NOTE: Current JVM experimentally supports Compiler Blackholes, and they are in use. Please exercise
extra caution when trusting the results, look into the generated code to check the benchmark still
works, and factor in a small probability of new VM bugs. Additionally, while comparisons between
different JVMs are already problematic, the performance difference caused by different Blackhole
modes can be very significant. Please make sure you use the consistent Blackhole mode for comparisons.
Benchmark (inputStreamSize) (skipLength) Mode Cnt Score Error Units
InputStreamSkipBenchmark.testSkip0 1000000 1 avgt 30 2457834.694 ± 33354.477 ns/op
InputStreamSkipBenchmark.testSkip0 1000000 8 avgt 30 324485.546 ± 9594.651 ns/op
InputStreamSkipBenchmark.testSkip0 1000000 32 avgt 30 120446.761 ± 2038.143 ns/op
InputStreamSkipBenchmark.testSkip0 1000000 128 avgt 30 78981.218 ± 1455.232 ns/op
InputStreamSkipBenchmark.testSkip0 1000000 512 avgt 30 88417.914 ± 1324.450 ns/op
InputStreamSkipBenchmark.testSkip0 1000000 2048 avgt 30 81705.707 ± 920.354 ns/op
InputStreamSkipBenchmark.testSkip0 1000000 8192 avgt 30 20579.287 ± 260.370 ns/op
InputStreamSkipBenchmark.testSkip1 1000000 1 avgt 30 1525217.235 ± 27978.461 ns/op
InputStreamSkipBenchmark.testSkip1 1000000 8 avgt 30 191228.879 ± 2728.044 ns/op
InputStreamSkipBenchmark.testSkip1 1000000 32 avgt 30 48150.083 ± 1148.057 ns/op
InputStreamSkipBenchmark.testSkip1 1000000 128 avgt 30 11815.100 ± 161.631 ns/op
InputStreamSkipBenchmark.testSkip1 1000000 512 avgt 30 2957.656 ± 41.162 ns/op
InputStreamSkipBenchmark.testSkip1 1000000 2048 avgt 30 830.994 ± 13.880 ns/op
InputStreamSkipBenchmark.testSkip1 1000000 8192 avgt 30 462.193 ± 6.262 ns/op
InputStreamSkipBenchmark.testSkip2 1000000 1 avgt 30 1537556.494 ± 21742.419 ns/op
InputStreamSkipBenchmark.testSkip2 1000000 8 avgt 30 189332.207 ± 3247.491 ns/op
InputStreamSkipBenchmark.testSkip2 1000000 32 avgt 30 48486.593 ± 2287.385 ns/op
InputStreamSkipBenchmark.testSkip2 1000000 128 avgt 30 11193.212 ± 197.053 ns/op
InputStreamSkipBenchmark.testSkip2 1000000 512 avgt 30 2993.116 ± 79.159 ns/op
InputStreamSkipBenchmark.testSkip2 1000000 2048 avgt 30 736.894 ± 8.002 ns/op
InputStreamSkipBenchmark.testSkip2 1000000 8192 avgt 30 447.539 ± 4.169 ns/op
InputStreamSkipBenchmark.testSkip3 1000000 1 avgt 30 2149719.921 ± 26904.372 ns/op
InputStreamSkipBenchmark.testSkip3 1000000 8 avgt 30 295462.923 ± 3348.567 ns/op
InputStreamSkipBenchmark.testSkip3 1000000 32 avgt 30 68777.500 ± 3462.224 ns/op
InputStreamSkipBenchmark.testSkip3 1000000 128 avgt 30 15348.431 ± 223.267 ns/op
InputStreamSkipBenchmark.testSkip3 1000000 512 avgt 30 4461.204 ± 47.803 ns/op
InputStreamSkipBenchmark.testSkip3 1000000 2048 avgt 30 1093.878 ± 18.836 ns/op
InputStreamSkipBenchmark.testSkip3 1000000 8192 avgt 30 546.542 ± 6.780 ns/op
- 本文作者: XenoAmess
- 本文链接: http://xenoamess.com/2022/04/15/20220415github评论区折叠内容/
-
版权声明:
本作品采用知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议进行许可。