Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
A benchmark using the JMH framework to compare methods of tokenizing a `String`.
# JMH 1.11.2 (released 39 days ago)
# VM version: JDK 1.8.0_66, VM 25.66-b17
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.boris.benchmark.MyBenchmark.testPrecompiledSplitAsStream
# Run progress: 0.00% complete, ETA 00:46:40
# Fork: 1 of 10
# Warmup Iteration 1: 322.697 ops/s
# Warmup Iteration 2: 325.160 ops/s
# Warmup Iteration 3: 370.166 ops/s
# Warmup Iteration 4: 374.887 ops/s
# Warmup Iteration 5: 354.247 ops/s
# Warmup Iteration 6: 381.018 ops/s
# Warmup Iteration 7: 353.342 ops/s
# Warmup Iteration 8: 355.432 ops/s
# Warmup Iteration 9: 385.354 ops/s
# Warmup Iteration 10: 323.706 ops/s
# Warmup Iteration 11: 292.812 ops/s
# Warmup Iteration 12: 381.293 ops/s
# Warmup Iteration 13: 347.940 ops/s
# Warmup Iteration 14: 302.224 ops/s
# Warmup Iteration 15: 342.264 ops/s
# Warmup Iteration 16: 384.365 ops/s
# Warmup Iteration 17: 386.655 ops/s
# Warmup Iteration 18: 374.422 ops/s
# Warmup Iteration 19: 355.862 ops/s
# Warmup Iteration 20: 322.740 ops/s
Iteration 1: 302.886 ops/s
Iteration 2: 357.891 ops/s
Iteration 3: 324.417 ops/s
Iteration 4: 352.324 ops/s
Iteration 5: 346.007 ops/s
Iteration 6: 382.795 ops/s
Iteration 7: 353.232 ops/s
Iteration 8: 341.672 ops/s
Iteration 9: 363.214 ops/s
Iteration 10: 384.527 ops/s
Iteration 11: 385.064 ops/s
Iteration 12: 383.660 ops/s
Iteration 13: 352.340 ops/s
Iteration 14: 308.493 ops/s
Iteration 15: 381.215 ops/s
Iteration 16: 380.392 ops/s
Iteration 17: 383.698 ops/s
Iteration 18: 384.456 ops/s
Iteration 19: 355.547 ops/s
Iteration 20: 362.874 ops/s
# Run progress: 1.43% complete, ETA 00:46:28
# Fork: 2 of 10
# Warmup Iteration 1: 334.571 ops/s
# Warmup Iteration 2: 368.727 ops/s
# Warmup Iteration 3: 369.580 ops/s
# Warmup Iteration 4: 358.487 ops/s
# Warmup Iteration 5: 356.930 ops/s
# Warmup Iteration 6: 366.072 ops/s
# Warmup Iteration 7: 348.376 ops/s
# Warmup Iteration 8: 348.174 ops/s
# Warmup Iteration 9: 351.599 ops/s
# Warmup Iteration 10: 384.165 ops/s
# Warmup Iteration 11: 382.178 ops/s
# Warmup Iteration 12: 373.027 ops/s
# Warmup Iteration 13: 327.138 ops/s
# Warmup Iteration 14: 343.485 ops/s
# Warmup Iteration 15: 364.350 ops/s
# Warmup Iteration 16: 307.375 ops/s
# Warmup Iteration 17: 375.035 ops/s
# Warmup Iteration 18: 368.743 ops/s
# Warmup Iteration 19: 383.689 ops/s
# Warmup Iteration 20: 384.602 ops/s
Iteration 1: 332.903 ops/s
Iteration 2: 351.724 ops/s
Iteration 3: 333.868 ops/s
Iteration 4: 372.287 ops/s
Iteration 5: 385.528 ops/s
Iteration 6: 345.329 ops/s
Iteration 7: 317.863 ops/s
Iteration 8: 374.057 ops/s
Iteration 9: 376.625 ops/s
Iteration 10: 383.811 ops/s
Iteration 11: 383.594 ops/s
Iteration 12: 385.069 ops/s
Iteration 13: 361.849 ops/s
Iteration 14: 381.212 ops/s
Iteration 15: 361.680 ops/s
Iteration 16: 382.540 ops/s
Iteration 17: 384.838 ops/s
Iteration 18: 367.766 ops/s
Iteration 19: 384.589 ops/s
Iteration 20: 378.599 ops/s
# Run progress: 2.86% complete, ETA 00:45:45
# Fork: 3 of 10
# Warmup Iteration 1: 324.659 ops/s
# Warmup Iteration 2: 337.142 ops/s
# Warmup Iteration 3: 353.937 ops/s
# Warmup Iteration 4: 367.013 ops/s
# Warmup Iteration 5: 381.054 ops/s
# Warmup Iteration 6: 346.528 ops/s
# Warmup Iteration 7: 369.575 ops/s
# Warmup Iteration 8: 378.507 ops/s
# Warmup Iteration 9: 381.465 ops/s
# Warmup Iteration 10: 382.401 ops/s
# Warmup Iteration 11: 359.765 ops/s
# Warmup Iteration 12: 382.725 ops/s
# Warmup Iteration 13: 382.711 ops/s
# Warmup Iteration 14: 379.492 ops/s
# Warmup Iteration 15: 258.860 ops/s
# Warmup Iteration 16: 374.422 ops/s
# Warmup Iteration 17: 350.124 ops/s
# Warmup Iteration 18: 301.133 ops/s
# Warmup Iteration 19: 279.274 ops/s
# Warmup Iteration 20: 361.059 ops/s
Iteration 1: 324.111 ops/s
Iteration 2: 350.128 ops/s
Iteration 3: 363.570 ops/s
Iteration 4: 345.624 ops/s
Iteration 5: 354.654 ops/s
Iteration 6: 379.048 ops/s
Iteration 7: 353.493 ops/s
Iteration 8: 296.744 ops/s
Iteration 9: 320.139 ops/s
Iteration 10: 358.516 ops/s
Iteration 11: 361.326 ops/s
Iteration 12: 316.805 ops/s
Iteration 13: 358.221 ops/s
Iteration 14: 324.571 ops/s
Iteration 15: 353.886 ops/s
Iteration 16: 365.825 ops/s
Iteration 17: 350.829 ops/s
Iteration 18: 348.765 ops/s
Iteration 19: 345.515 ops/s
Iteration 20: 345.701 ops/s
# Run progress: 4.29% complete, ETA 00:45:04
# Fork: 4 of 10
# Warmup Iteration 1: 304.116 ops/s
# Warmup Iteration 2: 334.562 ops/s
# Warmup Iteration 3: 374.902 ops/s
# Warmup Iteration 4: 379.837 ops/s
# Warmup Iteration 5: 382.537 ops/s
# Warmup Iteration 6: 380.607 ops/s
# Warmup Iteration 7: 355.635 ops/s
# Warmup Iteration 8: 345.378 ops/s
# Warmup Iteration 9: 371.480 ops/s
# Warmup Iteration 10: 359.185 ops/s
# Warmup Iteration 11: 370.643 ops/s
# Warmup Iteration 12: 323.349 ops/s
# Warmup Iteration 13: 315.804 ops/s
# Warmup Iteration 14: 358.283 ops/s
# Warmup Iteration 15: 327.605 ops/s
# Warmup Iteration 16: 382.339 ops/s
# Warmup Iteration 17: 368.017 ops/s
# Warmup Iteration 18: 345.710 ops/s
# Warmup Iteration 19: 300.666 ops/s
# Warmup Iteration 20: 336.279 ops/s
Iteration 1: 383.901 ops/s
Iteration 2: 348.225 ops/s
Iteration 3: 270.413 ops/s
Iteration 4: 327.145 ops/s
Iteration 5: 380.083 ops/s
Iteration 6: 300.335 ops/s
Iteration 7: 304.690 ops/s
Iteration 8: 352.078 ops/s
Iteration 9: 325.945 ops/s
Iteration 10: 383.219 ops/s
Iteration 11: 329.823 ops/s
Iteration 12: 332.600 ops/s
Iteration 13: 386.857 ops/s
Iteration 14: 383.809 ops/s
Iteration 15: 372.114 ops/s
Iteration 16: 353.426 ops/s
Iteration 17: 359.862 ops/s
Iteration 18: 363.806 ops/s
Iteration 19: 383.702 ops/s
Iteration 20: 345.038 ops/s
# Run progress: 5.71% complete, ETA 00:44:24
# Fork: 5 of 10
# Warmup Iteration 1: 339.925 ops/s
# Warmup Iteration 2: 365.828 ops/s
# Warmup Iteration 3: 377.088 ops/s
# Warmup Iteration 4: 347.528 ops/s
# Warmup Iteration 5: 368.781 ops/s
# Warmup Iteration 6: 343.033 ops/s
# Warmup Iteration 7: 368.935 ops/s
# Warmup Iteration 8: 347.659 ops/s
# Warmup Iteration 9: 329.804 ops/s
# Warmup Iteration 10: 363.487 ops/s
# Warmup Iteration 11: 354.306 ops/s
# Warmup Iteration 12: 352.774 ops/s
# Warmup Iteration 13: 312.661 ops/s
# Warmup Iteration 14: 323.499 ops/s
# Warmup Iteration 15: 321.397 ops/s
# Warmup Iteration 16: 372.256 ops/s
# Warmup Iteration 17: 295.389 ops/s
# Warmup Iteration 18: 298.271 ops/s
# Warmup Iteration 19: 301.913 ops/s
# Warmup Iteration 20: 345.254 ops/s
Iteration 1: 322.636 ops/s
Iteration 2: 337.159 ops/s
Iteration 3: 380.419 ops/s
Iteration 4: 377.273 ops/s
Iteration 5: 378.942 ops/s
Iteration 6: 310.569 ops/s
Iteration 7: 355.743 ops/s
Iteration 8: 269.680 ops/s
Iteration 9: 317.191 ops/s
Iteration 10: 308.281 ops/s
Iteration 11: 361.838 ops/s
Iteration 12: 362.348 ops/s
Iteration 13: 381.620 ops/s
Iteration 14: 379.762 ops/s
Iteration 15: 378.710 ops/s
Iteration 16: 344.615 ops/s
Iteration 17: 340.509 ops/s
Iteration 18: 341.399 ops/s
Iteration 19: 380.496 ops/s
Iteration 20: 380.480 ops/s
# Run progress: 7.14% complete, ETA 00:43:43
# Fork: 6 of 10
# Warmup Iteration 1: 342.826 ops/s
# Warmup Iteration 2: 325.695 ops/s
# Warmup Iteration 3: 375.597 ops/s
# Warmup Iteration 4: 355.358 ops/s
# Warmup Iteration 5: 386.280 ops/s
# Warmup Iteration 6: 379.975 ops/s
# Warmup Iteration 7: 385.516 ops/s
# Warmup Iteration 8: 383.934 ops/s
# Warmup Iteration 9: 364.104 ops/s
# Warmup Iteration 10: 384.707 ops/s
# Warmup Iteration 11: 358.898 ops/s
# Warmup Iteration 12: 383.435 ops/s
# Warmup Iteration 13: 380.295 ops/s
# Warmup Iteration 14: 383.185 ops/s
# Warmup Iteration 15: 381.078 ops/s
# Warmup Iteration 16: 385.511 ops/s
# Warmup Iteration 17: 387.339 ops/s
# Warmup Iteration 18: 387.763 ops/s
# Warmup Iteration 19: 385.774 ops/s
# Warmup Iteration 20: 385.650 ops/s
Iteration 1: 382.631 ops/s
Iteration 2: 383.569 ops/s
Iteration 3: 350.454 ops/s
Iteration 4: 332.131 ops/s
Iteration 5: 381.599 ops/s
Iteration 6: 387.002 ops/s
Iteration 7: 387.303 ops/s
Iteration 8: 333.636 ops/s
Iteration 9: 350.506 ops/s
Iteration 10: 349.275 ops/s
Iteration 11: 338.571 ops/s
Iteration 12: 288.318 ops/s
Iteration 13: 380.143 ops/s
Iteration 14: 330.974 ops/s
Iteration 15: 377.100 ops/s
Iteration 16: 357.152 ops/s
Iteration 17: 345.892 ops/s
Iteration 18: 371.326 ops/s
Iteration 19: 346.452 ops/s
Iteration 20: 310.509 ops/s
# Run progress: 8.57% complete, ETA 00:43:03
# Fork: 7 of 10
# Warmup Iteration 1: 329.782 ops/s
# Warmup Iteration 2: 371.039 ops/s
# Warmup Iteration 3: 382.927 ops/s
# Warmup Iteration 4: 362.350 ops/s
# Warmup Iteration 5: 386.009 ops/s
# Warmup Iteration 6: 380.632 ops/s
# Warmup Iteration 7: 354.798 ops/s
# Warmup Iteration 8: 384.282 ops/s
# Warmup Iteration 9: 385.085 ops/s
# Warmup Iteration 10: 383.683 ops/s
# Warmup Iteration 11: 358.147 ops/s
# Warmup Iteration 12: 373.872 ops/s
# Warmup Iteration 13: 328.240 ops/s
# Warmup Iteration 14: 359.825 ops/s
# Warmup Iteration 15: 385.880 ops/s
# Warmup Iteration 16: 363.764 ops/s
# Warmup Iteration 17: 313.917 ops/s
# Warmup Iteration 18: 337.680 ops/s
# Warmup Iteration 19: 356.835 ops/s
# Warmup Iteration 20: 374.943 ops/s
Iteration 1: 324.433 ops/s
Iteration 2: 366.127 ops/s
Iteration 3: 387.500 ops/s
Iteration 4: 386.765 ops/s
Iteration 5: 386.530 ops/s
Iteration 6: 384.905 ops/s
Iteration 7: 384.471 ops/s
Iteration 8: 379.979 ops/s
Iteration 9: 355.610 ops/s
Iteration 10: 384.710 ops/s
Iteration 11: 383.103 ops/s
Iteration 12: 386.873 ops/s
Iteration 13: 385.425 ops/s
Iteration 14: 387.659 ops/s
Iteration 15: 385.541 ops/s
Iteration 16: 382.024 ops/s
Iteration 17: 387.853 ops/s
Iteration 18: 386.217 ops/s
Iteration 19: 389.008 ops/s
Iteration 20: 389.162 ops/s
# Run progress: 10.00% complete, ETA 00:42:22
# Fork: 8 of 10
# Warmup Iteration 1: 338.293 ops/s
# Warmup Iteration 2: 362.610 ops/s
# Warmup Iteration 3: 364.847 ops/s
# Warmup Iteration 4: 380.380 ops/s
# Warmup Iteration 5: 377.130 ops/s
# Warmup Iteration 6: 383.783 ops/s
# Warmup Iteration 7: 382.704 ops/s
# Warmup Iteration 8: 382.983 ops/s
# Warmup Iteration 9: 382.429 ops/s
# Warmup Iteration 10: 382.786 ops/s
# Warmup Iteration 11: 381.649 ops/s
# Warmup Iteration 12: 379.291 ops/s
# Warmup Iteration 13: 378.140 ops/s
# Warmup Iteration 14: 382.490 ops/s
# Warmup Iteration 15: 380.737 ops/s
# Warmup Iteration 16: 383.830 ops/s
# Warmup Iteration 17: 382.327 ops/s
# Warmup Iteration 18: 347.523 ops/s
# Warmup Iteration 19: 381.536 ops/s
# Warmup Iteration 20: 369.302 ops/s
Iteration 1: 366.415 ops/s
Iteration 2: 372.371 ops/s
Iteration 3: 377.700 ops/s
Iteration 4: 335.245 ops/s
Iteration 5: 366.820 ops/s
Iteration 6: 297.223 ops/s
Iteration 7: 331.418 ops/s
Iteration 8: 333.815 ops/s
Iteration 9: 367.605 ops/s
Iteration 10: 286.435 ops/s
Iteration 11: 283.657 ops/s
Iteration 12: 364.753 ops/s
Iteration 13: 383.548 ops/s
Iteration 14: 383.592 ops/s
Iteration 15: 382.710 ops/s
Iteration 16: 385.997 ops/s
Iteration 17: 364.274 ops/s
Iteration 18: 341.407 ops/s
Iteration 19: 368.758 ops/s
Iteration 20: 357.292 ops/s
# Run progress: 11.43% complete, ETA 00:41:42
# Fork: 9 of 10
# Warmup Iteration 1: 307.419 ops/s
# Warmup Iteration 2: 371.760 ops/s
# Warmup Iteration 3: 372.943 ops/s
# Warmup Iteration 4: 384.937 ops/s
# Warmup Iteration 5: 386.268 ops/s
# Warmup Iteration 6: 385.107 ops/s
# Warmup Iteration 7: 339.785 ops/s
# Warmup Iteration 8: 374.089 ops/s
# Warmup Iteration 9: 350.781 ops/s
# Warmup Iteration 10: 352.513 ops/s
# Warmup Iteration 11: 362.604 ops/s
# Warmup Iteration 12: 378.382 ops/s
# Warmup Iteration 13: 382.023 ops/s
# Warmup Iteration 14: 363.635 ops/s
# Warmup Iteration 15: 384.596 ops/s
# Warmup Iteration 16: 349.472 ops/s
# Warmup Iteration 17: 380.729 ops/s
# Warmup Iteration 18: 380.301 ops/s
# Warmup Iteration 19: 362.719 ops/s
# Warmup Iteration 20: 381.624 ops/s
Iteration 1: 384.485 ops/s
Iteration 2: 351.790 ops/s
Iteration 3: 353.103 ops/s
Iteration 4: 387.336 ops/s
Iteration 5: 385.011 ops/s
Iteration 6: 328.337 ops/s
Iteration 7: 367.725 ops/s
Iteration 8: 362.891 ops/s
Iteration 9: 310.273 ops/s
Iteration 10: 322.702 ops/s
Iteration 11: 347.116 ops/s
Iteration 12: 333.829 ops/s
Iteration 13: 362.455 ops/s
Iteration 14: 353.293 ops/s
Iteration 15: 305.371 ops/s
Iteration 16: 381.895 ops/s
Iteration 17: 320.823 ops/s
Iteration 18: 371.808 ops/s
Iteration 19: 309.616 ops/s
Iteration 20: 360.853 ops/s
# Run progress: 12.86% complete, ETA 00:41:02
# Fork: 10 of 10
# Warmup Iteration 1: 341.560 ops/s
# Warmup Iteration 2: 368.184 ops/s
# Warmup Iteration 3: 372.894 ops/s
# Warmup Iteration 4: 384.554 ops/s
# Warmup Iteration 5: 384.571 ops/s
# Warmup Iteration 6: 387.378 ops/s
# Warmup Iteration 7: 384.274 ops/s
# Warmup Iteration 8: 385.939 ops/s
# Warmup Iteration 9: 349.616 ops/s
# Warmup Iteration 10: 352.353 ops/s
# Warmup Iteration 11: 336.884 ops/s
# Warmup Iteration 12: 372.025 ops/s
# Warmup Iteration 13: 351.611 ops/s
# Warmup Iteration 14: 335.633 ops/s
# Warmup Iteration 15: 320.251 ops/s
# Warmup Iteration 16: 363.919 ops/s
# Warmup Iteration 17: 346.571 ops/s
# Warmup Iteration 18: 340.289 ops/s
# Warmup Iteration 19: 328.815 ops/s
# Warmup Iteration 20: 325.908 ops/s
Iteration 1: 349.319 ops/s
Iteration 2: 365.578 ops/s
Iteration 3: 311.576 ops/s
Iteration 4: 381.852 ops/s
Iteration 5: 369.631 ops/s
Iteration 6: 360.690 ops/s
Iteration 7: 316.694 ops/s
Iteration 8: 380.150 ops/s
Iteration 9: 330.736 ops/s
Iteration 10: 381.567 ops/s
Iteration 11: 291.268 ops/s
Iteration 12: 343.117 ops/s
Iteration 13: 389.228 ops/s
Iteration 14: 387.377 ops/s
Iteration 15: 367.824 ops/s
Iteration 16: 372.914 ops/s
Iteration 17: 324.169 ops/s
Iteration 18: 315.711 ops/s
Iteration 19: 337.811 ops/s
Iteration 20: 314.540 ops/s
Result "testPrecompiledSplitAsStream":
355.893 ±(99.9%) 6.618 ops/s [Average]
(min, avg, max) = (269.680, 355.893, 389.228), stdev = 28.023
CI (99.9%): [349.275, 362.511] (assumes normal distribution)
# JMH 1.11.2 (released 39 days ago)
# VM version: JDK 1.8.0_66, VM 25.66-b17
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.boris.benchmark.MyBenchmark.testScannerPrecompiledRegex
# Run progress: 14.29% complete, ETA 00:40:21
# Fork: 1 of 10
# Warmup Iteration 1: 68.932 ops/s
# Warmup Iteration 2: 77.404 ops/s
# Warmup Iteration 3: 78.876 ops/s
# Warmup Iteration 4: 73.863 ops/s
# Warmup Iteration 5: 81.119 ops/s
# Warmup Iteration 6: 80.371 ops/s
# Warmup Iteration 7: 73.374 ops/s
# Warmup Iteration 8: 81.210 ops/s
# Warmup Iteration 9: 80.991 ops/s
# Warmup Iteration 10: 71.997 ops/s
# Warmup Iteration 11: 78.482 ops/s
# Warmup Iteration 12: 81.012 ops/s
# Warmup Iteration 13: 74.239 ops/s
# Warmup Iteration 14: 78.851 ops/s
# Warmup Iteration 15: 80.735 ops/s
# Warmup Iteration 16: 80.886 ops/s
# Warmup Iteration 17: 80.376 ops/s
# Warmup Iteration 18: 60.248 ops/s
# Warmup Iteration 19: 77.806 ops/s
# Warmup Iteration 20: 68.118 ops/s
Iteration 1: 74.132 ops/s
Iteration 2: 79.413 ops/s
Iteration 3: 79.290 ops/s
Iteration 4: 71.737 ops/s
Iteration 5: 62.065 ops/s
Iteration 6: 71.551 ops/s
Iteration 7: 69.421 ops/s
Iteration 8: 72.595 ops/s
Iteration 9: 81.034 ops/s
Iteration 10: 81.048 ops/s
Iteration 11: 79.835 ops/s
Iteration 12: 80.635 ops/s
Iteration 13: 74.404 ops/s
Iteration 14: 75.780 ops/s
Iteration 15: 74.175 ops/s
Iteration 16: 80.809 ops/s
Iteration 17: 73.802 ops/s
Iteration 18: 74.089 ops/s
Iteration 19: 77.476 ops/s
Iteration 20: 81.118 ops/s
# Run progress: 15.71% complete, ETA 00:39:43
# Fork: 2 of 10
# Warmup Iteration 1: 67.862 ops/s
# Warmup Iteration 2: 71.429 ops/s
# Warmup Iteration 3: 79.641 ops/s
# Warmup Iteration 4: 73.544 ops/s
# Warmup Iteration 5: 80.763 ops/s
# Warmup Iteration 6: 79.928 ops/s
# Warmup Iteration 7: 79.692 ops/s
# Warmup Iteration 8: 78.201 ops/s
# Warmup Iteration 9: 80.286 ops/s
# Warmup Iteration 10: 80.605 ops/s
# Warmup Iteration 11: 80.859 ops/s
# Warmup Iteration 12: 81.198 ops/s
# Warmup Iteration 13: 81.004 ops/s
# Warmup Iteration 14: 68.804 ops/s
# Warmup Iteration 15: 70.433 ops/s
# Warmup Iteration 16: 75.064 ops/s
# Warmup Iteration 17: 67.487 ops/s
# Warmup Iteration 18: 80.337 ops/s
# Warmup Iteration 19: 73.739 ops/s
# Warmup Iteration 20: 80.443 ops/s
Iteration 1: 73.506 ops/s
Iteration 2: 75.171 ops/s
Iteration 3: 75.870 ops/s
Iteration 4: 78.408 ops/s
Iteration 5: 81.156 ops/s
Iteration 6: 76.939 ops/s
Iteration 7: 81.182 ops/s
Iteration 8: 81.181 ops/s
Iteration 9: 80.773 ops/s
Iteration 10: 77.525 ops/s
Iteration 11: 81.259 ops/s
Iteration 12: 73.452 ops/s
Iteration 13: 77.461 ops/s
Iteration 14: 80.756 ops/s
Iteration 15: 76.178 ops/s
Iteration 16: 75.989 ops/s
Iteration 17: 70.318 ops/s
Iteration 18: 74.699 ops/s
Iteration 19: 80.032 ops/s
Iteration 20: 76.588 ops/s
# Run progress: 17.14% complete, ETA 00:39:03
# Fork: 3 of 10
# Warmup Iteration 1: 64.469 ops/s
# Warmup Iteration 2: 71.200 ops/s
# Warmup Iteration 3: 78.737 ops/s
# Warmup Iteration 4: 79.126 ops/s
# Warmup Iteration 5: 78.308 ops/s
# Warmup Iteration 6: 80.488 ops/s
# Warmup Iteration 7: 80.504 ops/s
# Warmup Iteration 8: 80.092 ops/s
# Warmup Iteration 9: 73.237 ops/s
# Warmup Iteration 10: 73.927 ops/s
# Warmup Iteration 11: 80.519 ops/s
# Warmup Iteration 12: 73.480 ops/s
# Warmup Iteration 13: 80.256 ops/s
# Warmup Iteration 14: 73.654 ops/s
# Warmup Iteration 15: 71.132 ops/s
# Warmup Iteration 16: 61.621 ops/s
# Warmup Iteration 17: 77.311 ops/s
# Warmup Iteration 18: 72.815 ops/s
# Warmup Iteration 19: 75.273 ops/s
# Warmup Iteration 20: 70.733 ops/s
Iteration 1: 60.823 ops/s
Iteration 2: 79.712 ops/s
Iteration 3: 80.212 ops/s
Iteration 4: 79.076 ops/s
Iteration 5: 77.399 ops/s
Iteration 6: 80.173 ops/s
Iteration 7: 80.616 ops/s
Iteration 8: 69.491 ops/s
Iteration 9: 70.697 ops/s
Iteration 10: 80.160 ops/s
Iteration 11: 79.659 ops/s
Iteration 12: 76.327 ops/s
Iteration 13: 74.581 ops/s
Iteration 14: 78.235 ops/s
Iteration 15: 76.797 ops/s
Iteration 16: 73.939 ops/s
Iteration 17: 73.703 ops/s
Iteration 18: 72.312 ops/s
Iteration 19: 80.252 ops/s
Iteration 20: 73.945 ops/s
# Run progress: 18.57% complete, ETA 00:38:24
# Fork: 4 of 10
# Warmup Iteration 1: 69.355 ops/s
# Warmup Iteration 2: 77.717 ops/s
# Warmup Iteration 3: 78.041 ops/s
# Warmup Iteration 4: 80.285 ops/s
# Warmup Iteration 5: 74.253 ops/s
# Warmup Iteration 6: 74.425 ops/s
# Warmup Iteration 7: 70.771 ops/s
# Warmup Iteration 8: 74.458 ops/s
# Warmup Iteration 9: 80.787 ops/s
# Warmup Iteration 10: 81.114 ops/s
# Warmup Iteration 11: 81.065 ops/s
# Warmup Iteration 12: 76.159 ops/s
# Warmup Iteration 13: 78.900 ops/s
# Warmup Iteration 14: 77.150 ops/s
# Warmup Iteration 15: 81.105 ops/s
# Warmup Iteration 16: 78.154 ops/s
# Warmup Iteration 17: 79.766 ops/s
# Warmup Iteration 18: 81.285 ops/s
# Warmup Iteration 19: 80.260 ops/s
# Warmup Iteration 20: 77.533 ops/s
Iteration 1: 81.136 ops/s
Iteration 2: 81.068 ops/s
Iteration 3: 76.601 ops/s
Iteration 4: 67.505 ops/s
Iteration 5: 77.283 ops/s
Iteration 6: 65.937 ops/s
Iteration 7: 59.708 ops/s
Iteration 8: 79.963 ops/s
Iteration 9: 81.057 ops/s
Iteration 10: 76.733 ops/s
Iteration 11: 78.787 ops/s
Iteration 12: 80.669 ops/s
Iteration 13: 81.176 ops/s
Iteration 14: 80.662 ops/s
Iteration 15: 81.339 ops/s
Iteration 16: 80.389 ops/s
Iteration 17: 79.664 ops/s
Iteration 18: 81.560 ops/s
Iteration 19: 80.790 ops/s
Iteration 20: 70.415 ops/s
# Run progress: 20.00% complete, ETA 00:37:44
# Fork: 5 of 10
# Warmup Iteration 1: 70.152 ops/s
# Warmup Iteration 2: 67.748 ops/s
# Warmup Iteration 3: 79.821 ops/s
# Warmup Iteration 4: 80.157 ops/s
# Warmup Iteration 5: 76.475 ops/s
# Warmup Iteration 6: 81.063 ops/s
# Warmup Iteration 7: 81.185 ops/s
# Warmup Iteration 8: 81.255 ops/s
# Warmup Iteration 9: 80.663 ops/s
# Warmup Iteration 10: 79.046 ops/s
# Warmup Iteration 11: 75.702 ops/s
# Warmup Iteration 12: 75.074 ops/s
# Warmup Iteration 13: 70.539 ops/s
# Warmup Iteration 14: 77.777 ops/s
# Warmup Iteration 15: 80.798 ops/s
# Warmup Iteration 16: 69.341 ops/s
# Warmup Iteration 17: 69.199 ops/s
# Warmup Iteration 18: 68.692 ops/s
# Warmup Iteration 19: 76.494 ops/s
# Warmup Iteration 20: 80.895 ops/s
Iteration 1: 80.510 ops/s
Iteration 2: 80.991 ops/s
Iteration 3: 80.946 ops/s
Iteration 4: 66.712 ops/s
Iteration 5: 61.240 ops/s
Iteration 6: 67.764 ops/s
Iteration 7: 66.670 ops/s
Iteration 8: 45.950 ops/s
Iteration 9: 73.358 ops/s
Iteration 10: 74.326 ops/s
Iteration 11: 75.285 ops/s
Iteration 12: 60.605 ops/s
Iteration 13: 79.185 ops/s
Iteration 14: 81.142 ops/s
Iteration 15: 74.534 ops/s
Iteration 16: 69.641 ops/s
Iteration 17: 76.427 ops/s
Iteration 18: 79.156 ops/s
Iteration 19: 80.021 ops/s
Iteration 20: 80.625 ops/s
# Run progress: 21.43% complete, ETA 00:37:04
# Fork: 6 of 10
# Warmup Iteration 1: 66.875 ops/s
# Warmup Iteration 2: 71.321 ops/s
# Warmup Iteration 3: 80.194 ops/s
# Warmup Iteration 4: 79.182 ops/s
# Warmup Iteration 5: 81.274 ops/s
# Warmup Iteration 6: 81.131 ops/s
# Warmup Iteration 7: 81.646 ops/s
# Warmup Iteration 8: 81.119 ops/s
# Warmup Iteration 9: 75.547 ops/s
# Warmup Iteration 10: 78.504 ops/s
# Warmup Iteration 11: 74.715 ops/s
# Warmup Iteration 12: 81.168 ops/s
# Warmup Iteration 13: 66.369 ops/s
# Warmup Iteration 14: 77.174 ops/s
# Warmup Iteration 15: 74.286 ops/s
# Warmup Iteration 16: 73.724 ops/s
# Warmup Iteration 17: 76.873 ops/s
# Warmup Iteration 18: 79.547 ops/s
# Warmup Iteration 19: 75.928 ops/s
# Warmup Iteration 20: 72.721 ops/s
Iteration 1: 61.571 ops/s
Iteration 2: 73.641 ops/s
Iteration 3: 70.263 ops/s
Iteration 4: 72.943 ops/s
Iteration 5: 77.670 ops/s
Iteration 6: 74.475 ops/s
Iteration 7: 76.480 ops/s
Iteration 8: 81.237 ops/s
Iteration 9: 69.426 ops/s
Iteration 10: 81.193 ops/s
Iteration 11: 81.216 ops/s
Iteration 12: 74.273 ops/s
Iteration 13: 74.475 ops/s
Iteration 14: 71.493 ops/s
Iteration 15: 73.291 ops/s
Iteration 16: 78.105 ops/s
Iteration 17: 66.844 ops/s
Iteration 18: 68.624 ops/s
Iteration 19: 80.419 ops/s
Iteration 20: 81.339 ops/s
# Run progress: 22.86% complete, ETA 00:36:24
# Fork: 7 of 10
# Warmup Iteration 1: 63.679 ops/s
# Warmup Iteration 2: 73.315 ops/s
# Warmup Iteration 3: 73.876 ops/s
# Warmup Iteration 4: 73.188 ops/s
# Warmup Iteration 5: 75.167 ops/s
# Warmup Iteration 6: 80.749 ops/s
# Warmup Iteration 7: 81.216 ops/s
# Warmup Iteration 8: 81.300 ops/s
# Warmup Iteration 9: 75.871 ops/s
# Warmup Iteration 10: 81.235 ops/s
# Warmup Iteration 11: 65.849 ops/s
# Warmup Iteration 12: 81.279 ops/s
# Warmup Iteration 13: 77.404 ops/s
# Warmup Iteration 14: 74.701 ops/s
# Warmup Iteration 15: 74.742 ops/s
# Warmup Iteration 16: 76.775 ops/s
# Warmup Iteration 17: 70.704 ops/s
# Warmup Iteration 18: 74.431 ops/s
# Warmup Iteration 19: 71.902 ops/s
# Warmup Iteration 20: 70.810 ops/s
Iteration 1: 79.580 ops/s
Iteration 2: 68.904 ops/s
Iteration 3: 77.105 ops/s
Iteration 4: 70.569 ops/s
Iteration 5: 58.613 ops/s
Iteration 6: 70.198 ops/s
Iteration 7: 81.178 ops/s
Iteration 8: 73.797 ops/s
Iteration 9: 79.248 ops/s
Iteration 10: 80.800 ops/s
Iteration 11: 80.051 ops/s
Iteration 12: 80.332 ops/s
Iteration 13: 76.150 ops/s
Iteration 14: 68.478 ops/s
Iteration 15: 77.204 ops/s
Iteration 16: 76.820 ops/s
Iteration 17: 72.929 ops/s
Iteration 18: 76.750 ops/s
Iteration 19: 80.814 ops/s
Iteration 20: 77.549 ops/s
# Run progress: 24.29% complete, ETA 00:35:44
# Fork: 8 of 10
# Warmup Iteration 1: 65.614 ops/s
# Warmup Iteration 2: 77.959 ops/s
# Warmup Iteration 3: 79.635 ops/s
# Warmup Iteration 4: 81.537 ops/s
# Warmup Iteration 5: 80.990 ops/s
# Warmup Iteration 6: 81.467 ops/s
# Warmup Iteration 7: 81.069 ops/s
# Warmup Iteration 8: 81.176 ops/s
# Warmup Iteration 9: 74.314 ops/s
# Warmup Iteration 10: 81.704 ops/s
# Warmup Iteration 11: 77.171 ops/s
# Warmup Iteration 12: 81.639 ops/s
# Warmup Iteration 13: 74.540 ops/s
# Warmup Iteration 14: 67.633 ops/s
# Warmup Iteration 15: 78.801 ops/s
# Warmup Iteration 16: 77.754 ops/s
# Warmup Iteration 17: 78.769 ops/s
# Warmup Iteration 18: 68.031 ops/s
# Warmup Iteration 19: 79.936 ops/s
# Warmup Iteration 20: 73.217 ops/s
Iteration 1: 75.195 ops/s
Iteration 2: 73.716 ops/s
Iteration 3: 77.980 ops/s
Iteration 4: 69.920 ops/s
Iteration 5: 73.942 ops/s
Iteration 6: 67.601 ops/s
Iteration 7: 74.296 ops/s
Iteration 8: 81.051 ops/s
Iteration 9: 74.740 ops/s
Iteration 10: 76.361 ops/s
Iteration 11: 81.639 ops/s
Iteration 12: 74.374 ops/s
Iteration 13: 79.665 ops/s
Iteration 14: 81.032 ops/s
Iteration 15: 81.569 ops/s
Iteration 16: 76.073 ops/s
Iteration 17: 80.133 ops/s
Iteration 18: 81.003 ops/s
Iteration 19: 82.067 ops/s
Iteration 20: 81.004 ops/s
# Run progress: 25.71% complete, ETA 00:35:04
# Fork: 9 of 10
# Warmup Iteration 1: 59.497 ops/s
# Warmup Iteration 2: 77.075 ops/s
# Warmup Iteration 3: 77.355 ops/s
# Warmup Iteration 4: 70.042 ops/s
# Warmup Iteration 5: 78.095 ops/s
# Warmup Iteration 6: 79.015 ops/s
# Warmup Iteration 7: 77.913 ops/s
# Warmup Iteration 8: 80.305 ops/s
# Warmup Iteration 9: 80.608 ops/s
# Warmup Iteration 10: 75.857 ops/s
# Warmup Iteration 11: 65.620 ops/s
# Warmup Iteration 12: 78.272 ops/s
# Warmup Iteration 13: 72.366 ops/s
# Warmup Iteration 14: 70.777 ops/s
# Warmup Iteration 15: 73.189 ops/s
# Warmup Iteration 16: 72.279 ops/s
# Warmup Iteration 17: 77.315 ops/s
# Warmup Iteration 18: 68.900 ops/s
# Warmup Iteration 19: 64.910 ops/s
# Warmup Iteration 20: 72.731 ops/s
Iteration 1: 77.690 ops/s
Iteration 2: 78.221 ops/s
Iteration 3: 72.864 ops/s
Iteration 4: 76.115 ops/s
Iteration 5: 73.583 ops/s
Iteration 6: 78.824 ops/s
Iteration 7: 77.845 ops/s
Iteration 8: 80.124 ops/s
Iteration 9: 77.668 ops/s
Iteration 10: 74.547 ops/s
Iteration 11: 80.579 ops/s
Iteration 12: 75.586 ops/s
Iteration 13: 79.828 ops/s
Iteration 14: 73.335 ops/s
Iteration 15: 80.341 ops/s
Iteration 16: 72.861 ops/s
Iteration 17: 74.955 ops/s
Iteration 18: 60.335 ops/s
Iteration 19: 74.498 ops/s
Iteration 20: 72.632 ops/s
# Run progress: 27.14% complete, ETA 00:34:24
# Fork: 10 of 10
# Warmup Iteration 1: 67.351 ops/s
# Warmup Iteration 2: 74.519 ops/s
# Warmup Iteration 3: 78.814 ops/s
# Warmup Iteration 4: 80.658 ops/s
# Warmup Iteration 5: 81.329 ops/s
# Warmup Iteration 6: 81.107 ops/s
# Warmup Iteration 7: 79.717 ops/s
# Warmup Iteration 8: 81.228 ops/s
# Warmup Iteration 9: 80.742 ops/s
# Warmup Iteration 10: 80.662 ops/s
# Warmup Iteration 11: 75.704 ops/s
# Warmup Iteration 12: 74.314 ops/s
# Warmup Iteration 13: 77.106 ops/s
# Warmup Iteration 14: 73.329 ops/s
# Warmup Iteration 15: 77.175 ops/s
# Warmup Iteration 16: 78.873 ops/s
# Warmup Iteration 17: 78.435 ops/s
# Warmup Iteration 18: 76.120 ops/s
# Warmup Iteration 19: 76.850 ops/s
# Warmup Iteration 20: 72.569 ops/s
Iteration 1: 70.268 ops/s
Iteration 2: 77.515 ops/s
Iteration 3: 80.394 ops/s
Iteration 4: 76.296 ops/s
Iteration 5: 78.454 ops/s
Iteration 6: 81.142 ops/s
Iteration 7: 80.747 ops/s
Iteration 8: 72.916 ops/s
Iteration 9: 78.480 ops/s
Iteration 10: 74.130 ops/s
Iteration 11: 78.132 ops/s
Iteration 12: 74.270 ops/s
Iteration 13: 74.181 ops/s
Iteration 14: 62.400 ops/s
Iteration 15: 72.551 ops/s
Iteration 16: 76.667 ops/s
Iteration 17: 80.733 ops/s
Iteration 18: 80.519 ops/s
Iteration 19: 80.987 ops/s
Iteration 20: 81.058 ops/s
Result "testScannerPrecompiledRegex":
75.811 ±(99.9%) 1.311 ops/s [Average]
(min, avg, max) = (45.950, 75.811, 82.067), stdev = 5.551
CI (99.9%): [74.500, 77.122] (assumes normal distribution)
# JMH 1.11.2 (released 39 days ago)
# VM version: JDK 1.8.0_66, VM 25.66-b17
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.boris.benchmark.MyBenchmark.testScannerRegex
# Run progress: 28.57% complete, ETA 00:33:44
# Fork: 1 of 10
# Warmup Iteration 1: 63.168 ops/s
# Warmup Iteration 2: 77.805 ops/s
# Warmup Iteration 3: 78.981 ops/s
# Warmup Iteration 4: 80.483 ops/s
# Warmup Iteration 5: 80.426 ops/s
# Warmup Iteration 6: 80.445 ops/s
# Warmup Iteration 7: 80.959 ops/s
# Warmup Iteration 8: 81.224 ops/s
# Warmup Iteration 9: 73.670 ops/s
# Warmup Iteration 10: 74.237 ops/s
# Warmup Iteration 11: 78.960 ops/s
# Warmup Iteration 12: 81.086 ops/s
# Warmup Iteration 13: 81.012 ops/s
# Warmup Iteration 14: 80.981 ops/s
# Warmup Iteration 15: 80.797 ops/s
# Warmup Iteration 16: 80.712 ops/s
# Warmup Iteration 17: 76.787 ops/s
# Warmup Iteration 18: 75.550 ops/s
# Warmup Iteration 19: 67.907 ops/s
# Warmup Iteration 20: 77.253 ops/s
Iteration 1: 60.054 ops/s
Iteration 2: 78.843 ops/s
Iteration 3: 80.609 ops/s
Iteration 4: 80.838 ops/s
Iteration 5: 81.015 ops/s
Iteration 6: 80.847 ops/s
Iteration 7: 81.138 ops/s
Iteration 8: 81.158 ops/s
Iteration 9: 66.701 ops/s
Iteration 10: 80.797 ops/s
Iteration 11: 77.916 ops/s
Iteration 12: 64.926 ops/s
Iteration 13: 71.901 ops/s
Iteration 14: 73.896 ops/s
Iteration 15: 80.116 ops/s
Iteration 16: 80.626 ops/s
Iteration 17: 81.061 ops/s
Iteration 18: 74.567 ops/s
Iteration 19: 72.609 ops/s
Iteration 20: 74.175 ops/s
# Run progress: 30.00% complete, ETA 00:33:04
# Fork: 2 of 10
# Warmup Iteration 1: 59.222 ops/s
# Warmup Iteration 2: 76.394 ops/s
# Warmup Iteration 3: 79.846 ops/s
# Warmup Iteration 4: 78.540 ops/s
# Warmup Iteration 5: 80.977 ops/s
# Warmup Iteration 6: 80.512 ops/s
# Warmup Iteration 7: 80.662 ops/s
# Warmup Iteration 8: 81.100 ops/s
# Warmup Iteration 9: 80.968 ops/s
# Warmup Iteration 10: 80.999 ops/s
# Warmup Iteration 11: 80.989 ops/s
# Warmup Iteration 12: 78.148 ops/s
# Warmup Iteration 13: 80.297 ops/s
# Warmup Iteration 14: 72.929 ops/s
# Warmup Iteration 15: 73.748 ops/s
# Warmup Iteration 16: 74.435 ops/s
# Warmup Iteration 17: 79.325 ops/s
# Warmup Iteration 18: 80.715 ops/s
# Warmup Iteration 19: 80.459 ops/s
# Warmup Iteration 20: 80.729 ops/s
Iteration 1: 80.144 ops/s
Iteration 2: 80.298 ops/s
Iteration 3: 73.477 ops/s
Iteration 4: 51.574 ops/s
Iteration 5: 69.607 ops/s
Iteration 6: 80.035 ops/s
Iteration 7: 78.070 ops/s
Iteration 8: 81.116 ops/s
Iteration 9: 78.488 ops/s
Iteration 10: 80.630 ops/s
Iteration 11: 78.084 ops/s
Iteration 12: 79.972 ops/s
Iteration 13: 73.442 ops/s
Iteration 14: 80.577 ops/s
Iteration 15: 78.921 ops/s
Iteration 16: 78.495 ops/s
Iteration 17: 79.281 ops/s
Iteration 18: 72.858 ops/s
Iteration 19: 80.935 ops/s
Iteration 20: 80.633 ops/s
# Run progress: 31.43% complete, ETA 00:32:23
# Fork: 3 of 10
# Warmup Iteration 1: 68.469 ops/s
# Warmup Iteration 2: 77.774 ops/s
# Warmup Iteration 3: 77.477 ops/s
# Warmup Iteration 4: 80.622 ops/s
# Warmup Iteration 5: 79.838 ops/s
# Warmup Iteration 6: 80.889 ops/s
# Warmup Iteration 7: 76.957 ops/s
# Warmup Iteration 8: 80.685 ops/s
# Warmup Iteration 9: 76.188 ops/s
# Warmup Iteration 10: 80.715 ops/s
# Warmup Iteration 11: 80.880 ops/s
# Warmup Iteration 12: 80.803 ops/s
# Warmup Iteration 13: 80.924 ops/s
# Warmup Iteration 14: 78.205 ops/s
# Warmup Iteration 15: 76.307 ops/s
# Warmup Iteration 16: 68.303 ops/s
# Warmup Iteration 17: 77.683 ops/s
# Warmup Iteration 18: 71.672 ops/s
# Warmup Iteration 19: 67.379 ops/s
# Warmup Iteration 20: 68.260 ops/s
Iteration 1: 72.362 ops/s
Iteration 2: 73.899 ops/s
Iteration 3: 75.885 ops/s
Iteration 4: 76.975 ops/s
Iteration 5: 70.636 ops/s
Iteration 6: 75.210 ops/s
Iteration 7: 77.467 ops/s
Iteration 8: 66.481 ops/s
Iteration 9: 80.246 ops/s
Iteration 10: 72.628 ops/s
Iteration 11: 80.104 ops/s
Iteration 12: 80.066 ops/s
Iteration 13: 80.287 ops/s
Iteration 14: 80.922 ops/s
Iteration 15: 75.439 ops/s
Iteration 16: 80.285 ops/s
Iteration 17: 72.816 ops/s
Iteration 18: 80.537 ops/s
Iteration 19: 79.823 ops/s
Iteration 20: 80.867 ops/s
# Run progress: 32.86% complete, ETA 00:31:43
# Fork: 4 of 10
# Warmup Iteration 1: 61.775 ops/s
# Warmup Iteration 2: 73.186 ops/s
# Warmup Iteration 3: 79.697 ops/s
# Warmup Iteration 4: 79.581 ops/s
# Warmup Iteration 5: 76.630 ops/s
# Warmup Iteration 6: 75.685 ops/s
# Warmup Iteration 7: 81.189 ops/s
# Warmup Iteration 8: 80.619 ops/s
# Warmup Iteration 9: 81.265 ops/s
# Warmup Iteration 10: 70.936 ops/s
# Warmup Iteration 11: 79.312 ops/s
# Warmup Iteration 12: 75.170 ops/s
# Warmup Iteration 13: 73.853 ops/s
# Warmup Iteration 14: 81.216 ops/s
# Warmup Iteration 15: 81.319 ops/s
# Warmup Iteration 16: 72.957 ops/s
# Warmup Iteration 17: 78.246 ops/s
# Warmup Iteration 18: 68.799 ops/s
# Warmup Iteration 19: 67.666 ops/s
# Warmup Iteration 20: 66.505 ops/s
Iteration 1: 61.047 ops/s
Iteration 2: 72.185 ops/s
Iteration 3: 73.297 ops/s
Iteration 4: 80.975 ops/s
Iteration 5: 81.255 ops/s
Iteration 6: 79.450 ops/s
Iteration 7: 81.035 ops/s
Iteration 8: 76.906 ops/s
Iteration 9: 69.579 ops/s
Iteration 10: 81.058 ops/s
Iteration 11: 75.846 ops/s
Iteration 12: 69.223 ops/s
Iteration 13: 80.564 ops/s
Iteration 14: 79.535 ops/s
Iteration 15: 78.085 ops/s
Iteration 16: 74.443 ops/s
Iteration 17: 78.174 ops/s
Iteration 18: 79.509 ops/s
Iteration 19: 74.432 ops/s
Iteration 20: 68.577 ops/s
# Run progress: 34.29% complete, ETA 00:31:03
# Fork: 5 of 10
# Warmup Iteration 1: 69.833 ops/s
# Warmup Iteration 2: 77.621 ops/s
# Warmup Iteration 3: 79.128 ops/s
# Warmup Iteration 4: 80.531 ops/s
# Warmup Iteration 5: 80.318 ops/s
# Warmup Iteration 6: 81.058 ops/s
# Warmup Iteration 7: 74.971 ops/s
# Warmup Iteration 8: 79.221 ops/s
# Warmup Iteration 9: 73.984 ops/s
# Warmup Iteration 10: 79.235 ops/s
# Warmup Iteration 11: 80.669 ops/s
# Warmup Iteration 12: 72.913 ops/s
# Warmup Iteration 13: 77.234 ops/s
# Warmup Iteration 14: 80.722 ops/s
# Warmup Iteration 15: 70.974 ops/s
# Warmup Iteration 16: 79.832 ops/s
# Warmup Iteration 17: 75.218 ops/s
# Warmup Iteration 18: 71.727 ops/s
# Warmup Iteration 19: 77.335 ops/s
# Warmup Iteration 20: 81.414 ops/s
Iteration 1: 81.133 ops/s
Iteration 2: 79.975 ops/s
Iteration 3: 79.684 ops/s
Iteration 4: 80.603 ops/s
Iteration 5: 81.447 ops/s
Iteration 6: 73.935 ops/s
Iteration 7: 81.523 ops/s
Iteration 8: 81.345 ops/s
Iteration 9: 74.121 ops/s
Iteration 10: 81.393 ops/s
Iteration 11: 69.366 ops/s
Iteration 12: 77.520 ops/s
Iteration 13: 80.874 ops/s
Iteration 14: 66.467 ops/s
Iteration 15: 65.902 ops/s
Iteration 16: 63.270 ops/s
Iteration 17: 46.508 ops/s
Iteration 18: 60.876 ops/s
Iteration 19: 76.830 ops/s
Iteration 20: 72.014 ops/s
# Run progress: 35.71% complete, ETA 00:30:22
# Fork: 6 of 10
# Warmup Iteration 1: 67.558 ops/s
# Warmup Iteration 2: 77.978 ops/s
# Warmup Iteration 3: 77.733 ops/s
# Warmup Iteration 4: 80.517 ops/s
# Warmup Iteration 5: 79.915 ops/s
# Warmup Iteration 6: 80.668 ops/s
# Warmup Iteration 7: 78.936 ops/s
# Warmup Iteration 8: 80.826 ops/s
# Warmup Iteration 9: 71.472 ops/s
# Warmup Iteration 10: 73.863 ops/s
# Warmup Iteration 11: 69.206 ops/s
# Warmup Iteration 12: 80.337 ops/s
# Warmup Iteration 13: 80.542 ops/s
# Warmup Iteration 14: 74.175 ops/s
# Warmup Iteration 15: 80.522 ops/s
# Warmup Iteration 16: 80.588 ops/s
# Warmup Iteration 17: 63.894 ops/s
# Warmup Iteration 18: 76.902 ops/s
# Warmup Iteration 19: 79.901 ops/s
# Warmup Iteration 20: 66.483 ops/s
Iteration 1: 72.621 ops/s
Iteration 2: 53.814 ops/s
Iteration 3: 65.929 ops/s
Iteration 4: 72.949 ops/s
Iteration 5: 80.868 ops/s
Iteration 6: 79.639 ops/s
Iteration 7: 78.132 ops/s
Iteration 8: 73.689 ops/s
Iteration 9: 63.823 ops/s
Iteration 10: 80.678 ops/s
Iteration 11: 66.545 ops/s
Iteration 12: 76.214 ops/s
Iteration 13: 80.446 ops/s
Iteration 14: 73.812 ops/s
Iteration 15: 66.428 ops/s
Iteration 16: 78.500 ops/s
Iteration 17: 78.442 ops/s
Iteration 18: 78.831 ops/s
Iteration 19: 70.711 ops/s
Iteration 20: 65.599 ops/s
# Run progress: 37.14% complete, ETA 00:29:42
# Fork: 7 of 10
# Warmup Iteration 1: 58.940 ops/s
# Warmup Iteration 2: 56.966 ops/s
# Warmup Iteration 3: 76.206 ops/s
# Warmup Iteration 4: 79.212 ops/s
# Warmup Iteration 5: 80.098 ops/s
# Warmup Iteration 6: 76.873 ops/s
# Warmup Iteration 7: 81.397 ops/s
# Warmup Iteration 8: 81.398 ops/s
# Warmup Iteration 9: 81.464 ops/s
# Warmup Iteration 10: 81.329 ops/s
# Warmup Iteration 11: 77.460 ops/s
# Warmup Iteration 12: 81.176 ops/s
# Warmup Iteration 13: 80.234 ops/s
# Warmup Iteration 14: 81.186 ops/s
# Warmup Iteration 15: 76.808 ops/s
# Warmup Iteration 16: 80.978 ops/s
# Warmup Iteration 17: 73.383 ops/s
# Warmup Iteration 18: 78.331 ops/s
# Warmup Iteration 19: 80.403 ops/s
# Warmup Iteration 20: 80.438 ops/s
Iteration 1: 80.315 ops/s
Iteration 2: 81.424 ops/s
Iteration 3: 80.787 ops/s
Iteration 4: 73.718 ops/s
Iteration 5: 80.969 ops/s
Iteration 6: 74.112 ops/s
Iteration 7: 74.749 ops/s
Iteration 8: 75.491 ops/s
Iteration 9: 73.741 ops/s
Iteration 10: 80.608 ops/s
Iteration 11: 80.447 ops/s
Iteration 12: 76.378 ops/s
Iteration 13: 80.861 ops/s
Iteration 14: 81.170 ops/s
Iteration 15: 81.514 ops/s
Iteration 16: 78.284 ops/s
Iteration 17: 81.484 ops/s
Iteration 18: 76.399 ops/s
Iteration 19: 79.316 ops/s
Iteration 20: 74.878 ops/s
# Run progress: 38.57% complete, ETA 00:29:01
# Fork: 8 of 10
# Warmup Iteration 1: 57.688 ops/s
# Warmup Iteration 2: 71.018 ops/s
# Warmup Iteration 3: 74.708 ops/s
# Warmup Iteration 4: 72.209 ops/s
# Warmup Iteration 5: 81.353 ops/s
# Warmup Iteration 6: 81.296 ops/s
# Warmup Iteration 7: 80.126 ops/s
# Warmup Iteration 8: 79.419 ops/s
# Warmup Iteration 9: 74.377 ops/s
# Warmup Iteration 10: 81.471 ops/s
# Warmup Iteration 11: 81.387 ops/s
# Warmup Iteration 12: 81.615 ops/s
# Warmup Iteration 13: 74.371 ops/s
# Warmup Iteration 14: 70.801 ops/s
# Warmup Iteration 15: 71.990 ops/s
# Warmup Iteration 16: 75.899 ops/s
# Warmup Iteration 17: 73.360 ops/s
# Warmup Iteration 18: 73.312 ops/s
# Warmup Iteration 19: 81.571 ops/s
# Warmup Iteration 20: 81.675 ops/s
Iteration 1: 81.768 ops/s
Iteration 2: 81.537 ops/s
Iteration 3: 81.444 ops/s
Iteration 4: 81.051 ops/s
Iteration 5: 81.230 ops/s
Iteration 6: 80.829 ops/s
Iteration 7: 81.173 ops/s
Iteration 8: 78.447 ops/s
Iteration 9: 67.688 ops/s
Iteration 10: 74.441 ops/s
Iteration 11: 69.812 ops/s
Iteration 12: 65.507 ops/s
Iteration 13: 68.526 ops/s
Iteration 14: 68.331 ops/s
Iteration 15: 71.170 ops/s
Iteration 16: 75.693 ops/s
Iteration 17: 81.113 ops/s
Iteration 18: 81.543 ops/s
Iteration 19: 72.549 ops/s
Iteration 20: 81.507 ops/s
# Run progress: 40.00% complete, ETA 00:28:21
# Fork: 9 of 10
# Warmup Iteration 1: 69.520 ops/s
# Warmup Iteration 2: 76.926 ops/s
# Warmup Iteration 3: 77.489 ops/s
# Warmup Iteration 4: 80.690 ops/s
# Warmup Iteration 5: 80.899 ops/s
# Warmup Iteration 6: 80.396 ops/s
# Warmup Iteration 7: 81.055 ops/s
# Warmup Iteration 8: 80.853 ops/s
# Warmup Iteration 9: 74.019 ops/s
# Warmup Iteration 10: 76.588 ops/s
# Warmup Iteration 11: 81.138 ops/s
# Warmup Iteration 12: 81.042 ops/s
# Warmup Iteration 13: 80.893 ops/s
# Warmup Iteration 14: 81.345 ops/s
# Warmup Iteration 15: 81.134 ops/s
# Warmup Iteration 16: 80.514 ops/s
# Warmup Iteration 17: 80.645 ops/s
# Warmup Iteration 18: 80.430 ops/s
# Warmup Iteration 19: 80.193 ops/s
# Warmup Iteration 20: 79.828 ops/s
Iteration 1: 80.436 ops/s
Iteration 2: 80.666 ops/s
Iteration 3: 80.580 ops/s
Iteration 4: 80.942 ops/s
Iteration 5: 80.359 ops/s
Iteration 6: 67.397 ops/s
Iteration 7: 81.043 ops/s
Iteration 8: 81.183 ops/s
Iteration 9: 81.015 ops/s
Iteration 10: 81.129 ops/s
Iteration 11: 69.810 ops/s
Iteration 12: 80.450 ops/s
Iteration 13: 80.819 ops/s
Iteration 14: 80.406 ops/s
Iteration 15: 81.515 ops/s
Iteration 16: 74.451 ops/s
Iteration 17: 81.187 ops/s
Iteration 18: 81.047 ops/s
Iteration 19: 73.196 ops/s
Iteration 20: 79.391 ops/s
# Run progress: 41.43% complete, ETA 00:27:41
# Fork: 10 of 10
# Warmup Iteration 1: 67.701 ops/s
# Warmup Iteration 2: 78.205 ops/s
# Warmup Iteration 3: 78.541 ops/s
# Warmup Iteration 4: 75.836 ops/s
# Warmup Iteration 5: 67.371 ops/s
# Warmup Iteration 6: 75.084 ops/s
# Warmup Iteration 7: 81.505 ops/s
# Warmup Iteration 8: 81.459 ops/s
# Warmup Iteration 9: 81.223 ops/s
# Warmup Iteration 10: 75.463 ops/s
# Warmup Iteration 11: 74.222 ops/s
# Warmup Iteration 12: 74.167 ops/s
# Warmup Iteration 13: 68.813 ops/s
# Warmup Iteration 14: 80.679 ops/s
# Warmup Iteration 15: 74.251 ops/s
# Warmup Iteration 16: 77.931 ops/s
# Warmup Iteration 17: 74.666 ops/s
# Warmup Iteration 18: 79.982 ops/s
# Warmup Iteration 19: 75.398 ops/s
# Warmup Iteration 20: 77.773 ops/s
Iteration 1: 80.393 ops/s
Iteration 2: 81.107 ops/s
Iteration 3: 75.642 ops/s
Iteration 4: 74.438 ops/s
Iteration 5: 81.343 ops/s
Iteration 6: 70.943 ops/s
Iteration 7: 80.648 ops/s
Iteration 8: 68.394 ops/s
Iteration 9: 76.420 ops/s
Iteration 10: 80.542 ops/s
Iteration 11: 80.250 ops/s
Iteration 12: 77.275 ops/s
Iteration 13: 67.678 ops/s
Iteration 14: 80.875 ops/s
Iteration 15: 81.554 ops/s
Iteration 16: 78.661 ops/s
Iteration 17: 74.834 ops/s
Iteration 18: 80.819 ops/s
Iteration 19: 73.761 ops/s
Iteration 20: 73.544 ops/s
Result "testScannerRegex":
76.246 ±(99.9%) 1.427 ops/s [Average]
(min, avg, max) = (46.508, 76.246, 81.768), stdev = 6.044
CI (99.9%): [74.818, 77.673] (assumes normal distribution)
# JMH 1.11.2 (released 39 days ago)
# VM version: JDK 1.8.0_66, VM 25.66-b17
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.boris.benchmark.MyBenchmark.testScannerString
# Run progress: 42.86% complete, ETA 00:27:00
# Fork: 1 of 10
# Warmup Iteration 1: 67.804 ops/s
# Warmup Iteration 2: 65.667 ops/s
# Warmup Iteration 3: 73.437 ops/s
# Warmup Iteration 4: 78.683 ops/s
# Warmup Iteration 5: 81.315 ops/s
# Warmup Iteration 6: 73.615 ops/s
# Warmup Iteration 7: 80.376 ops/s
# Warmup Iteration 8: 81.355 ops/s
# Warmup Iteration 9: 81.268 ops/s
# Warmup Iteration 10: 76.936 ops/s
# Warmup Iteration 11: 81.238 ops/s
# Warmup Iteration 12: 72.793 ops/s
# Warmup Iteration 13: 72.648 ops/s
# Warmup Iteration 14: 74.433 ops/s
# Warmup Iteration 15: 71.161 ops/s
# Warmup Iteration 16: 67.282 ops/s
# Warmup Iteration 17: 73.091 ops/s
# Warmup Iteration 18: 68.264 ops/s
# Warmup Iteration 19: 75.876 ops/s
# Warmup Iteration 20: 71.982 ops/s
Iteration 1: 73.602 ops/s
Iteration 2: 73.441 ops/s
Iteration 3: 68.432 ops/s
Iteration 4: 78.041 ops/s
Iteration 5: 73.631 ops/s
Iteration 6: 75.442 ops/s
Iteration 7: 80.846 ops/s
Iteration 8: 77.214 ops/s
Iteration 9: 74.371 ops/s
Iteration 10: 80.850 ops/s
Iteration 11: 81.117 ops/s
Iteration 12: 81.432 ops/s
Iteration 13: 81.511 ops/s
Iteration 14: 81.432 ops/s
Iteration 15: 81.419 ops/s
Iteration 16: 81.092 ops/s
Iteration 17: 81.244 ops/s
Iteration 18: 80.816 ops/s
Iteration 19: 68.559 ops/s
Iteration 20: 75.984 ops/s
# Run progress: 44.29% complete, ETA 00:26:20
# Fork: 2 of 10
# Warmup Iteration 1: 60.294 ops/s
# Warmup Iteration 2: 72.109 ops/s
# Warmup Iteration 3: 77.322 ops/s
# Warmup Iteration 4: 79.455 ops/s
# Warmup Iteration 5: 70.396 ops/s
# Warmup Iteration 6: 77.858 ops/s
# Warmup Iteration 7: 81.543 ops/s
# Warmup Iteration 8: 76.075 ops/s
# Warmup Iteration 9: 79.761 ops/s
# Warmup Iteration 10: 81.249 ops/s
# Warmup Iteration 11: 81.312 ops/s
# Warmup Iteration 12: 81.280 ops/s
# Warmup Iteration 13: 81.321 ops/s
# Warmup Iteration 14: 78.290 ops/s
# Warmup Iteration 15: 77.976 ops/s
# Warmup Iteration 16: 73.519 ops/s
# Warmup Iteration 17: 68.973 ops/s
# Warmup Iteration 18: 62.744 ops/s
# Warmup Iteration 19: 62.433 ops/s
# Warmup Iteration 20: 74.816 ops/s
Iteration 1: 70.621 ops/s
Iteration 2: 74.513 ops/s
Iteration 3: 80.909 ops/s
Iteration 4: 81.041 ops/s
Iteration 5: 81.234 ops/s
Iteration 6: 71.571 ops/s
Iteration 7: 78.778 ops/s
Iteration 8: 79.883 ops/s
Iteration 9: 75.827 ops/s
Iteration 10: 72.267 ops/s
Iteration 11: 74.668 ops/s
Iteration 12: 80.634 ops/s
Iteration 13: 80.896 ops/s
Iteration 14: 80.353 ops/s
Iteration 15: 76.239 ops/s
Iteration 16: 81.233 ops/s
Iteration 17: 75.152 ops/s
Iteration 18: 76.310 ops/s
Iteration 19: 80.173 ops/s
Iteration 20: 77.890 ops/s
# Run progress: 45.71% complete, ETA 00:25:39
# Fork: 3 of 10
# Warmup Iteration 1: 69.378 ops/s
# Warmup Iteration 2: 77.690 ops/s
# Warmup Iteration 3: 78.699 ops/s
# Warmup Iteration 4: 80.592 ops/s
# Warmup Iteration 5: 79.981 ops/s
# Warmup Iteration 6: 81.057 ops/s
# Warmup Iteration 7: 78.330 ops/s
# Warmup Iteration 8: 81.236 ops/s
# Warmup Iteration 9: 74.125 ops/s
# Warmup Iteration 10: 75.643 ops/s
# Warmup Iteration 11: 71.594 ops/s
# Warmup Iteration 12: 80.022 ops/s
# Warmup Iteration 13: 80.756 ops/s
# Warmup Iteration 14: 76.300 ops/s
# Warmup Iteration 15: 72.830 ops/s
# Warmup Iteration 16: 75.966 ops/s
# Warmup Iteration 17: 78.479 ops/s
# Warmup Iteration 18: 66.138 ops/s
# Warmup Iteration 19: 70.747 ops/s
# Warmup Iteration 20: 73.109 ops/s
Iteration 1: 68.785 ops/s
Iteration 2: 80.622 ops/s
Iteration 3: 80.074 ops/s
Iteration 4: 77.915 ops/s
Iteration 5: 77.947 ops/s
Iteration 6: 73.604 ops/s
Iteration 7: 80.512 ops/s
Iteration 8: 80.322 ops/s
Iteration 9: 79.570 ops/s
Iteration 10: 79.312 ops/s
Iteration 11: 73.776 ops/s
Iteration 12: 76.848 ops/s
Iteration 13: 76.775 ops/s
Iteration 14: 71.441 ops/s
Iteration 15: 80.777 ops/s
Iteration 16: 76.366 ops/s
Iteration 17: 80.200 ops/s
Iteration 18: 79.091 ops/s
Iteration 19: 80.704 ops/s
Iteration 20: 79.496 ops/s
# Run progress: 47.14% complete, ETA 00:24:59
# Fork: 4 of 10
# Warmup Iteration 1: 68.531 ops/s
# Warmup Iteration 2: 71.440 ops/s
# Warmup Iteration 3: 68.113 ops/s
# Warmup Iteration 4: 72.975 ops/s
# Warmup Iteration 5: 80.865 ops/s
# Warmup Iteration 6: 73.661 ops/s
# Warmup Iteration 7: 80.520 ops/s
# Warmup Iteration 8: 80.409 ops/s
# Warmup Iteration 9: 80.344 ops/s
# Warmup Iteration 10: 80.497 ops/s
# Warmup Iteration 11: 80.282 ops/s
# Warmup Iteration 12: 80.609 ops/s
# Warmup Iteration 13: 74.524 ops/s
# Warmup Iteration 14: 77.848 ops/s
# Warmup Iteration 15: 59.009 ops/s
# Warmup Iteration 16: 67.567 ops/s
# Warmup Iteration 17: 73.554 ops/s
# Warmup Iteration 18: 80.533 ops/s
# Warmup Iteration 19: 73.530 ops/s
# Warmup Iteration 20: 80.248 ops/s
Iteration 1: 80.638 ops/s
Iteration 2: 75.215 ops/s
Iteration 3: 65.867 ops/s
Iteration 4: 80.575 ops/s
Iteration 5: 74.939 ops/s
Iteration 6: 81.197 ops/s
Iteration 7: 71.454 ops/s
Iteration 8: 75.872 ops/s
Iteration 9: 60.863 ops/s
Iteration 10: 76.690 ops/s
Iteration 11: 71.076 ops/s
Iteration 12: 55.920 ops/s
Iteration 13: 74.967 ops/s
Iteration 14: 69.851 ops/s
Iteration 15: 68.260 ops/s
Iteration 16: 75.987 ops/s
Iteration 17: 81.022 ops/s
Iteration 18: 78.934 ops/s
Iteration 19: 81.310 ops/s
Iteration 20: 81.163 ops/s
# Run progress: 48.57% complete, ETA 00:24:18
# Fork: 5 of 10
# Warmup Iteration 1: 68.753 ops/s
# Warmup Iteration 2: 78.166 ops/s
# Warmup Iteration 3: 77.786 ops/s
# Warmup Iteration 4: 81.124 ops/s
# Warmup Iteration 5: 81.180 ops/s
# Warmup Iteration 6: 79.938 ops/s
# Warmup Iteration 7: 79.367 ops/s
# Warmup Iteration 8: 80.471 ops/s
# Warmup Iteration 9: 80.548 ops/s
# Warmup Iteration 10: 80.629 ops/s
# Warmup Iteration 11: 81.250 ops/s
# Warmup Iteration 12: 81.093 ops/s
# Warmup Iteration 13: 81.089 ops/s
# Warmup Iteration 14: 74.420 ops/s
# Warmup Iteration 15: 65.562 ops/s
# Warmup Iteration 16: 73.984 ops/s
# Warmup Iteration 17: 74.278 ops/s
# Warmup Iteration 18: 81.273 ops/s
# Warmup Iteration 19: 60.259 ops/s
# Warmup Iteration 20: 74.120 ops/s
Iteration 1: 74.756 ops/s
Iteration 2: 73.887 ops/s
Iteration 3: 72.870 ops/s
Iteration 4: 79.131 ops/s
Iteration 5: 73.858 ops/s
Iteration 6: 74.232 ops/s
Iteration 7: 74.924 ops/s
Iteration 8: 68.068 ops/s
Iteration 9: 69.183 ops/s
Iteration 10: 69.207 ops/s
Iteration 11: 76.312 ops/s
Iteration 12: 63.625 ops/s
Iteration 13: 62.838 ops/s
Iteration 14: 67.481 ops/s
Iteration 15: 66.432 ops/s
Iteration 16: 67.256 ops/s
Iteration 17: 77.913 ops/s
Iteration 18: 80.662 ops/s
Iteration 19: 81.058 ops/s
Iteration 20: 77.782 ops/s
# Run progress: 50.00% complete, ETA 00:23:38
# Fork: 6 of 10
# Warmup Iteration 1: 66.716 ops/s
# Warmup Iteration 2: 77.527 ops/s
# Warmup Iteration 3: 79.254 ops/s
# Warmup Iteration 4: 76.960 ops/s
# Warmup Iteration 5: 77.846 ops/s
# Warmup Iteration 6: 81.019 ops/s
# Warmup Iteration 7: 74.122 ops/s
# Warmup Iteration 8: 81.204 ops/s
# Warmup Iteration 9: 81.188 ops/s
# Warmup Iteration 10: 81.052 ops/s
# Warmup Iteration 11: 81.447 ops/s
# Warmup Iteration 12: 66.540 ops/s
# Warmup Iteration 13: 79.855 ops/s
# Warmup Iteration 14: 74.073 ops/s
# Warmup Iteration 15: 67.291 ops/s
# Warmup Iteration 16: 73.806 ops/s
# Warmup Iteration 17: 70.431 ops/s
# Warmup Iteration 18: 69.614 ops/s
# Warmup Iteration 19: 64.979 ops/s
# Warmup Iteration 20: 80.451 ops/s
Iteration 1: 80.360 ops/s
Iteration 2: 80.647 ops/s
Iteration 3: 79.663 ops/s
Iteration 4: 74.885 ops/s
Iteration 5: 76.598 ops/s
Iteration 6: 73.787 ops/s
Iteration 7: 78.695 ops/s
Iteration 8: 81.380 ops/s
Iteration 9: 81.175 ops/s
Iteration 10: 81.359 ops/s
Iteration 11: 81.263 ops/s
Iteration 12: 69.816 ops/s
Iteration 13: 74.704 ops/s
Iteration 14: 81.307 ops/s
Iteration 15: 80.984 ops/s
Iteration 16: 80.865 ops/s
Iteration 17: 77.579 ops/s
Iteration 18: 73.589 ops/s
Iteration 19: 80.038 ops/s
Iteration 20: 80.923 ops/s
# Run progress: 51.43% complete, ETA 00:22:58
# Fork: 7 of 10
# Warmup Iteration 1: 70.286 ops/s
# Warmup Iteration 2: 78.956 ops/s
# Warmup Iteration 3: 79.857 ops/s
# Warmup Iteration 4: 81.682 ops/s
# Warmup Iteration 5: 81.627 ops/s
# Warmup Iteration 6: 81.935 ops/s
# Warmup Iteration 7: 81.932 ops/s
# Warmup Iteration 8: 81.930 ops/s
# Warmup Iteration 9: 82.119 ops/s
# Warmup Iteration 10: 81.229 ops/s
# Warmup Iteration 11: 79.443 ops/s
# Warmup Iteration 12: 81.858 ops/s
# Warmup Iteration 13: 70.617 ops/s
# Warmup Iteration 14: 78.120 ops/s
# Warmup Iteration 15: 80.137 ops/s
# Warmup Iteration 16: 81.541 ops/s
# Warmup Iteration 17: 77.817 ops/s
# Warmup Iteration 18: 81.641 ops/s
# Warmup Iteration 19: 81.719 ops/s
# Warmup Iteration 20: 79.223 ops/s
Iteration 1: 77.358 ops/s
Iteration 2: 70.643 ops/s
Iteration 3: 73.240 ops/s
Iteration 4: 62.692 ops/s
Iteration 5: 67.489 ops/s
Iteration 6: 68.767 ops/s
Iteration 7: 79.399 ops/s
Iteration 8: 81.066 ops/s
Iteration 9: 75.596 ops/s
Iteration 10: 71.462 ops/s
Iteration 11: 75.135 ops/s
Iteration 12: 81.886 ops/s
Iteration 13: 68.502 ops/s
Iteration 14: 75.143 ops/s
Iteration 15: 74.362 ops/s
Iteration 16: 67.587 ops/s
Iteration 17: 75.101 ops/s
Iteration 18: 74.930 ops/s
Iteration 19: 74.506 ops/s
Iteration 20: 80.959 ops/s
# Run progress: 52.86% complete, ETA 00:22:17
# Fork: 8 of 10
# Warmup Iteration 1: 61.875 ops/s
# Warmup Iteration 2: 72.507 ops/s
# Warmup Iteration 3: 73.873 ops/s
# Warmup Iteration 4: 74.930 ops/s
# Warmup Iteration 5: 80.954 ops/s
# Warmup Iteration 6: 80.792 ops/s
# Warmup Iteration 7: 80.865 ops/s
# Warmup Iteration 8: 81.261 ops/s
# Warmup Iteration 9: 81.277 ops/s
# Warmup Iteration 10: 81.189 ops/s
# Warmup Iteration 11: 81.359 ops/s
# Warmup Iteration 12: 77.432 ops/s
# Warmup Iteration 13: 76.350 ops/s
# Warmup Iteration 14: 77.179 ops/s
# Warmup Iteration 15: 80.860 ops/s
# Warmup Iteration 16: 80.930 ops/s
# Warmup Iteration 17: 78.734 ops/s
# Warmup Iteration 18: 80.108 ops/s
# Warmup Iteration 19: 73.604 ops/s
# Warmup Iteration 20: 55.259 ops/s
Iteration 1: 59.298 ops/s
Iteration 2: 64.807 ops/s
Iteration 3: 73.181 ops/s
Iteration 4: 76.076 ops/s
Iteration 5: 78.960 ops/s
Iteration 6: 80.059 ops/s
Iteration 7: 71.494 ops/s
Iteration 8: 77.862 ops/s
Iteration 9: 79.056 ops/s
Iteration 10: 68.738 ops/s
Iteration 11: 77.441 ops/s
Iteration 12: 76.315 ops/s
Iteration 13: 75.209 ops/s
Iteration 14: 75.730 ops/s
Iteration 15: 79.474 ops/s
Iteration 16: 80.605 ops/s
Iteration 17: 80.614 ops/s
Iteration 18: 68.391 ops/s
Iteration 19: 75.320 ops/s
Iteration 20: 78.580 ops/s
# Run progress: 54.29% complete, ETA 00:21:37
# Fork: 9 of 10
# Warmup Iteration 1: 67.306 ops/s
# Warmup Iteration 2: 78.152 ops/s
# Warmup Iteration 3: 78.878 ops/s
# Warmup Iteration 4: 77.722 ops/s
# Warmup Iteration 5: 79.594 ops/s
# Warmup Iteration 6: 80.966 ops/s
# Warmup Iteration 7: 80.471 ops/s
# Warmup Iteration 8: 74.428 ops/s
# Warmup Iteration 9: 75.523 ops/s
# Warmup Iteration 10: 80.841 ops/s
# Warmup Iteration 11: 76.584 ops/s
# Warmup Iteration 12: 80.792 ops/s
# Warmup Iteration 13: 78.546 ops/s
# Warmup Iteration 14: 80.794 ops/s
# Warmup Iteration 15: 80.216 ops/s
# Warmup Iteration 16: 80.602 ops/s
# Warmup Iteration 17: 76.107 ops/s
# Warmup Iteration 18: 75.602 ops/s
# Warmup Iteration 19: 71.331 ops/s
# Warmup Iteration 20: 76.075 ops/s
Iteration 1: 79.841 ops/s
Iteration 2: 71.287 ops/s
Iteration 3: 79.460 ops/s
Iteration 4: 79.360 ops/s
Iteration 5: 72.748 ops/s
Iteration 6: 80.782 ops/s
Iteration 7: 75.109 ops/s
Iteration 8: 78.815 ops/s
Iteration 9: 80.925 ops/s
Iteration 10: 76.531 ops/s
Iteration 11: 76.775 ops/s
Iteration 12: 80.844 ops/s
Iteration 13: 73.846 ops/s
Iteration 14: 71.168 ops/s
Iteration 15: 71.082 ops/s
Iteration 16: 78.048 ops/s
Iteration 17: 80.565 ops/s
Iteration 18: 80.693 ops/s
Iteration 19: 80.399 ops/s
Iteration 20: 70.648 ops/s
# Run progress: 55.71% complete, ETA 00:20:56
# Fork: 10 of 10
# Warmup Iteration 1: 68.321 ops/s
# Warmup Iteration 2: 74.829 ops/s
# Warmup Iteration 3: 72.453 ops/s
# Warmup Iteration 4: 78.108 ops/s
# Warmup Iteration 5: 78.946 ops/s
# Warmup Iteration 6: 81.153 ops/s
# Warmup Iteration 7: 80.941 ops/s
# Warmup Iteration 8: 78.629 ops/s
# Warmup Iteration 9: 81.498 ops/s
# Warmup Iteration 10: 76.242 ops/s
# Warmup Iteration 11: 76.556 ops/s
# Warmup Iteration 12: 81.262 ops/s
# Warmup Iteration 13: 81.095 ops/s
# Warmup Iteration 14: 81.115 ops/s
# Warmup Iteration 15: 80.664 ops/s
# Warmup Iteration 16: 78.003 ops/s
# Warmup Iteration 17: 79.485 ops/s
# Warmup Iteration 18: 74.044 ops/s
# Warmup Iteration 19: 67.438 ops/s
# Warmup Iteration 20: 77.105 ops/s
Iteration 1: 77.546 ops/s
Iteration 2: 75.811 ops/s
Iteration 3: 80.571 ops/s
Iteration 4: 67.210 ops/s
Iteration 5: 66.309 ops/s
Iteration 6: 71.108 ops/s
Iteration 7: 80.883 ops/s
Iteration 8: 81.059 ops/s
Iteration 9: 80.793 ops/s
Iteration 10: 75.766 ops/s
Iteration 11: 73.587 ops/s
Iteration 12: 70.057 ops/s
Iteration 13: 78.141 ops/s
Iteration 14: 60.383 ops/s
Iteration 15: 71.114 ops/s
Iteration 16: 55.737 ops/s
Iteration 17: 66.932 ops/s
Iteration 18: 73.170 ops/s
Iteration 19: 80.776 ops/s
Iteration 20: 81.430 ops/s
Result "testScannerString":
75.690 ±(99.9%) 1.279 ops/s [Average]
(min, avg, max) = (55.737, 75.690, 81.886), stdev = 5.415
CI (99.9%): [74.411, 76.969] (assumes normal distribution)
# JMH 1.11.2 (released 39 days ago)
# VM version: JDK 1.8.0_66, VM 25.66-b17
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.boris.benchmark.MyBenchmark.testSplit
# Run progress: 57.14% complete, ETA 00:20:16
# Fork: 1 of 10
# Warmup Iteration 1: 325.827 ops/s
# Warmup Iteration 2: 357.281 ops/s
# Warmup Iteration 3: 375.390 ops/s
# Warmup Iteration 4: 376.412 ops/s
# Warmup Iteration 5: 376.735 ops/s
# Warmup Iteration 6: 372.006 ops/s
# Warmup Iteration 7: 377.649 ops/s
# Warmup Iteration 8: 362.261 ops/s
# Warmup Iteration 9: 325.815 ops/s
# Warmup Iteration 10: 359.253 ops/s
# Warmup Iteration 11: 336.897 ops/s
# Warmup Iteration 12: 355.352 ops/s
# Warmup Iteration 13: 344.060 ops/s
# Warmup Iteration 14: 347.110 ops/s
# Warmup Iteration 15: 323.763 ops/s
# Warmup Iteration 16: 349.713 ops/s
# Warmup Iteration 17: 350.861 ops/s
# Warmup Iteration 18: 376.478 ops/s
# Warmup Iteration 19: 378.439 ops/s
# Warmup Iteration 20: 376.889 ops/s
Iteration 1: 345.698 ops/s
Iteration 2: 357.380 ops/s
Iteration 3: 375.577 ops/s
Iteration 4: 375.363 ops/s
Iteration 5: 329.764 ops/s
Iteration 6: 353.291 ops/s
Iteration 7: 366.029 ops/s
Iteration 8: 329.756 ops/s
Iteration 9: 357.736 ops/s
Iteration 10: 376.989 ops/s
Iteration 11: 345.455 ops/s
Iteration 12: 378.635 ops/s
Iteration 13: 366.149 ops/s
Iteration 14: 376.324 ops/s
Iteration 15: 375.262 ops/s
Iteration 16: 346.933 ops/s
Iteration 17: 365.210 ops/s
Iteration 18: 355.993 ops/s
Iteration 19: 350.970 ops/s
Iteration 20: 362.884 ops/s
# Run progress: 58.57% complete, ETA 00:19:35
# Fork: 2 of 10
# Warmup Iteration 1: 303.722 ops/s
# Warmup Iteration 2: 341.325 ops/s
# Warmup Iteration 3: 356.428 ops/s
# Warmup Iteration 4: 369.613 ops/s
# Warmup Iteration 5: 360.390 ops/s
# Warmup Iteration 6: 345.970 ops/s
# Warmup Iteration 7: 370.139 ops/s
# Warmup Iteration 8: 370.947 ops/s
# Warmup Iteration 9: 370.350 ops/s
# Warmup Iteration 10: 376.073 ops/s
# Warmup Iteration 11: 352.757 ops/s
# Warmup Iteration 12: 312.919 ops/s
# Warmup Iteration 13: 340.623 ops/s
# Warmup Iteration 14: 347.248 ops/s
# Warmup Iteration 15: 336.294 ops/s
# Warmup Iteration 16: 375.060 ops/s
# Warmup Iteration 17: 366.447 ops/s
# Warmup Iteration 18: 367.882 ops/s
# Warmup Iteration 19: 362.901 ops/s
# Warmup Iteration 20: 345.398 ops/s
Iteration 1: 374.656 ops/s
Iteration 2: 376.072 ops/s
Iteration 3: 368.301 ops/s
Iteration 4: 376.661 ops/s
Iteration 5: 374.728 ops/s
Iteration 6: 377.690 ops/s
Iteration 7: 358.449 ops/s
Iteration 8: 376.239 ops/s
Iteration 9: 348.016 ops/s
Iteration 10: 370.427 ops/s
Iteration 11: 315.136 ops/s
Iteration 12: 376.692 ops/s
Iteration 13: 357.072 ops/s
Iteration 14: 299.192 ops/s
Iteration 15: 376.634 ops/s
Iteration 16: 343.595 ops/s
Iteration 17: 375.599 ops/s
Iteration 18: 348.349 ops/s
Iteration 19: 342.515 ops/s
Iteration 20: 366.863 ops/s
# Run progress: 60.00% complete, ETA 00:18:54
# Fork: 3 of 10
# Warmup Iteration 1: 315.471 ops/s
# Warmup Iteration 2: 355.123 ops/s
# Warmup Iteration 3: 350.900 ops/s
# Warmup Iteration 4: 373.603 ops/s
# Warmup Iteration 5: 334.754 ops/s
# Warmup Iteration 6: 346.079 ops/s
# Warmup Iteration 7: 375.480 ops/s
# Warmup Iteration 8: 341.069 ops/s
# Warmup Iteration 9: 377.121 ops/s
# Warmup Iteration 10: 348.764 ops/s
# Warmup Iteration 11: 362.505 ops/s
# Warmup Iteration 12: 371.634 ops/s
# Warmup Iteration 13: 374.716 ops/s
# Warmup Iteration 14: 340.699 ops/s
# Warmup Iteration 15: 338.775 ops/s
# Warmup Iteration 16: 341.658 ops/s
# Warmup Iteration 17: 350.841 ops/s
# Warmup Iteration 18: 343.416 ops/s
# Warmup Iteration 19: 363.025 ops/s
# Warmup Iteration 20: 368.378 ops/s
Iteration 1: 352.905 ops/s
Iteration 2: 307.247 ops/s
Iteration 3: 357.554 ops/s
Iteration 4: 373.119 ops/s
Iteration 5: 363.818 ops/s
Iteration 6: 355.188 ops/s
Iteration 7: 329.753 ops/s
Iteration 8: 352.161 ops/s
Iteration 9: 343.895 ops/s
Iteration 10: 376.280 ops/s
Iteration 11: 376.014 ops/s
Iteration 12: 336.357 ops/s
Iteration 13: 361.389 ops/s
Iteration 14: 346.906 ops/s
Iteration 15: 367.382 ops/s
Iteration 16: 373.940 ops/s
Iteration 17: 377.041 ops/s
Iteration 18: 370.823 ops/s
Iteration 19: 368.628 ops/s
Iteration 20: 372.778 ops/s
# Run progress: 61.43% complete, ETA 00:18:14
# Fork: 4 of 10
# Warmup Iteration 1: 320.248 ops/s
# Warmup Iteration 2: 355.881 ops/s
# Warmup Iteration 3: 336.214 ops/s
# Warmup Iteration 4: 379.247 ops/s
# Warmup Iteration 5: 377.373 ops/s
# Warmup Iteration 6: 348.555 ops/s
# Warmup Iteration 7: 372.564 ops/s
# Warmup Iteration 8: 376.889 ops/s
# Warmup Iteration 9: 379.298 ops/s
# Warmup Iteration 10: 347.287 ops/s
# Warmup Iteration 11: 368.846 ops/s
# Warmup Iteration 12: 370.320 ops/s
# Warmup Iteration 13: 362.226 ops/s
# Warmup Iteration 14: 359.278 ops/s
# Warmup Iteration 15: 365.177 ops/s
# Warmup Iteration 16: 369.112 ops/s
# Warmup Iteration 17: 361.926 ops/s
# Warmup Iteration 18: 364.691 ops/s
# Warmup Iteration 19: 349.450 ops/s
# Warmup Iteration 20: 380.571 ops/s
Iteration 1: 379.171 ops/s
Iteration 2: 346.072 ops/s
Iteration 3: 359.363 ops/s
Iteration 4: 353.069 ops/s
Iteration 5: 372.562 ops/s
Iteration 6: 379.254 ops/s
Iteration 7: 336.275 ops/s
Iteration 8: 341.302 ops/s
Iteration 9: 352.432 ops/s
Iteration 10: 377.361 ops/s
Iteration 11: 375.554 ops/s
Iteration 12: 322.960 ops/s
Iteration 13: 373.503 ops/s
Iteration 14: 332.106 ops/s
Iteration 15: 356.523 ops/s
Iteration 16: 346.954 ops/s
Iteration 17: 360.702 ops/s
Iteration 18: 368.829 ops/s
Iteration 19: 365.256 ops/s
Iteration 20: 353.498 ops/s
# Run progress: 62.86% complete, ETA 00:17:33
# Fork: 5 of 10
# Warmup Iteration 1: 283.435 ops/s
# Warmup Iteration 2: 331.492 ops/s
# Warmup Iteration 3: 343.126 ops/s
# Warmup Iteration 4: 377.591 ops/s
# Warmup Iteration 5: 344.770 ops/s
# Warmup Iteration 6: 349.148 ops/s
# Warmup Iteration 7: 374.371 ops/s
# Warmup Iteration 8: 375.407 ops/s
# Warmup Iteration 9: 377.103 ops/s
# Warmup Iteration 10: 375.295 ops/s
# Warmup Iteration 11: 347.159 ops/s
# Warmup Iteration 12: 365.479 ops/s
# Warmup Iteration 13: 358.054 ops/s
# Warmup Iteration 14: 373.253 ops/s
# Warmup Iteration 15: 356.309 ops/s
# Warmup Iteration 16: 343.474 ops/s
# Warmup Iteration 17: 322.948 ops/s
# Warmup Iteration 18: 353.921 ops/s
# Warmup Iteration 19: 345.112 ops/s
# Warmup Iteration 20: 346.930 ops/s
Iteration 1: 366.333 ops/s
Iteration 2: 372.129 ops/s
Iteration 3: 347.607 ops/s
Iteration 4: 362.322 ops/s
Iteration 5: 376.044 ops/s
Iteration 6: 376.963 ops/s
Iteration 7: 375.264 ops/s
Iteration 8: 378.362 ops/s
Iteration 9: 345.855 ops/s
Iteration 10: 344.232 ops/s
Iteration 11: 372.606 ops/s
Iteration 12: 376.177 ops/s
Iteration 13: 374.079 ops/s
Iteration 14: 377.349 ops/s
Iteration 15: 376.268 ops/s
Iteration 16: 366.271 ops/s
Iteration 17: 372.200 ops/s
Iteration 18: 359.478 ops/s
Iteration 19: 357.475 ops/s
Iteration 20: 352.057 ops/s
# Run progress: 64.29% complete, ETA 00:16:52
# Fork: 6 of 10
# Warmup Iteration 1: 306.237 ops/s
# Warmup Iteration 2: 349.901 ops/s
# Warmup Iteration 3: 363.341 ops/s
# Warmup Iteration 4: 361.526 ops/s
# Warmup Iteration 5: 353.847 ops/s
# Warmup Iteration 6: 374.116 ops/s
# Warmup Iteration 7: 346.194 ops/s
# Warmup Iteration 8: 374.652 ops/s
# Warmup Iteration 9: 351.430 ops/s
# Warmup Iteration 10: 347.406 ops/s
# Warmup Iteration 11: 349.069 ops/s
# Warmup Iteration 12: 377.427 ops/s
# Warmup Iteration 13: 377.991 ops/s
# Warmup Iteration 14: 377.467 ops/s
# Warmup Iteration 15: 346.648 ops/s
# Warmup Iteration 16: 357.774 ops/s
# Warmup Iteration 17: 348.867 ops/s
# Warmup Iteration 18: 349.654 ops/s
# Warmup Iteration 19: 362.382 ops/s
# Warmup Iteration 20: 364.429 ops/s
Iteration 1: 360.100 ops/s
Iteration 2: 374.355 ops/s
Iteration 3: 372.622 ops/s
Iteration 4: 377.121 ops/s
Iteration 5: 377.933 ops/s
Iteration 6: 374.876 ops/s
Iteration 7: 378.754 ops/s
Iteration 8: 375.462 ops/s
Iteration 9: 378.040 ops/s
Iteration 10: 375.469 ops/s
Iteration 11: 379.413 ops/s
Iteration 12: 378.222 ops/s
Iteration 13: 378.998 ops/s
Iteration 14: 377.168 ops/s
Iteration 15: 372.840 ops/s
Iteration 16: 320.400 ops/s
Iteration 17: 344.419 ops/s
Iteration 18: 346.652 ops/s
Iteration 19: 372.750 ops/s
Iteration 20: 346.788 ops/s
# Run progress: 65.71% complete, ETA 00:16:12
# Fork: 7 of 10
# Warmup Iteration 1: 326.792 ops/s
# Warmup Iteration 2: 352.608 ops/s
# Warmup Iteration 3: 376.652 ops/s
# Warmup Iteration 4: 346.290 ops/s
# Warmup Iteration 5: 333.240 ops/s
# Warmup Iteration 6: 315.460 ops/s
# Warmup Iteration 7: 332.857 ops/s
# Warmup Iteration 8: 373.082 ops/s
# Warmup Iteration 9: 359.162 ops/s
# Warmup Iteration 10: 329.167 ops/s
# Warmup Iteration 11: 304.204 ops/s
# Warmup Iteration 12: 363.368 ops/s
# Warmup Iteration 13: 309.256 ops/s
# Warmup Iteration 14: 323.544 ops/s
# Warmup Iteration 15: 377.087 ops/s
# Warmup Iteration 16: 319.761 ops/s
# Warmup Iteration 17: 350.278 ops/s
# Warmup Iteration 18: 376.173 ops/s
# Warmup Iteration 19: 372.153 ops/s
# Warmup Iteration 20: 359.722 ops/s
Iteration 1: 354.603 ops/s
Iteration 2: 360.991 ops/s
Iteration 3: 331.836 ops/s
Iteration 4: 351.098 ops/s
Iteration 5: 372.591 ops/s
Iteration 6: 375.885 ops/s
Iteration 7: 366.093 ops/s
Iteration 8: 372.782 ops/s
Iteration 9: 375.209 ops/s
Iteration 10: 377.294 ops/s
Iteration 11: 371.260 ops/s
Iteration 12: 365.153 ops/s
Iteration 13: 316.097 ops/s
Iteration 14: 333.232 ops/s
Iteration 15: 369.718 ops/s
Iteration 16: 371.943 ops/s
Iteration 17: 372.818 ops/s
Iteration 18: 366.828 ops/s
Iteration 19: 335.848 ops/s
Iteration 20: 361.426 ops/s
# Run progress: 67.14% complete, ETA 00:15:31
# Fork: 8 of 10
# Warmup Iteration 1: 279.324 ops/s
# Warmup Iteration 2: 333.505 ops/s
# Warmup Iteration 3: 372.787 ops/s
# Warmup Iteration 4: 378.042 ops/s
# Warmup Iteration 5: 378.968 ops/s
# Warmup Iteration 6: 359.278 ops/s
# Warmup Iteration 7: 352.244 ops/s
# Warmup Iteration 8: 368.007 ops/s
# Warmup Iteration 9: 336.417 ops/s
# Warmup Iteration 10: 322.128 ops/s
# Warmup Iteration 11: 356.179 ops/s
# Warmup Iteration 12: 371.689 ops/s
# Warmup Iteration 13: 354.622 ops/s
# Warmup Iteration 14: 355.325 ops/s
# Warmup Iteration 15: 376.037 ops/s
# Warmup Iteration 16: 376.286 ops/s
# Warmup Iteration 17: 359.455 ops/s
# Warmup Iteration 18: 376.756 ops/s
# Warmup Iteration 19: 378.302 ops/s
# Warmup Iteration 20: 376.707 ops/s
Iteration 1: 376.301 ops/s
Iteration 2: 355.379 ops/s
Iteration 3: 377.416 ops/s
Iteration 4: 378.421 ops/s
Iteration 5: 376.443 ops/s
Iteration 6: 365.354 ops/s
Iteration 7: 344.580 ops/s
Iteration 8: 345.147 ops/s
Iteration 9: 359.493 ops/s
Iteration 10: 357.669 ops/s
Iteration 11: 376.652 ops/s
Iteration 12: 378.566 ops/s
Iteration 13: 376.140 ops/s
Iteration 14: 366.306 ops/s
Iteration 15: 358.550 ops/s
Iteration 16: 327.813 ops/s
Iteration 17: 349.739 ops/s
Iteration 18: 349.963 ops/s
Iteration 19: 347.591 ops/s
Iteration 20: 377.796 ops/s
# Run progress: 68.57% complete, ETA 00:14:51
# Fork: 9 of 10
# Warmup Iteration 1: 325.929 ops/s
# Warmup Iteration 2: 334.743 ops/s
# Warmup Iteration 3: 358.768 ops/s
# Warmup Iteration 4: 371.460 ops/s
# Warmup Iteration 5: 376.214 ops/s
# Warmup Iteration 6: 350.780 ops/s
# Warmup Iteration 7: 377.781 ops/s
# Warmup Iteration 8: 348.053 ops/s
# Warmup Iteration 9: 330.804 ops/s
# Warmup Iteration 10: 371.956 ops/s
# Warmup Iteration 11: 373.076 ops/s
# Warmup Iteration 12: 348.136 ops/s
# Warmup Iteration 13: 357.513 ops/s
# Warmup Iteration 14: 377.559 ops/s
# Warmup Iteration 15: 367.763 ops/s
# Warmup Iteration 16: 340.203 ops/s
# Warmup Iteration 17: 327.899 ops/s
# Warmup Iteration 18: 334.316 ops/s
# Warmup Iteration 19: 378.110 ops/s
# Warmup Iteration 20: 343.428 ops/s
Iteration 1: 377.505 ops/s
Iteration 2: 375.630 ops/s
Iteration 3: 366.320 ops/s
Iteration 4: 376.052 ops/s
Iteration 5: 354.385 ops/s
Iteration 6: 355.726 ops/s
Iteration 7: 350.264 ops/s
Iteration 8: 377.350 ops/s
Iteration 9: 346.253 ops/s
Iteration 10: 360.263 ops/s
Iteration 11: 345.869 ops/s
Iteration 12: 345.185 ops/s
Iteration 13: 307.211 ops/s
Iteration 14: 363.658 ops/s
Iteration 15: 378.123 ops/s
Iteration 16: 369.110 ops/s
Iteration 17: 373.742 ops/s
Iteration 18: 332.487 ops/s
Iteration 19: 316.917 ops/s
Iteration 20: 318.173 ops/s
# Run progress: 70.00% complete, ETA 00:14:10
# Fork: 10 of 10
# Warmup Iteration 1: 288.587 ops/s
# Warmup Iteration 2: 357.650 ops/s
# Warmup Iteration 3: 354.447 ops/s
# Warmup Iteration 4: 370.586 ops/s
# Warmup Iteration 5: 365.395 ops/s
# Warmup Iteration 6: 364.501 ops/s
# Warmup Iteration 7: 371.144 ops/s
# Warmup Iteration 8: 375.191 ops/s
# Warmup Iteration 9: 321.619 ops/s
# Warmup Iteration 10: 347.543 ops/s
# Warmup Iteration 11: 375.660 ops/s
# Warmup Iteration 12: 374.058 ops/s
# Warmup Iteration 13: 366.695 ops/s
# Warmup Iteration 14: 361.932 ops/s
# Warmup Iteration 15: 375.187 ops/s
# Warmup Iteration 16: 341.828 ops/s
# Warmup Iteration 17: 316.475 ops/s
# Warmup Iteration 18: 329.280 ops/s
# Warmup Iteration 19: 344.673 ops/s
# Warmup Iteration 20: 363.766 ops/s
Iteration 1: 359.496 ops/s
Iteration 2: 365.543 ops/s
Iteration 3: 367.402 ops/s
Iteration 4: 367.457 ops/s
Iteration 5: 342.839 ops/s
Iteration 6: 341.372 ops/s
Iteration 7: 347.229 ops/s
Iteration 8: 343.776 ops/s
Iteration 9: 330.694 ops/s
Iteration 10: 357.011 ops/s
Iteration 11: 355.206 ops/s
Iteration 12: 362.758 ops/s
Iteration 13: 341.069 ops/s
Iteration 14: 335.091 ops/s
Iteration 15: 268.874 ops/s
Iteration 16: 332.414 ops/s
Iteration 17: 329.390 ops/s
Iteration 18: 282.848 ops/s
Iteration 19: 307.825 ops/s
Iteration 20: 292.971 ops/s
Result "testSplit":
358.356 ±(99.9%) 4.745 ops/s [Average]
(min, avg, max) = (268.874, 358.356, 379.413), stdev = 20.092
CI (99.9%): [353.611, 363.101] (assumes normal distribution)
# JMH 1.11.2 (released 39 days ago)
# VM version: JDK 1.8.0_66, VM 25.66-b17
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.boris.benchmark.MyBenchmark.testSplitAsStream
# Run progress: 71.43% complete, ETA 00:13:30
# Fork: 1 of 10
# Warmup Iteration 1: 324.031 ops/s
# Warmup Iteration 2: 295.752 ops/s
# Warmup Iteration 3: 319.556 ops/s
# Warmup Iteration 4: 366.826 ops/s
# Warmup Iteration 5: 314.427 ops/s
# Warmup Iteration 6: 288.253 ops/s
# Warmup Iteration 7: 356.432 ops/s
# Warmup Iteration 8: 282.936 ops/s
# Warmup Iteration 9: 333.275 ops/s
# Warmup Iteration 10: 320.593 ops/s
# Warmup Iteration 11: 340.843 ops/s
# Warmup Iteration 12: 350.072 ops/s
# Warmup Iteration 13: 309.281 ops/s
# Warmup Iteration 14: 295.602 ops/s
# Warmup Iteration 15: 332.796 ops/s
# Warmup Iteration 16: 300.039 ops/s
# Warmup Iteration 17: 321.926 ops/s
# Warmup Iteration 18: 349.095 ops/s
# Warmup Iteration 19: 295.275 ops/s
# Warmup Iteration 20: 301.411 ops/s
Iteration 1: 277.614 ops/s
Iteration 2: 297.854 ops/s
Iteration 3: 314.960 ops/s
Iteration 4: 296.473 ops/s
Iteration 5: 290.791 ops/s
Iteration 6: 293.237 ops/s
Iteration 7: 259.606 ops/s
Iteration 8: 342.202 ops/s
Iteration 9: 298.946 ops/s
Iteration 10: 309.618 ops/s
Iteration 11: 328.542 ops/s
Iteration 12: 289.348 ops/s
Iteration 13: 328.775 ops/s
Iteration 14: 317.989 ops/s
Iteration 15: 363.116 ops/s
Iteration 16: 307.261 ops/s
Iteration 17: 354.488 ops/s
Iteration 18: 341.759 ops/s
Iteration 19: 342.798 ops/s
Iteration 20: 311.406 ops/s
# Run progress: 72.86% complete, ETA 00:12:49
# Fork: 2 of 10
# Warmup Iteration 1: 270.680 ops/s
# Warmup Iteration 2: 301.378 ops/s
# Warmup Iteration 3: 285.949 ops/s
# Warmup Iteration 4: 347.226 ops/s
# Warmup Iteration 5: 327.524 ops/s
# Warmup Iteration 6: 293.201 ops/s
# Warmup Iteration 7: 369.145 ops/s
# Warmup Iteration 8: 358.695 ops/s
# Warmup Iteration 9: 318.074 ops/s
# Warmup Iteration 10: 340.771 ops/s
# Warmup Iteration 11: 298.910 ops/s
# Warmup Iteration 12: 287.618 ops/s
# Warmup Iteration 13: 302.564 ops/s
# Warmup Iteration 14: 320.927 ops/s
# Warmup Iteration 15: 284.586 ops/s
# Warmup Iteration 16: 344.757 ops/s
# Warmup Iteration 17: 353.752 ops/s
# Warmup Iteration 18: 348.830 ops/s
# Warmup Iteration 19: 343.255 ops/s
# Warmup Iteration 20: 354.031 ops/s
Iteration 1: 268.330 ops/s
Iteration 2: 317.334 ops/s
Iteration 3: 321.662 ops/s
Iteration 4: 328.325 ops/s
Iteration 5: 364.106 ops/s
Iteration 6: 362.857 ops/s
Iteration 7: 320.617 ops/s
Iteration 8: 356.547 ops/s
Iteration 9: 349.773 ops/s
Iteration 10: 348.469 ops/s
Iteration 11: 288.732 ops/s
Iteration 12: 336.336 ops/s
Iteration 13: 308.616 ops/s
Iteration 14: 367.985 ops/s
Iteration 15: 336.219 ops/s
Iteration 16: 283.672 ops/s
Iteration 17: 331.437 ops/s
Iteration 18: 363.209 ops/s
Iteration 19: 316.465 ops/s
Iteration 20: 333.551 ops/s
# Run progress: 74.29% complete, ETA 00:12:09
# Fork: 3 of 10
# Warmup Iteration 1: 254.311 ops/s
# Warmup Iteration 2: 242.451 ops/s
# Warmup Iteration 3: 267.614 ops/s
# Warmup Iteration 4: 342.448 ops/s
# Warmup Iteration 5: 344.518 ops/s
# Warmup Iteration 6: 342.586 ops/s
# Warmup Iteration 7: 363.031 ops/s
# Warmup Iteration 8: 286.602 ops/s
# Warmup Iteration 9: 304.762 ops/s
# Warmup Iteration 10: 336.374 ops/s
# Warmup Iteration 11: 344.545 ops/s
# Warmup Iteration 12: 267.939 ops/s
# Warmup Iteration 13: 345.728 ops/s
# Warmup Iteration 14: 297.894 ops/s
# Warmup Iteration 15: 300.342 ops/s
# Warmup Iteration 16: 369.409 ops/s
# Warmup Iteration 17: 359.992 ops/s
# Warmup Iteration 18: 317.868 ops/s
# Warmup Iteration 19: 354.733 ops/s
# Warmup Iteration 20: 361.570 ops/s
Iteration 1: 325.390 ops/s
Iteration 2: 368.473 ops/s
Iteration 3: 273.883 ops/s
Iteration 4: 360.414 ops/s
Iteration 5: 362.437 ops/s
Iteration 6: 286.487 ops/s
Iteration 7: 353.555 ops/s
Iteration 8: 357.772 ops/s
Iteration 9: 352.042 ops/s
Iteration 10: 308.180 ops/s
Iteration 11: 349.656 ops/s
Iteration 12: 368.122 ops/s
Iteration 13: 302.536 ops/s
Iteration 14: 326.442 ops/s
Iteration 15: 356.444 ops/s
Iteration 16: 295.853 ops/s
Iteration 17: 296.281 ops/s
Iteration 18: 348.886 ops/s
Iteration 19: 355.091 ops/s
Iteration 20: 306.840 ops/s
# Run progress: 75.71% complete, ETA 00:11:28
# Fork: 4 of 10
# Warmup Iteration 1: 318.020 ops/s
# Warmup Iteration 2: 356.968 ops/s
# Warmup Iteration 3: 278.349 ops/s
# Warmup Iteration 4: 304.634 ops/s
# Warmup Iteration 5: 355.652 ops/s
# Warmup Iteration 6: 355.524 ops/s
# Warmup Iteration 7: 327.482 ops/s
# Warmup Iteration 8: 375.390 ops/s
# Warmup Iteration 9: 390.627 ops/s
# Warmup Iteration 10: 389.586 ops/s
# Warmup Iteration 11: 400.116 ops/s
# Warmup Iteration 12: 351.279 ops/s
# Warmup Iteration 13: 361.245 ops/s
# Warmup Iteration 14: 377.632 ops/s
# Warmup Iteration 15: 404.673 ops/s
# Warmup Iteration 16: 359.759 ops/s
# Warmup Iteration 17: 403.286 ops/s
# Warmup Iteration 18: 407.677 ops/s
# Warmup Iteration 19: 402.769 ops/s
# Warmup Iteration 20: 369.485 ops/s
Iteration 1: 363.430 ops/s
Iteration 2: 335.891 ops/s
Iteration 3: 398.685 ops/s
Iteration 4: 335.834 ops/s
Iteration 5: 359.799 ops/s
Iteration 6: 390.296 ops/s
Iteration 7: 402.788 ops/s
Iteration 8: 346.186 ops/s
Iteration 9: 396.018 ops/s
Iteration 10: 400.744 ops/s
Iteration 11: 374.892 ops/s
Iteration 12: 313.925 ops/s
Iteration 13: 366.003 ops/s
Iteration 14: 350.737 ops/s
Iteration 15: 338.877 ops/s
Iteration 16: 338.693 ops/s
Iteration 17: 381.837 ops/s
Iteration 18: 331.474 ops/s
Iteration 19: 396.265 ops/s
Iteration 20: 396.417 ops/s
# Run progress: 77.14% complete, ETA 00:10:47
# Fork: 5 of 10
# Warmup Iteration 1: 305.545 ops/s
# Warmup Iteration 2: 369.423 ops/s
# Warmup Iteration 3: 337.121 ops/s
# Warmup Iteration 4: 349.687 ops/s
# Warmup Iteration 5: 365.489 ops/s
# Warmup Iteration 6: 384.743 ops/s
# Warmup Iteration 7: 384.476 ops/s
# Warmup Iteration 8: 383.376 ops/s
# Warmup Iteration 9: 374.607 ops/s
# Warmup Iteration 10: 381.172 ops/s
# Warmup Iteration 11: 337.349 ops/s
# Warmup Iteration 12: 349.219 ops/s
# Warmup Iteration 13: 306.790 ops/s
# Warmup Iteration 14: 304.368 ops/s
# Warmup Iteration 15: 378.675 ops/s
# Warmup Iteration 16: 378.137 ops/s
# Warmup Iteration 17: 375.596 ops/s
# Warmup Iteration 18: 320.918 ops/s
# Warmup Iteration 19: 362.068 ops/s
# Warmup Iteration 20: 339.656 ops/s
Iteration 1: 360.921 ops/s
Iteration 2: 317.007 ops/s
Iteration 3: 357.074 ops/s
Iteration 4: 367.086 ops/s
Iteration 5: 315.495 ops/s
Iteration 6: 306.433 ops/s
Iteration 7: 379.292 ops/s
Iteration 8: 381.206 ops/s
Iteration 9: 378.371 ops/s
Iteration 10: 376.805 ops/s
Iteration 11: 353.554 ops/s
Iteration 12: 277.574 ops/s
Iteration 13: 328.135 ops/s
Iteration 14: 343.976 ops/s
Iteration 15: 323.692 ops/s
Iteration 16: 364.475 ops/s
Iteration 17: 308.592 ops/s
Iteration 18: 341.275 ops/s
Iteration 19: 373.633 ops/s
Iteration 20: 382.706 ops/s
# Run progress: 78.57% complete, ETA 00:10:07
# Fork: 6 of 10
# Warmup Iteration 1: 331.521 ops/s
# Warmup Iteration 2: 360.909 ops/s
# Warmup Iteration 3: 322.597 ops/s
# Warmup Iteration 4: 374.918 ops/s
# Warmup Iteration 5: 385.063 ops/s
# Warmup Iteration 6: 382.990 ops/s
# Warmup Iteration 7: 383.093 ops/s
# Warmup Iteration 8: 384.353 ops/s
# Warmup Iteration 9: 373.533 ops/s
# Warmup Iteration 10: 382.644 ops/s
# Warmup Iteration 11: 332.252 ops/s
# Warmup Iteration 12: 318.173 ops/s
# Warmup Iteration 13: 307.729 ops/s
# Warmup Iteration 14: 312.247 ops/s
# Warmup Iteration 15: 348.979 ops/s
# Warmup Iteration 16: 374.605 ops/s
# Warmup Iteration 17: 352.327 ops/s
# Warmup Iteration 18: 378.018 ops/s
# Warmup Iteration 19: 318.635 ops/s
# Warmup Iteration 20: 374.775 ops/s
Iteration 1: 362.059 ops/s
Iteration 2: 291.640 ops/s
Iteration 3: 351.814 ops/s
Iteration 4: 333.742 ops/s
Iteration 5: 380.717 ops/s
Iteration 6: 329.653 ops/s
Iteration 7: 336.391 ops/s
Iteration 8: 357.166 ops/s
Iteration 9: 380.585 ops/s
Iteration 10: 359.487 ops/s
Iteration 11: 386.860 ops/s
Iteration 12: 385.051 ops/s
Iteration 13: 380.385 ops/s
Iteration 14: 350.136 ops/s
Iteration 15: 348.181 ops/s
Iteration 16: 382.230 ops/s
Iteration 17: 381.180 ops/s
Iteration 18: 384.465 ops/s
Iteration 19: 383.927 ops/s
Iteration 20: 346.306 ops/s
# Run progress: 80.00% complete, ETA 00:09:26
# Fork: 7 of 10
# Warmup Iteration 1: 273.689 ops/s
# Warmup Iteration 2: 316.616 ops/s
# Warmup Iteration 3: 308.715 ops/s
# Warmup Iteration 4: 379.093 ops/s
# Warmup Iteration 5: 376.466 ops/s
# Warmup Iteration 6: 350.450 ops/s
# Warmup Iteration 7: 380.031 ops/s
# Warmup Iteration 8: 347.131 ops/s
# Warmup Iteration 9: 376.904 ops/s
# Warmup Iteration 10: 348.586 ops/s
# Warmup Iteration 11: 361.646 ops/s
# Warmup Iteration 12: 343.317 ops/s
# Warmup Iteration 13: 309.860 ops/s
# Warmup Iteration 14: 342.499 ops/s
# Warmup Iteration 15: 337.523 ops/s
# Warmup Iteration 16: 377.830 ops/s
# Warmup Iteration 17: 357.390 ops/s
# Warmup Iteration 18: 373.713 ops/s
# Warmup Iteration 19: 376.245 ops/s
# Warmup Iteration 20: 353.550 ops/s
Iteration 1: 377.496 ops/s
Iteration 2: 381.099 ops/s
Iteration 3: 380.545 ops/s
Iteration 4: 346.729 ops/s
Iteration 5: 380.630 ops/s
Iteration 6: 345.286 ops/s
Iteration 7: 379.320 ops/s
Iteration 8: 378.446 ops/s
Iteration 9: 378.630 ops/s
Iteration 10: 377.556 ops/s
Iteration 11: 348.797 ops/s
Iteration 12: 363.647 ops/s
Iteration 13: 350.556 ops/s
Iteration 14: 380.611 ops/s
Iteration 15: 379.883 ops/s
Iteration 16: 383.112 ops/s
Iteration 17: 382.878 ops/s
Iteration 18: 383.394 ops/s
Iteration 19: 380.542 ops/s
Iteration 20: 382.655 ops/s
# Run progress: 81.43% complete, ETA 00:08:46
# Fork: 8 of 10
# Warmup Iteration 1: 336.934 ops/s
# Warmup Iteration 2: 364.807 ops/s
# Warmup Iteration 3: 352.666 ops/s
# Warmup Iteration 4: 385.028 ops/s
# Warmup Iteration 5: 381.077 ops/s
# Warmup Iteration 6: 384.288 ops/s
# Warmup Iteration 7: 380.701 ops/s
# Warmup Iteration 8: 376.858 ops/s
# Warmup Iteration 9: 377.277 ops/s
# Warmup Iteration 10: 383.966 ops/s
# Warmup Iteration 11: 383.026 ops/s
# Warmup Iteration 12: 353.942 ops/s
# Warmup Iteration 13: 331.671 ops/s
# Warmup Iteration 14: 363.834 ops/s
# Warmup Iteration 15: 347.740 ops/s
# Warmup Iteration 16: 358.216 ops/s
# Warmup Iteration 17: 377.675 ops/s
# Warmup Iteration 18: 382.224 ops/s
# Warmup Iteration 19: 382.998 ops/s
# Warmup Iteration 20: 350.355 ops/s
Iteration 1: 301.200 ops/s
Iteration 2: 361.874 ops/s
Iteration 3: 337.730 ops/s
Iteration 4: 345.370 ops/s
Iteration 5: 364.059 ops/s
Iteration 6: 353.124 ops/s
Iteration 7: 382.854 ops/s
Iteration 8: 319.712 ops/s
Iteration 9: 323.738 ops/s
Iteration 10: 371.514 ops/s
Iteration 11: 345.906 ops/s
Iteration 12: 328.526 ops/s
Iteration 13: 384.117 ops/s
Iteration 14: 345.964 ops/s
Iteration 15: 346.092 ops/s
Iteration 16: 323.820 ops/s
Iteration 17: 377.469 ops/s
Iteration 18: 359.965 ops/s
Iteration 19: 379.889 ops/s
Iteration 20: 356.385 ops/s
# Run progress: 82.86% complete, ETA 00:08:05
# Fork: 9 of 10
# Warmup Iteration 1: 335.835 ops/s
# Warmup Iteration 2: 334.088 ops/s
# Warmup Iteration 3: 348.706 ops/s
# Warmup Iteration 4: 351.655 ops/s
# Warmup Iteration 5: 355.064 ops/s
# Warmup Iteration 6: 348.031 ops/s
# Warmup Iteration 7: 380.528 ops/s
# Warmup Iteration 8: 382.164 ops/s
# Warmup Iteration 9: 381.153 ops/s
# Warmup Iteration 10: 380.263 ops/s
# Warmup Iteration 11: 380.505 ops/s
# Warmup Iteration 12: 317.974 ops/s
# Warmup Iteration 13: 290.528 ops/s
# Warmup Iteration 14: 347.432 ops/s
# Warmup Iteration 15: 377.586 ops/s
# Warmup Iteration 16: 309.838 ops/s
# Warmup Iteration 17: 293.505 ops/s
# Warmup Iteration 18: 379.450 ops/s
# Warmup Iteration 19: 360.528 ops/s
# Warmup Iteration 20: 338.709 ops/s
Iteration 1: 357.295 ops/s
Iteration 2: 346.560 ops/s
Iteration 3: 345.367 ops/s
Iteration 4: 301.705 ops/s
Iteration 5: 316.867 ops/s
Iteration 6: 373.680 ops/s
Iteration 7: 371.209 ops/s
Iteration 8: 373.754 ops/s
Iteration 9: 362.613 ops/s
Iteration 10: 382.176 ops/s
Iteration 11: 345.458 ops/s
Iteration 12: 376.139 ops/s
Iteration 13: 368.068 ops/s
Iteration 14: 383.703 ops/s
Iteration 15: 381.464 ops/s
Iteration 16: 314.216 ops/s
Iteration 17: 377.934 ops/s
Iteration 18: 351.572 ops/s
Iteration 19: 367.872 ops/s
Iteration 20: 365.486 ops/s
# Run progress: 84.29% complete, ETA 00:07:25
# Fork: 10 of 10
# Warmup Iteration 1: 323.347 ops/s
# Warmup Iteration 2: 303.922 ops/s
# Warmup Iteration 3: 343.528 ops/s
# Warmup Iteration 4: 383.446 ops/s
# Warmup Iteration 5: 385.794 ops/s
# Warmup Iteration 6: 351.331 ops/s
# Warmup Iteration 7: 343.661 ops/s
# Warmup Iteration 8: 374.497 ops/s
# Warmup Iteration 9: 383.372 ops/s
# Warmup Iteration 10: 363.116 ops/s
# Warmup Iteration 11: 347.180 ops/s
# Warmup Iteration 12: 379.216 ops/s
# Warmup Iteration 13: 378.663 ops/s
# Warmup Iteration 14: 378.355 ops/s
# Warmup Iteration 15: 379.078 ops/s
# Warmup Iteration 16: 366.937 ops/s
# Warmup Iteration 17: 378.709 ops/s
# Warmup Iteration 18: 358.181 ops/s
# Warmup Iteration 19: 345.696 ops/s
# Warmup Iteration 20: 340.425 ops/s
Iteration 1: 364.232 ops/s
Iteration 2: 385.841 ops/s
Iteration 3: 350.223 ops/s
Iteration 4: 296.617 ops/s
Iteration 5: 313.957 ops/s
Iteration 6: 334.739 ops/s
Iteration 7: 373.461 ops/s
Iteration 8: 328.964 ops/s
Iteration 9: 338.044 ops/s
Iteration 10: 353.597 ops/s
Iteration 11: 383.843 ops/s
Iteration 12: 336.908 ops/s
Iteration 13: 380.106 ops/s
Iteration 14: 352.237 ops/s
Iteration 15: 385.807 ops/s
Iteration 16: 386.211 ops/s
Iteration 17: 385.057 ops/s
Iteration 18: 377.140 ops/s
Iteration 19: 261.508 ops/s
Iteration 20: 342.115 ops/s
Result "testSplitAsStream":
348.294 ±(99.9%) 7.435 ops/s [Average]
(min, avg, max) = (259.606, 348.294, 402.788), stdev = 31.481
CI (99.9%): [340.859, 355.729] (assumes normal distribution)
# JMH 1.11.2 (released 39 days ago)
# VM version: JDK 1.8.0_66, VM 25.66-b17
# VM invoker: /usr/lib/jvm/java-8-oracle/jre/bin/java
# VM options: <none>
# Warmup: 20 iterations, 1 s each
# Measurement: 20 iterations, 1 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: com.boris.benchmark.MyBenchmark.testStringTokenizer
# Run progress: 85.71% complete, ETA 00:06:44
# Fork: 1 of 10
# Warmup Iteration 1: 139.136 ops/s
# Warmup Iteration 2: 143.478 ops/s
# Warmup Iteration 3: 146.219 ops/s
# Warmup Iteration 4: 139.639 ops/s
# Warmup Iteration 5: 145.907 ops/s
# Warmup Iteration 6: 142.969 ops/s
# Warmup Iteration 7: 151.990 ops/s
# Warmup Iteration 8: 152.248 ops/s
# Warmup Iteration 9: 138.382 ops/s
# Warmup Iteration 10: 152.369 ops/s
# Warmup Iteration 11: 152.298 ops/s
# Warmup Iteration 12: 152.426 ops/s
# Warmup Iteration 13: 152.343 ops/s
# Warmup Iteration 14: 152.080 ops/s
# Warmup Iteration 15: 152.421 ops/s
# Warmup Iteration 16: 152.130 ops/s
# Warmup Iteration 17: 152.048 ops/s
# Warmup Iteration 18: 152.332 ops/s
# Warmup Iteration 19: 152.118 ops/s
# Warmup Iteration 20: 152.110 ops/s
Iteration 1: 151.986 ops/s
Iteration 2: 152.123 ops/s
Iteration 3: 137.746 ops/s
Iteration 4: 137.805 ops/s
Iteration 5: 151.429 ops/s
Iteration 6: 123.569 ops/s
Iteration 7: 136.630 ops/s
Iteration 8: 144.715 ops/s
Iteration 9: 141.807 ops/s
Iteration 10: 144.252 ops/s
Iteration 11: 122.827 ops/s
Iteration 12: 130.276 ops/s
Iteration 13: 150.266 ops/s
Iteration 14: 151.776 ops/s
Iteration 15: 139.259 ops/s
Iteration 16: 150.172 ops/s
Iteration 17: 152.064 ops/s
Iteration 18: 151.974 ops/s
Iteration 19: 137.826 ops/s
Iteration 20: 151.378 ops/s
# Run progress: 87.14% complete, ETA 00:06:04
# Fork: 2 of 10
# Warmup Iteration 1: 130.272 ops/s
# Warmup Iteration 2: 144.110 ops/s
# Warmup Iteration 3: 147.366 ops/s
# Warmup Iteration 4: 143.305 ops/s
# Warmup Iteration 5: 144.877 ops/s
# Warmup Iteration 6: 137.902 ops/s
# Warmup Iteration 7: 152.254 ops/s
# Warmup Iteration 8: 138.339 ops/s
# Warmup Iteration 9: 152.000 ops/s
# Warmup Iteration 10: 152.005 ops/s
# Warmup Iteration 11: 151.910 ops/s
# Warmup Iteration 12: 152.045 ops/s
# Warmup Iteration 13: 139.492 ops/s
# Warmup Iteration 14: 152.365 ops/s
# Warmup Iteration 15: 151.675 ops/s
# Warmup Iteration 16: 151.751 ops/s
# Warmup Iteration 17: 139.755 ops/s
# Warmup Iteration 18: 149.817 ops/s
# Warmup Iteration 19: 151.547 ops/s
# Warmup Iteration 20: 138.195 ops/s
Iteration 1: 151.332 ops/s
Iteration 2: 138.195 ops/s
Iteration 3: 130.874 ops/s
Iteration 4: 151.685 ops/s
Iteration 5: 144.449 ops/s
Iteration 6: 150.671 ops/s
Iteration 7: 151.197 ops/s
Iteration 8: 137.168 ops/s
Iteration 9: 125.589 ops/s
Iteration 10: 128.309 ops/s
Iteration 11: 134.921 ops/s
Iteration 12: 138.245 ops/s
Iteration 13: 144.858 ops/s
Iteration 14: 131.179 ops/s
Iteration 15: 137.481 ops/s
Iteration 16: 138.575 ops/s
Iteration 17: 140.102 ops/s
Iteration 18: 150.439 ops/s
Iteration 19: 149.925 ops/s
Iteration 20: 138.204 ops/s
# Run progress: 88.57% complete, ETA 00:05:23
# Fork: 3 of 10
# Warmup Iteration 1: 148.331 ops/s
# Warmup Iteration 2: 146.281 ops/s
# Warmup Iteration 3: 156.820 ops/s
# Warmup Iteration 4: 147.490 ops/s
# Warmup Iteration 5: 127.273 ops/s
# Warmup Iteration 6: 158.287 ops/s
# Warmup Iteration 7: 147.693 ops/s
# Warmup Iteration 8: 145.528 ops/s
# Warmup Iteration 9: 160.602 ops/s
# Warmup Iteration 10: 157.121 ops/s
# Warmup Iteration 11: 162.424 ops/s
# Warmup Iteration 12: 161.976 ops/s
# Warmup Iteration 13: 162.245 ops/s
# Warmup Iteration 14: 162.166 ops/s
# Warmup Iteration 15: 162.250 ops/s
# Warmup Iteration 16: 162.134 ops/s
# Warmup Iteration 17: 162.325 ops/s
# Warmup Iteration 18: 162.126 ops/s
# Warmup Iteration 19: 161.472 ops/s
# Warmup Iteration 20: 147.685 ops/s
Iteration 1: 152.001 ops/s
Iteration 2: 153.078 ops/s
Iteration 3: 132.245 ops/s
Iteration 4: 148.245 ops/s
Iteration 5: 147.204 ops/s
Iteration 6: 152.890 ops/s
Iteration 7: 152.396 ops/s
Iteration 8: 156.649 ops/s
Iteration 9: 140.022 ops/s
Iteration 10: 146.692 ops/s
Iteration 11: 146.480 ops/s
Iteration 12: 134.362 ops/s
Iteration 13: 129.586 ops/s
Iteration 14: 153.504 ops/s
Iteration 15: 157.696 ops/s
Iteration 16: 157.515 ops/s
Iteration 17: 151.872 ops/s
Iteration 18: 143.044 ops/s
Iteration 19: 148.624 ops/s
Iteration 20: 157.596 ops/s
# Run progress: 90.00% complete, ETA 00:04:43
# Fork: 4 of 10
# Warmup Iteration 1: 130.626 ops/s
# Warmup Iteration 2: 135.512 ops/s
# Warmup Iteration 3: 146.523 ops/s
# Warmup Iteration 4: 145.639 ops/s
# Warmup Iteration 5: 151.404 ops/s
# Warmup Iteration 6: 151.342 ops/s
# Warmup Iteration 7: 150.869 ops/s
# Warmup Iteration 8: 151.259 ops/s
# Warmup Iteration 9: 151.393 ops/s
# Warmup Iteration 10: 138.886 ops/s
# Warmup Iteration 11: 145.143 ops/s
# Warmup Iteration 12: 151.119 ops/s
# Warmup Iteration 13: 144.340 ops/s
# Warmup Iteration 14: 146.128 ops/s
# Warmup Iteration 15: 150.038 ops/s
# Warmup Iteration 16: 148.897 ops/s
# Warmup Iteration 17: 143.082 ops/s
# Warmup Iteration 18: 150.409 ops/s
# Warmup Iteration 19: 150.706 ops/s
# Warmup Iteration 20: 151.066 ops/s
Iteration 1: 150.369 ops/s
Iteration 2: 142.253 ops/s
Iteration 3: 137.754 ops/s
Iteration 4: 149.596 ops/s
Iteration 5: 150.753 ops/s
Iteration 6: 149.642 ops/s
Iteration 7: 136.261 ops/s
Iteration 8: 136.116 ops/s
Iteration 9: 150.330 ops/s
Iteration 10: 149.270 ops/s
Iteration 11: 138.074 ops/s
Iteration 12: 137.502 ops/s
Iteration 13: 134.223 ops/s
Iteration 14: 136.566 ops/s
Iteration 15: 143.703 ops/s
Iteration 16: 130.074 ops/s
Iteration 17: 146.961 ops/s
Iteration 18: 149.431 ops/s
Iteration 19: 139.231 ops/s
Iteration 20: 145.359 ops/s
# Run progress: 91.43% complete, ETA 00:04:02
# Fork: 5 of 10
# Warmup Iteration 1: 137.837 ops/s
# Warmup Iteration 2: 148.007 ops/s
# Warmup Iteration 3: 146.538 ops/s
# Warmup Iteration 4: 151.247 ops/s
# Warmup Iteration 5: 134.708 ops/s
# Warmup Iteration 6: 145.460 ops/s
# Warmup Iteration 7: 151.435 ops/s
# Warmup Iteration 8: 151.420 ops/s
# Warmup Iteration 9: 151.387 ops/s
# Warmup Iteration 10: 151.458 ops/s
# Warmup Iteration 11: 151.339 ops/s
# Warmup Iteration 12: 151.473 ops/s
# Warmup Iteration 13: 151.321 ops/s
# Warmup Iteration 14: 151.449 ops/s
# Warmup Iteration 15: 151.240 ops/s
# Warmup Iteration 16: 151.267 ops/s
# Warmup Iteration 17: 151.415 ops/s
# Warmup Iteration 18: 151.221 ops/s
# Warmup Iteration 19: 151.326 ops/s
# Warmup Iteration 20: 151.074 ops/s
Iteration 1: 151.003 ops/s
Iteration 2: 137.563 ops/s
Iteration 3: 125.220 ops/s
Iteration 4: 150.949 ops/s
Iteration 5: 150.663 ops/s
Iteration 6: 149.355 ops/s
Iteration 7: 150.121 ops/s
Iteration 8: 145.502 ops/s
Iteration 9: 123.367 ops/s
Iteration 10: 135.416 ops/s
Iteration 11: 135.341 ops/s
Iteration 12: 142.474 ops/s
Iteration 13: 149.076 ops/s
Iteration 14: 138.003 ops/s
Iteration 15: 143.659 ops/s
Iteration 16: 131.751 ops/s
Iteration 17: 142.999 ops/s
Iteration 18: 149.863 ops/s
Iteration 19: 150.853 ops/s
Iteration 20: 150.994 ops/s
# Run progress: 92.86% complete, ETA 00:03:22
# Fork: 6 of 10
# Warmup Iteration 1: 133.497 ops/s
# Warmup Iteration 2: 149.095 ops/s
# Warmup Iteration 3: 156.309 ops/s
# Warmup Iteration 4: 152.735 ops/s
# Warmup Iteration 5: 136.519 ops/s
# Warmup Iteration 6: 147.466 ops/s
# Warmup Iteration 7: 161.483 ops/s
# Warmup Iteration 8: 161.693 ops/s
# Warmup Iteration 9: 161.639 ops/s
# Warmup Iteration 10: 154.598 ops/s
# Warmup Iteration 11: 161.329 ops/s
# Warmup Iteration 12: 161.207 ops/s
# Warmup Iteration 13: 148.263 ops/s
# Warmup Iteration 14: 160.943 ops/s
# Warmup Iteration 15: 149.035 ops/s
# Warmup Iteration 16: 158.828 ops/s
# Warmup Iteration 17: 161.805 ops/s
# Warmup Iteration 18: 162.008 ops/s
# Warmup Iteration 19: 150.696 ops/s
# Warmup Iteration 20: 146.444 ops/s
Iteration 1: 158.921 ops/s
Iteration 2: 161.776 ops/s
Iteration 3: 134.829 ops/s
Iteration 4: 154.501 ops/s
Iteration 5: 160.363 ops/s
Iteration 6: 160.558 ops/s
Iteration 7: 145.501 ops/s
Iteration 8: 161.288 ops/s
Iteration 9: 159.791 ops/s
Iteration 10: 146.707 ops/s
Iteration 11: 161.967 ops/s
Iteration 12: 161.579 ops/s
Iteration 13: 161.029 ops/s
Iteration 14: 160.665 ops/s
Iteration 15: 156.538 ops/s
Iteration 16: 149.292 ops/s
Iteration 17: 160.798 ops/s
Iteration 18: 147.315 ops/s
Iteration 19: 160.566 ops/s
Iteration 20: 147.296 ops/s
# Run progress: 94.29% complete, ETA 00:02:41
# Fork: 7 of 10
# Warmup Iteration 1: 131.099 ops/s
# Warmup Iteration 2: 143.420 ops/s
# Warmup Iteration 3: 145.579 ops/s
# Warmup Iteration 4: 151.547 ops/s
# Warmup Iteration 5: 133.734 ops/s
# Warmup Iteration 6: 66.993 ops/s
# Warmup Iteration 7: 149.713 ops/s
# Warmup Iteration 8: 151.882 ops/s
# Warmup Iteration 9: 150.585 ops/s
# Warmup Iteration 10: 151.677 ops/s
# Warmup Iteration 11: 135.720 ops/s
# Warmup Iteration 12: 151.679 ops/s
# Warmup Iteration 13: 142.735 ops/s
# Warmup Iteration 14: 150.721 ops/s
# Warmup Iteration 15: 150.840 ops/s
# Warmup Iteration 16: 138.069 ops/s
# Warmup Iteration 17: 138.523 ops/s
# Warmup Iteration 18: 151.593 ops/s
# Warmup Iteration 19: 151.224 ops/s
# Warmup Iteration 20: 150.523 ops/s
Iteration 1: 149.604 ops/s
Iteration 2: 149.177 ops/s
Iteration 3: 151.060 ops/s
Iteration 4: 130.801 ops/s
Iteration 5: 150.082 ops/s
Iteration 6: 150.019 ops/s
Iteration 7: 137.531 ops/s
Iteration 8: 150.932 ops/s
Iteration 9: 136.372 ops/s
Iteration 10: 138.151 ops/s
Iteration 11: 149.119 ops/s
Iteration 12: 149.649 ops/s
Iteration 13: 145.888 ops/s
Iteration 14: 150.237 ops/s
Iteration 15: 148.455 ops/s
Iteration 16: 147.440 ops/s
Iteration 17: 138.332 ops/s
Iteration 18: 149.681 ops/s
Iteration 19: 149.501 ops/s
Iteration 20: 145.734 ops/s
# Run progress: 95.71% complete, ETA 00:02:01
# Fork: 8 of 10
# Warmup Iteration 1: 136.933 ops/s
# Warmup Iteration 2: 147.887 ops/s
# Warmup Iteration 3: 145.263 ops/s
# Warmup Iteration 4: 150.896 ops/s
# Warmup Iteration 5: 123.395 ops/s
# Warmup Iteration 6: 67.681 ops/s
# Warmup Iteration 7: 151.231 ops/s
# Warmup Iteration 8: 151.440 ops/s
# Warmup Iteration 9: 136.879 ops/s
# Warmup Iteration 10: 150.927 ops/s
# Warmup Iteration 11: 150.583 ops/s
# Warmup Iteration 12: 150.892 ops/s
# Warmup Iteration 13: 149.291 ops/s
# Warmup Iteration 14: 151.217 ops/s
# Warmup Iteration 15: 151.469 ops/s
# Warmup Iteration 16: 146.451 ops/s
# Warmup Iteration 17: 136.852 ops/s
# Warmup Iteration 18: 150.932 ops/s
# Warmup Iteration 19: 151.138 ops/s
# Warmup Iteration 20: 151.269 ops/s
Iteration 1: 134.294 ops/s
Iteration 2: 131.652 ops/s
Iteration 3: 150.732 ops/s
Iteration 4: 143.622 ops/s
Iteration 5: 147.620 ops/s
Iteration 6: 149.855 ops/s
Iteration 7: 150.505 ops/s
Iteration 8: 136.857 ops/s
Iteration 9: 150.624 ops/s
Iteration 10: 150.535 ops/s
Iteration 11: 130.445 ops/s
Iteration 12: 134.871 ops/s
Iteration 13: 140.187 ops/s
Iteration 14: 116.715 ops/s
Iteration 15: 104.576 ops/s
Iteration 16: 116.375 ops/s
Iteration 17: 99.291 ops/s
Iteration 18: 128.587 ops/s
Iteration 19: 135.121 ops/s
Iteration 20: 135.281 ops/s
# Run progress: 97.14% complete, ETA 00:01:20
# Fork: 9 of 10
# Warmup Iteration 1: 116.360 ops/s
# Warmup Iteration 2: 158.215 ops/s
# Warmup Iteration 3: 157.954 ops/s
# Warmup Iteration 4: 162.788 ops/s
# Warmup Iteration 5: 117.767 ops/s
# Warmup Iteration 6: 101.758 ops/s
# Warmup Iteration 7: 161.670 ops/s
# Warmup Iteration 8: 163.003 ops/s
# Warmup Iteration 9: 162.941 ops/s
# Warmup Iteration 10: 162.754 ops/s
# Warmup Iteration 11: 149.453 ops/s
# Warmup Iteration 12: 162.824 ops/s
# Warmup Iteration 13: 162.409 ops/s
# Warmup Iteration 14: 162.704 ops/s
# Warmup Iteration 15: 162.612 ops/s
# Warmup Iteration 16: 162.284 ops/s
# Warmup Iteration 17: 162.713 ops/s
# Warmup Iteration 18: 162.708 ops/s
# Warmup Iteration 19: 162.681 ops/s
# Warmup Iteration 20: 162.776 ops/s
Iteration 1: 162.571 ops/s
Iteration 2: 162.299 ops/s
Iteration 3: 160.052 ops/s
Iteration 4: 162.870 ops/s
Iteration 5: 161.711 ops/s
Iteration 6: 161.926 ops/s
Iteration 7: 162.288 ops/s
Iteration 8: 162.237 ops/s
Iteration 9: 162.535 ops/s
Iteration 10: 160.476 ops/s
Iteration 11: 161.685 ops/s
Iteration 12: 162.456 ops/s
Iteration 13: 161.435 ops/s
Iteration 14: 154.721 ops/s
Iteration 15: 162.237 ops/s
Iteration 16: 149.542 ops/s
Iteration 17: 158.833 ops/s
Iteration 18: 133.012 ops/s
Iteration 19: 127.879 ops/s
Iteration 20: 145.616 ops/s
# Run progress: 98.57% complete, ETA 00:00:40
# Fork: 10 of 10
# Warmup Iteration 1: 138.191 ops/s
# Warmup Iteration 2: 137.369 ops/s
# Warmup Iteration 3: 139.706 ops/s
# Warmup Iteration 4: 150.466 ops/s
# Warmup Iteration 5: 136.178 ops/s
# Warmup Iteration 6: 64.646 ops/s
# Warmup Iteration 7: 151.198 ops/s
# Warmup Iteration 8: 152.077 ops/s
# Warmup Iteration 9: 151.903 ops/s
# Warmup Iteration 10: 151.787 ops/s
# Warmup Iteration 11: 151.892 ops/s
# Warmup Iteration 12: 142.211 ops/s
# Warmup Iteration 13: 151.025 ops/s
# Warmup Iteration 14: 151.707 ops/s
# Warmup Iteration 15: 151.362 ops/s
# Warmup Iteration 16: 151.734 ops/s
# Warmup Iteration 17: 151.591 ops/s
# Warmup Iteration 18: 151.423 ops/s
# Warmup Iteration 19: 137.844 ops/s
# Warmup Iteration 20: 151.700 ops/s
Iteration 1: 138.143 ops/s
Iteration 2: 151.650 ops/s
Iteration 3: 150.121 ops/s
Iteration 4: 140.533 ops/s
Iteration 5: 150.096 ops/s
Iteration 6: 151.247 ops/s
Iteration 7: 151.588 ops/s
Iteration 8: 151.218 ops/s
Iteration 9: 138.205 ops/s
Iteration 10: 129.240 ops/s
Iteration 11: 150.665 ops/s
Iteration 12: 150.215 ops/s
Iteration 13: 152.023 ops/s
Iteration 14: 152.003 ops/s
Iteration 15: 150.543 ops/s
Iteration 16: 150.531 ops/s
Iteration 17: 150.918 ops/s
Iteration 18: 151.108 ops/s
Iteration 19: 146.797 ops/s
Iteration 20: 150.823 ops/s
Result "testStringTokenizer":
145.767 ±(99.9%) 2.585 ops/s [Average]
(min, avg, max) = (99.291, 145.767, 162.870), stdev = 10.945
CI (99.9%): [143.182, 148.352] (assumes normal distribution)
# Run complete. Total time: 00:47:13
Benchmark Mode Cnt Score Error Units
MyBenchmark.testPrecompiledSplitAsStream thrpt 200 355.893 ± 6.618 ops/s
MyBenchmark.testScannerPrecompiledRegex thrpt 200 75.811 ± 1.311 ops/s
MyBenchmark.testScannerRegex thrpt 200 76.246 ± 1.427 ops/s
MyBenchmark.testScannerString thrpt 200 75.690 ± 1.279 ops/s
MyBenchmark.testSplit thrpt 200 358.356 ± 4.745 ops/s
MyBenchmark.testSplitAsStream thrpt 200 348.294 ± 7.435 ops/s
MyBenchmark.testStringTokenizer thrpt 200 145.767 ± 2.585 ops/s
@OutputTimeUnit(TimeUnit.SECONDS)
@State(Scope.Thread)
public class MyBenchmark {
private Pattern pattern;
private String warandpeace;
@Setup
public void prepare() {
pattern = Pattern.compile("\\.");
try (final InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("com/boris/benchmark/warandpeace.txt");
final BufferedReader reader = new BufferedReader(new InputStreamReader(is, StandardCharsets.UTF_8))) {
warandpeace = reader.lines().collect(joining());
} catch (IOException e) {
throw new ExceptionInInitializerError(e);
}
}
@Benchmark
public void testSplit(final Blackhole blackhole) {
for (final String s : warandpeace.split("\\.")) {
blackhole.consume(s);
}
}
@Benchmark
public void testStringTokenizer(final Blackhole blackhole) {
final StringTokenizer stringTokenizer = new StringTokenizer(warandpeace, ".");
while (stringTokenizer.hasMoreTokens()) {
blackhole.consume(stringTokenizer.nextToken());
}
}
@Benchmark
public void testScannerString(final Blackhole blackhole) {
try (final Scanner scanner = new Scanner(warandpeace).useDelimiter("\\.")) {
while (scanner.hasNext()) {
blackhole.consume(scanner.next());
}
}
}
@Benchmark
public void testScannerRegex(final Blackhole blackhole) {
try (final Scanner scanner = new Scanner(warandpeace).useDelimiter(Pattern.compile("\\."))) {
while (scanner.hasNext()) {
blackhole.consume(scanner.next());
}
}
}
@Benchmark
public void testScannerPrecompiledRegex(final Blackhole blackhole) {
try (final Scanner scanner = new Scanner(warandpeace).useDelimiter(pattern)) {
while (scanner.hasNext()) {
blackhole.consume(scanner.next());
}
}
}
@Benchmark
public void testSplitAsStream(final Blackhole blackhole) {
Pattern.compile("\\.").splitAsStream(warandpeace).forEach(blackhole::consume);
}
@Benchmark
public void testPrecompiledSplitAsStream(final Blackhole blackhole) {
pattern.splitAsStream(warandpeace).forEach(blackhole::consume);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment