-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchapter4-stats.report.txt
6835 lines (6835 loc) · 349 KB
/
chapter4-stats.report.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
[info] welcome to sbt 1.10.1 (Eclipse Adoptium Java 21.0.4)
[info] loading settings for project global-plugins from metals.sbt,plugins.sbt ...
[info] loading global plugins from /home/gaelrenoux/.sbt/1.0/plugins
[info] loading settings for project public-scalaio2024-benchmarks-build from plugins.sbt ...
[info] loading project definition from /home/gaelrenoux/Repositories/DataDome/public-scalaio2024-benchmarks/project
[success] Generated .bloop/public-scalaio2024-benchmarks-build.json
[success] Total time: 0 s, completed Nov 5, 2024, 7:49:24 PM
[info] loading settings for project public-scalaio2024-benchmarks from build.sbt ...
[info] set current project to scalaio2024-benchmarks (in build file:/home/gaelrenoux/Repositories/DataDome/public-scalaio2024-benchmarks/)
[info] running (fork) org.openjdk.jmh.Main -i 20 -wi 10 -f1 -t1 .*chapter4.StatsBenchmark_(Small|Large).f(astF)?oreach.*
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach2_immutable_final
[info] # Run progress: 0.00% complete, ETA 00:14:00
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 21295.468 us/op
[info] # Warmup Iteration 2: 20954.377 us/op
[info] # Warmup Iteration 3: 20276.375 us/op
[info] # Warmup Iteration 4: 19743.611 us/op
[info] # Warmup Iteration 5: 19437.386 us/op
[info] # Warmup Iteration 6: 19146.074 us/op
[info] # Warmup Iteration 7: 19458.905 us/op
[info] # Warmup Iteration 8: 18877.359 us/op
[info] # Warmup Iteration 9: 18478.362 us/op
[info] # Warmup Iteration 10: 18766.571 us/op
[info] Iteration 1: 19241.693 us/op
[info] Iteration 2: 19525.440 us/op
[info] Iteration 3: 19510.040 us/op
[info] Iteration 4: 20667.500 us/op
[info] Iteration 5: 20531.349 us/op
[info] Iteration 6: 19223.940 us/op
[info] Iteration 7: 19553.840 us/op
[info] Iteration 8: 19355.563 us/op
[info] Iteration 9: 19670.804 us/op
[info] Iteration 10: 20308.711 us/op
[info] Iteration 11: 20267.537 us/op
[info] Iteration 12: 19666.440 us/op
[info] Iteration 13: 20491.032 us/op
[info] Iteration 14: 20390.488 us/op
[info] Iteration 15: 20716.689 us/op
[info] Iteration 16: 20705.620 us/op
[info] Iteration 17: 20906.948 us/op
[info] Iteration 18: 19842.823 us/op
[info] Iteration 19: 20318.216 us/op
[info] Iteration 20: 19127.964 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach2_immutable_final":
[info] 20001.132 ±(99.9%) 507.329 us/op [Average]
[info] (min, avg, max) = (19127.964, 20001.132, 20906.948), stdev = 584.241
[info] CI (99.9%): [19493.803, 20508.461] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach2_immutable_nonfinal
[info] # Run progress: 3.57% complete, ETA 00:14:17
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 21356.581 us/op
[info] # Warmup Iteration 2: 20150.117 us/op
[info] # Warmup Iteration 3: 18977.808 us/op
[info] # Warmup Iteration 4: 19286.245 us/op
[info] # Warmup Iteration 5: 19951.888 us/op
[info] # Warmup Iteration 6: 20363.729 us/op
[info] # Warmup Iteration 7: 19736.319 us/op
[info] # Warmup Iteration 8: 20476.630 us/op
[info] # Warmup Iteration 9: 20015.548 us/op
[info] # Warmup Iteration 10: 19706.393 us/op
[info] Iteration 1: 18661.469 us/op
[info] Iteration 2: 18590.513 us/op
[info] Iteration 3: 18448.343 us/op
[info] Iteration 4: 19253.081 us/op
[info] Iteration 5: 19641.972 us/op
[info] Iteration 6: 19395.784 us/op
[info] Iteration 7: 19248.819 us/op
[info] Iteration 8: 18910.251 us/op
[info] Iteration 9: 18990.112 us/op
[info] Iteration 10: 19240.504 us/op
[info] Iteration 11: 20016.913 us/op
[info] Iteration 12: 19323.879 us/op
[info] Iteration 13: 19304.488 us/op
[info] Iteration 14: 20228.251 us/op
[info] Iteration 15: 19490.003 us/op
[info] Iteration 16: 19782.753 us/op
[info] Iteration 17: 19806.744 us/op
[info] Iteration 18: 20429.523 us/op
[info] Iteration 19: 20746.697 us/op
[info] Iteration 20: 19643.554 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach2_immutable_nonfinal":
[info] 19457.682 ±(99.9%) 523.691 us/op [Average]
[info] (min, avg, max) = (18448.343, 19457.682, 20746.697), stdev = 603.083
[info] CI (99.9%): [18933.992, 19981.373] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach2_mutable_final
[info] # Run progress: 7.14% complete, ETA 00:13:44
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 20188.201 us/op
[info] # Warmup Iteration 2: 16421.013 us/op
[info] # Warmup Iteration 3: 16156.851 us/op
[info] # Warmup Iteration 4: 16144.856 us/op
[info] # Warmup Iteration 5: 16175.995 us/op
[info] # Warmup Iteration 6: 17844.834 us/op
[info] # Warmup Iteration 7: 19894.711 us/op
[info] # Warmup Iteration 8: 19808.218 us/op
[info] # Warmup Iteration 9: 19410.800 us/op
[info] # Warmup Iteration 10: 19428.098 us/op
[info] Iteration 1: 19000.206 us/op
[info] Iteration 2: 19123.223 us/op
[info] Iteration 3: 19724.500 us/op
[info] Iteration 4: 16093.119 us/op
[info] Iteration 5: 19359.988 us/op
[info] Iteration 6: 19454.608 us/op
[info] Iteration 7: 19582.611 us/op
[info] Iteration 8: 19556.943 us/op
[info] Iteration 9: 19591.179 us/op
[info] Iteration 10: 19462.663 us/op
[info] Iteration 11: 19741.215 us/op
[info] Iteration 12: 19816.583 us/op
[info] Iteration 13: 19589.102 us/op
[info] Iteration 14: 19488.736 us/op
[info] Iteration 15: 19671.334 us/op
[info] Iteration 16: 19493.766 us/op
[info] Iteration 17: 19715.034 us/op
[info] Iteration 18: 20443.815 us/op
[info] Iteration 19: 19472.823 us/op
[info] Iteration 20: 19632.600 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach2_mutable_final":
[info] 19400.702 ±(99.9%) 719.505 us/op [Average]
[info] (min, avg, max) = (16093.119, 19400.702, 20443.815), stdev = 828.583
[info] CI (99.9%): [18681.197, 20120.207] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach2_mutable_nonfinal
[info] # Run progress: 10.71% complete, ETA 00:13:11
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 17341.246 us/op
[info] # Warmup Iteration 2: 19622.093 us/op
[info] # Warmup Iteration 3: 16120.873 us/op
[info] # Warmup Iteration 4: 19388.374 us/op
[info] # Warmup Iteration 5: 19581.993 us/op
[info] # Warmup Iteration 6: 19893.215 us/op
[info] # Warmup Iteration 7: 20170.371 us/op
[info] # Warmup Iteration 8: 19755.408 us/op
[info] # Warmup Iteration 9: 19829.442 us/op
[info] # Warmup Iteration 10: 19928.604 us/op
[info] Iteration 1: 19606.368 us/op
[info] Iteration 2: 19442.803 us/op
[info] Iteration 3: 19211.343 us/op
[info] Iteration 4: 19410.135 us/op
[info] Iteration 5: 19387.655 us/op
[info] Iteration 6: 19582.649 us/op
[info] Iteration 7: 19601.261 us/op
[info] Iteration 8: 19459.481 us/op
[info] Iteration 9: 19370.393 us/op
[info] Iteration 10: 19408.011 us/op
[info] Iteration 11: 19764.943 us/op
[info] Iteration 12: 19055.315 us/op
[info] Iteration 13: 19034.774 us/op
[info] Iteration 14: 19286.153 us/op
[info] Iteration 15: 19419.325 us/op
[info] Iteration 16: 19540.405 us/op
[info] Iteration 17: 19486.864 us/op
[info] Iteration 18: 19382.586 us/op
[info] Iteration 19: 19603.165 us/op
[info] Iteration 20: 19406.553 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach2_mutable_nonfinal":
[info] 19423.009 ±(99.9%) 156.307 us/op [Average]
[info] (min, avg, max) = (19034.774, 19423.009, 19764.943), stdev = 180.003
[info] CI (99.9%): [19266.703, 19579.316] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach_array
[info] # Run progress: 14.29% complete, ETA 00:12:39
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 18567.069 us/op
[info] # Warmup Iteration 2: 16399.260 us/op
[info] # Warmup Iteration 3: 17826.144 us/op
[info] # Warmup Iteration 4: 17650.276 us/op
[info] # Warmup Iteration 5: 17482.301 us/op
[info] # Warmup Iteration 6: 18345.172 us/op
[info] # Warmup Iteration 7: 17415.748 us/op
[info] # Warmup Iteration 8: 17519.173 us/op
[info] # Warmup Iteration 9: 17626.856 us/op
[info] # Warmup Iteration 10: 17697.674 us/op
[info] Iteration 1: 17608.102 us/op
[info] Iteration 2: 17598.127 us/op
[info] Iteration 3: 17539.730 us/op
[info] Iteration 4: 17804.023 us/op
[info] Iteration 5: 17585.184 us/op
[info] Iteration 6: 17514.130 us/op
[info] Iteration 7: 17449.432 us/op
[info] Iteration 8: 17562.453 us/op
[info] Iteration 9: 17622.596 us/op
[info] Iteration 10: 17434.295 us/op
[info] Iteration 11: 17399.618 us/op
[info] Iteration 12: 17875.444 us/op
[info] Iteration 13: 17434.308 us/op
[info] Iteration 14: 17757.031 us/op
[info] Iteration 15: 18397.214 us/op
[info] Iteration 16: 17623.800 us/op
[info] Iteration 17: 17593.488 us/op
[info] Iteration 18: 17492.193 us/op
[info] Iteration 19: 17836.806 us/op
[info] Iteration 20: 18117.901 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach_array":
[info] 17662.294 ±(99.9%) 215.260 us/op [Average]
[info] (min, avg, max) = (17399.618, 17662.294, 18397.214), stdev = 247.894
[info] CI (99.9%): [17447.034, 17877.554] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach_immutable_final
[info] # Run progress: 17.86% complete, ETA 00:12:08
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 20893.882 us/op
[info] # Warmup Iteration 2: 20254.475 us/op
[info] # Warmup Iteration 3: 19577.600 us/op
[info] # Warmup Iteration 4: 19034.004 us/op
[info] # Warmup Iteration 5: 19293.741 us/op
[info] # Warmup Iteration 6: 17791.003 us/op
[info] # Warmup Iteration 7: 18318.380 us/op
[info] # Warmup Iteration 8: 18621.438 us/op
[info] # Warmup Iteration 9: 18149.918 us/op
[info] # Warmup Iteration 10: 18037.407 us/op
[info] Iteration 1: 17845.912 us/op
[info] Iteration 2: 18485.420 us/op
[info] Iteration 3: 17987.500 us/op
[info] Iteration 4: 18891.826 us/op
[info] Iteration 5: 19492.839 us/op
[info] Iteration 6: 18277.588 us/op
[info] Iteration 7: 17907.330 us/op
[info] Iteration 8: 19506.645 us/op
[info] Iteration 9: 18594.025 us/op
[info] Iteration 10: 18606.724 us/op
[info] Iteration 11: 18849.216 us/op
[info] Iteration 12: 19332.564 us/op
[info] Iteration 13: 18526.589 us/op
[info] Iteration 14: 17997.031 us/op
[info] Iteration 15: 18570.568 us/op
[info] Iteration 16: 18162.089 us/op
[info] Iteration 17: 18157.060 us/op
[info] Iteration 18: 18908.250 us/op
[info] Iteration 19: 17863.998 us/op
[info] Iteration 20: 18963.675 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach_immutable_final":
[info] 18546.342 ±(99.9%) 459.189 us/op [Average]
[info] (min, avg, max) = (17845.912, 18546.342, 19506.645), stdev = 528.803
[info] CI (99.9%): [18087.153, 19005.532] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach_immutable_nonfinal
[info] # Run progress: 21.43% complete, ETA 00:11:36
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 21300.272 us/op
[info] # Warmup Iteration 2: 20940.313 us/op
[info] # Warmup Iteration 3: 19865.771 us/op
[info] # Warmup Iteration 4: 19331.446 us/op
[info] # Warmup Iteration 5: 19625.332 us/op
[info] # Warmup Iteration 6: 19501.663 us/op
[info] # Warmup Iteration 7: 19582.304 us/op
[info] # Warmup Iteration 8: 18712.267 us/op
[info] # Warmup Iteration 9: 19288.432 us/op
[info] # Warmup Iteration 10: 19475.863 us/op
[info] Iteration 1: 19347.145 us/op
[info] Iteration 2: 18371.520 us/op
[info] Iteration 3: 19451.760 us/op
[info] Iteration 4: 18194.656 us/op
[info] Iteration 5: 19783.365 us/op
[info] Iteration 6: 20022.811 us/op
[info] Iteration 7: 18809.596 us/op
[info] Iteration 8: 18959.766 us/op
[info] Iteration 9: 19731.661 us/op
[info] Iteration 10: 18663.259 us/op
[info] Iteration 11: 20508.619 us/op
[info] Iteration 12: 19118.305 us/op
[info] Iteration 13: 19286.121 us/op
[info] Iteration 14: 18727.615 us/op
[info] Iteration 15: 19564.119 us/op
[info] Iteration 16: 18935.322 us/op
[info] Iteration 17: 17607.399 us/op
[info] Iteration 18: 17796.474 us/op
[info] Iteration 19: 19177.060 us/op
[info] Iteration 20: 19590.207 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach_immutable_nonfinal":
[info] 19082.339 ±(99.9%) 633.579 us/op [Average]
[info] (min, avg, max) = (17607.399, 19082.339, 20508.619), stdev = 729.631
[info] CI (99.9%): [18448.759, 19715.918] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach_mutable_final
[info] # Run progress: 25.00% complete, ETA 00:11:04
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 15796.609 us/op
[info] # Warmup Iteration 2: 16187.223 us/op
[info] # Warmup Iteration 3: 16594.176 us/op
[info] # Warmup Iteration 4: 18403.275 us/op
[info] # Warmup Iteration 5: 18767.253 us/op
[info] # Warmup Iteration 6: 18985.452 us/op
[info] # Warmup Iteration 7: 15686.747 us/op
[info] # Warmup Iteration 8: 18586.075 us/op
[info] # Warmup Iteration 9: 18818.225 us/op
[info] # Warmup Iteration 10: 18645.082 us/op
[info] Iteration 1: 18392.199 us/op
[info] Iteration 2: 18513.619 us/op
[info] Iteration 3: 18385.325 us/op
[info] Iteration 4: 18332.871 us/op
[info] Iteration 5: 15443.114 us/op
[info] Iteration 6: 18792.491 us/op
[info] Iteration 7: 18557.200 us/op
[info] Iteration 8: 18661.189 us/op
[info] Iteration 9: 18577.744 us/op
[info] Iteration 10: 18833.107 us/op
[info] Iteration 11: 19169.202 us/op
[info] Iteration 12: 18437.640 us/op
[info] Iteration 13: 18413.054 us/op
[info] Iteration 14: 18636.394 us/op
[info] Iteration 15: 18552.615 us/op
[info] Iteration 16: 18406.381 us/op
[info] Iteration 17: 18552.505 us/op
[info] Iteration 18: 18596.541 us/op
[info] Iteration 19: 18493.391 us/op
[info] Iteration 20: 18554.752 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach_mutable_final":
[info] 18415.067 ±(99.9%) 629.641 us/op [Average]
[info] (min, avg, max) = (15443.114, 18415.067, 19169.202), stdev = 725.096
[info] CI (99.9%): [17785.426, 19044.708] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach_mutable_nonfinal
[info] # Run progress: 28.57% complete, ETA 00:10:32
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 15697.124 us/op
[info] # Warmup Iteration 2: 15942.726 us/op
[info] # Warmup Iteration 3: 20071.510 us/op
[info] # Warmup Iteration 4: 19187.592 us/op
[info] # Warmup Iteration 5: 18686.864 us/op
[info] # Warmup Iteration 6: 19023.609 us/op
[info] # Warmup Iteration 7: 18795.477 us/op
[info] # Warmup Iteration 8: 18689.399 us/op
[info] # Warmup Iteration 9: 18539.442 us/op
[info] # Warmup Iteration 10: 18395.903 us/op
[info] Iteration 1: 18316.680 us/op
[info] Iteration 2: 18363.256 us/op
[info] Iteration 3: 18731.476 us/op
[info] Iteration 4: 18387.253 us/op
[info] Iteration 5: 18405.031 us/op
[info] Iteration 6: 19154.866 us/op
[info] Iteration 7: 19191.416 us/op
[info] Iteration 8: 19379.614 us/op
[info] Iteration 9: 19047.217 us/op
[info] Iteration 10: 19003.995 us/op
[info] Iteration 11: 18981.338 us/op
[info] Iteration 12: 19002.574 us/op
[info] Iteration 13: 19740.908 us/op
[info] Iteration 14: 19009.864 us/op
[info] Iteration 15: 19430.570 us/op
[info] Iteration 16: 19113.685 us/op
[info] Iteration 17: 19275.666 us/op
[info] Iteration 18: 19748.807 us/op
[info] Iteration 19: 18976.194 us/op
[info] Iteration 20: 18958.842 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.fastForeach_mutable_nonfinal":
[info] 19010.963 ±(99.9%) 359.976 us/op [Average]
[info] (min, avg, max) = (18316.680, 19010.963, 19748.807), stdev = 414.549
[info] CI (99.9%): [18650.986, 19370.939] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.foreach_array
[info] # Run progress: 32.14% complete, ETA 00:10:00
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 14085.091 us/op
[info] # Warmup Iteration 2: 13777.225 us/op
[info] # Warmup Iteration 3: 16810.966 us/op
[info] # Warmup Iteration 4: 17729.065 us/op
[info] # Warmup Iteration 5: 17067.081 us/op
[info] # Warmup Iteration 6: 16534.206 us/op
[info] # Warmup Iteration 7: 16914.739 us/op
[info] # Warmup Iteration 8: 17024.865 us/op
[info] # Warmup Iteration 9: 16558.759 us/op
[info] # Warmup Iteration 10: 16404.128 us/op
[info] Iteration 1: 16439.305 us/op
[info] Iteration 2: 16556.746 us/op
[info] Iteration 3: 16626.974 us/op
[info] Iteration 4: 16788.564 us/op
[info] Iteration 5: 16632.175 us/op
[info] Iteration 6: 18062.437 us/op
[info] Iteration 7: 16745.888 us/op
[info] Iteration 8: 17892.064 us/op
[info] Iteration 9: 16842.882 us/op
[info] Iteration 10: 17933.985 us/op
[info] Iteration 11: 16767.860 us/op
[info] Iteration 12: 17618.944 us/op
[info] Iteration 13: 16871.414 us/op
[info] Iteration 14: 17632.511 us/op
[info] Iteration 15: 16982.669 us/op
[info] Iteration 16: 16861.888 us/op
[info] Iteration 17: 16645.101 us/op
[info] Iteration 18: 17634.731 us/op
[info] Iteration 19: 16795.854 us/op
[info] Iteration 20: 17363.143 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.foreach_array":
[info] 17084.757 ±(99.9%) 451.994 us/op [Average]
[info] (min, avg, max) = (16439.305, 17084.757, 18062.437), stdev = 520.516
[info] CI (99.9%): [16632.763, 17536.750] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.foreach_immutable_final
[info] # Run progress: 35.71% complete, ETA 00:09:29
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 22839.286 us/op
[info] # Warmup Iteration 2: 21360.051 us/op
[info] # Warmup Iteration 3: 20781.229 us/op
[info] # Warmup Iteration 4: 20417.646 us/op
[info] # Warmup Iteration 5: 20177.297 us/op
[info] # Warmup Iteration 6: 20857.125 us/op
[info] # Warmup Iteration 7: 21116.230 us/op
[info] # Warmup Iteration 8: 18798.447 us/op
[info] # Warmup Iteration 9: 17148.072 us/op
[info] # Warmup Iteration 10: 20342.254 us/op
[info] Iteration 1: 20134.961 us/op
[info] Iteration 2: 20602.843 us/op
[info] Iteration 3: 19136.530 us/op
[info] Iteration 4: 19795.916 us/op
[info] Iteration 5: 20853.105 us/op
[info] Iteration 6: 19921.655 us/op
[info] Iteration 7: 19773.131 us/op
[info] Iteration 8: 20423.501 us/op
[info] Iteration 9: 19303.585 us/op
[info] Iteration 10: 20275.791 us/op
[info] Iteration 11: 19860.283 us/op
[info] Iteration 12: 20417.311 us/op
[info] Iteration 13: 19231.006 us/op
[info] Iteration 14: 19902.277 us/op
[info] Iteration 15: 19006.267 us/op
[info] Iteration 16: 20283.557 us/op
[info] Iteration 17: 19808.685 us/op
[info] Iteration 18: 20467.612 us/op
[info] Iteration 19: 19011.402 us/op
[info] Iteration 20: 20817.342 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.foreach_immutable_final":
[info] 19951.338 ±(99.9%) 504.388 us/op [Average]
[info] (min, avg, max) = (19006.267, 19951.338, 20853.105), stdev = 580.854
[info] CI (99.9%): [19446.950, 20455.726] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.foreach_immutable_nonfinal
[info] # Run progress: 39.29% complete, ETA 00:08:57
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 21826.685 us/op
[info] # Warmup Iteration 2: 21414.729 us/op
[info] # Warmup Iteration 3: 21374.880 us/op
[info] # Warmup Iteration 4: 20155.788 us/op
[info] # Warmup Iteration 5: 20689.983 us/op
[info] # Warmup Iteration 6: 20178.670 us/op
[info] # Warmup Iteration 7: 19535.658 us/op
[info] # Warmup Iteration 8: 20059.912 us/op
[info] # Warmup Iteration 9: 21019.725 us/op
[info] # Warmup Iteration 10: 18581.592 us/op
[info] Iteration 1: 19058.357 us/op
[info] Iteration 2: 18610.469 us/op
[info] Iteration 3: 18833.227 us/op
[info] Iteration 4: 18947.844 us/op
[info] Iteration 5: 19835.701 us/op
[info] Iteration 6: 19793.178 us/op
[info] Iteration 7: 21195.474 us/op
[info] Iteration 8: 20060.070 us/op
[info] Iteration 9: 21059.344 us/op
[info] Iteration 10: 19531.809 us/op
[info] Iteration 11: 17878.824 us/op
[info] Iteration 12: 19445.971 us/op
[info] Iteration 13: 19431.266 us/op
[info] Iteration 14: 18509.782 us/op
[info] Iteration 15: 18990.251 us/op
[info] Iteration 16: 19502.123 us/op
[info] Iteration 17: 20146.723 us/op
[info] Iteration 18: 20809.793 us/op
[info] Iteration 19: 20788.898 us/op
[info] Iteration 20: 19855.357 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.foreach_immutable_nonfinal":
[info] 19614.223 ±(99.9%) 773.916 us/op [Average]
[info] (min, avg, max) = (17878.824, 19614.223, 21195.474), stdev = 891.242
[info] CI (99.9%): [18840.307, 20388.139] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.foreach_mutable_final
[info] # Run progress: 42.86% complete, ETA 00:08:26
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 17151.033 us/op
[info] # Warmup Iteration 2: 14681.587 us/op
[info] # Warmup Iteration 3: 17174.843 us/op
[info] # Warmup Iteration 4: 16516.252 us/op
[info] # Warmup Iteration 5: 17326.489 us/op
[info] # Warmup Iteration 6: 16941.972 us/op
[info] # Warmup Iteration 7: 16684.371 us/op
[info] # Warmup Iteration 8: 16374.544 us/op
[info] # Warmup Iteration 9: 16959.918 us/op
[info] # Warmup Iteration 10: 14460.375 us/op
[info] Iteration 1: 16427.134 us/op
[info] Iteration 2: 15893.025 us/op
[info] Iteration 3: 16456.357 us/op
[info] Iteration 4: 16533.694 us/op
[info] Iteration 5: 16648.956 us/op
[info] Iteration 6: 15130.627 us/op
[info] Iteration 7: 16604.861 us/op
[info] Iteration 8: 16626.958 us/op
[info] Iteration 9: 16593.235 us/op
[info] Iteration 10: 16573.702 us/op
[info] Iteration 11: 16983.103 us/op
[info] Iteration 12: 16639.214 us/op
[info] Iteration 13: 16448.196 us/op
[info] Iteration 14: 16411.815 us/op
[info] Iteration 15: 17185.610 us/op
[info] Iteration 16: 16628.363 us/op
[info] Iteration 17: 16807.502 us/op
[info] Iteration 18: 16372.070 us/op
[info] Iteration 19: 16444.459 us/op
[info] Iteration 20: 16652.925 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.foreach_mutable_final":
[info] 16503.090 ±(99.9%) 356.496 us/op [Average]
[info] (min, avg, max) = (15130.627, 16503.090, 17185.610), stdev = 410.542
[info] CI (99.9%): [16146.594, 16859.587] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.foreach_mutable_nonfinal
[info] # Run progress: 46.43% complete, ETA 00:07:54
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 16303.144 us/op
[info] # Warmup Iteration 2: 17866.442 us/op
[info] # Warmup Iteration 3: 17687.758 us/op
[info] # Warmup Iteration 4: 17049.039 us/op
[info] # Warmup Iteration 5: 17519.161 us/op
[info] # Warmup Iteration 6: 17227.980 us/op
[info] # Warmup Iteration 7: 17177.052 us/op
[info] # Warmup Iteration 8: 17430.299 us/op
[info] # Warmup Iteration 9: 18144.456 us/op
[info] # Warmup Iteration 10: 17582.108 us/op
[info] Iteration 1: 17429.910 us/op
[info] Iteration 2: 17509.696 us/op
[info] Iteration 3: 17434.629 us/op
[info] Iteration 4: 17600.598 us/op
[info] Iteration 5: 17168.450 us/op
[info] Iteration 6: 17050.626 us/op
[info] Iteration 7: 17210.881 us/op
[info] Iteration 8: 17989.244 us/op
[info] Iteration 9: 17396.073 us/op
[info] Iteration 10: 17200.792 us/op
[info] Iteration 11: 17076.693 us/op
[info] Iteration 12: 17814.926 us/op
[info] Iteration 13: 16920.539 us/op
[info] Iteration 14: 17138.759 us/op
[info] Iteration 15: 17475.585 us/op
[info] Iteration 16: 17515.671 us/op
[info] Iteration 17: 17225.009 us/op
[info] Iteration 18: 17156.018 us/op
[info] Iteration 19: 17038.269 us/op
[info] Iteration 20: 17975.270 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Large.foreach_mutable_nonfinal":
[info] 17366.382 ±(99.9%) 265.484 us/op [Average]
[info] (min, avg, max) = (16920.539, 17366.382, 17989.244), stdev = 305.731
[info] CI (99.9%): [17100.898, 17631.865] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach2_immutable_final
[info] # Run progress: 50.00% complete, ETA 00:07:22
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 0.888 us/op
[info] # Warmup Iteration 2: 0.832 us/op
[info] # Warmup Iteration 3: 0.751 us/op
[info] # Warmup Iteration 4: 0.763 us/op
[info] # Warmup Iteration 5: 0.761 us/op
[info] # Warmup Iteration 6: 0.783 us/op
[info] # Warmup Iteration 7: 0.782 us/op
[info] # Warmup Iteration 8: 0.787 us/op
[info] # Warmup Iteration 9: 0.801 us/op
[info] # Warmup Iteration 10: 0.782 us/op
[info] Iteration 1: 0.747 us/op
[info] Iteration 2: 0.748 us/op
[info] Iteration 3: 0.753 us/op
[info] Iteration 4: 0.758 us/op
[info] Iteration 5: 0.748 us/op
[info] Iteration 6: 0.745 us/op
[info] Iteration 7: 0.756 us/op
[info] Iteration 8: 0.753 us/op
[info] Iteration 9: 0.755 us/op
[info] Iteration 10: 0.748 us/op
[info] Iteration 11: 0.751 us/op
[info] Iteration 12: 0.760 us/op
[info] Iteration 13: 0.750 us/op
[info] Iteration 14: 0.779 us/op
[info] Iteration 15: 0.755 us/op
[info] Iteration 16: 0.750 us/op
[info] Iteration 17: 0.748 us/op
[info] Iteration 18: 0.751 us/op
[info] Iteration 19: 0.764 us/op
[info] Iteration 20: 0.746 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach2_immutable_final":
[info] 0.753 ±(99.9%) 0.007 us/op [Average]
[info] (min, avg, max) = (0.745, 0.753, 0.779), stdev = 0.008
[info] CI (99.9%): [0.747, 0.760] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach2_immutable_nonfinal
[info] # Run progress: 53.57% complete, ETA 00:06:50
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 0.892 us/op
[info] # Warmup Iteration 2: 0.846 us/op
[info] # Warmup Iteration 3: 0.773 us/op
[info] # Warmup Iteration 4: 0.769 us/op
[info] # Warmup Iteration 5: 0.756 us/op
[info] # Warmup Iteration 6: 0.755 us/op
[info] # Warmup Iteration 7: 0.752 us/op
[info] # Warmup Iteration 8: 0.760 us/op
[info] # Warmup Iteration 9: 0.753 us/op
[info] # Warmup Iteration 10: 0.753 us/op
[info] Iteration 1: 0.764 us/op
[info] Iteration 2: 0.756 us/op
[info] Iteration 3: 0.763 us/op
[info] Iteration 4: 0.753 us/op
[info] Iteration 5: 0.760 us/op
[info] Iteration 6: 0.756 us/op
[info] Iteration 7: 0.762 us/op
[info] Iteration 8: 0.764 us/op
[info] Iteration 9: 0.756 us/op
[info] Iteration 10: 0.753 us/op
[info] Iteration 11: 0.758 us/op
[info] Iteration 12: 0.752 us/op
[info] Iteration 13: 0.762 us/op
[info] Iteration 14: 0.753 us/op
[info] Iteration 15: 0.761 us/op
[info] Iteration 16: 0.766 us/op
[info] Iteration 17: 0.763 us/op
[info] Iteration 18: 0.761 us/op
[info] Iteration 19: 0.748 us/op
[info] Iteration 20: 0.759 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach2_immutable_nonfinal":
[info] 0.758 ±(99.9%) 0.004 us/op [Average]
[info] (min, avg, max) = (0.748, 0.758, 0.766), stdev = 0.005
[info] CI (99.9%): [0.754, 0.763] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach2_mutable_final
[info] # Run progress: 57.14% complete, ETA 00:06:18
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 0.484 us/op
[info] # Warmup Iteration 2: 0.490 us/op
[info] # Warmup Iteration 3: 0.528 us/op
[info] # Warmup Iteration 4: 0.534 us/op
[info] # Warmup Iteration 5: 0.529 us/op
[info] # Warmup Iteration 6: 0.531 us/op
[info] # Warmup Iteration 7: 0.533 us/op
[info] # Warmup Iteration 8: 0.533 us/op
[info] # Warmup Iteration 9: 0.532 us/op
[info] # Warmup Iteration 10: 0.527 us/op
[info] Iteration 1: 0.523 us/op
[info] Iteration 2: 0.533 us/op
[info] Iteration 3: 0.525 us/op
[info] Iteration 4: 0.524 us/op
[info] Iteration 5: 0.531 us/op
[info] Iteration 6: 0.529 us/op
[info] Iteration 7: 0.530 us/op
[info] Iteration 8: 0.524 us/op
[info] Iteration 9: 0.524 us/op
[info] Iteration 10: 0.528 us/op
[info] Iteration 11: 0.521 us/op
[info] Iteration 12: 0.530 us/op
[info] Iteration 13: 0.524 us/op
[info] Iteration 14: 0.525 us/op
[info] Iteration 15: 0.526 us/op
[info] Iteration 16: 0.528 us/op
[info] Iteration 17: 0.532 us/op
[info] Iteration 18: 0.532 us/op
[info] Iteration 19: 0.554 us/op
[info] Iteration 20: 0.529 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach2_mutable_final":
[info] 0.529 ±(99.9%) 0.006 us/op [Average]
[info] (min, avg, max) = (0.521, 0.529, 0.554), stdev = 0.007
[info] CI (99.9%): [0.523, 0.535] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach2_mutable_nonfinal
[info] # Run progress: 60.71% complete, ETA 00:05:46
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 0.486 us/op
[info] # Warmup Iteration 2: 0.468 us/op
[info] # Warmup Iteration 3: 0.537 us/op
[info] # Warmup Iteration 4: 0.532 us/op
[info] # Warmup Iteration 5: 0.537 us/op
[info] # Warmup Iteration 6: 0.525 us/op
[info] # Warmup Iteration 7: 0.533 us/op
[info] # Warmup Iteration 8: 0.534 us/op
[info] # Warmup Iteration 9: 0.534 us/op
[info] # Warmup Iteration 10: 0.529 us/op
[info] Iteration 1: 0.534 us/op
[info] Iteration 2: 0.537 us/op
[info] Iteration 3: 0.532 us/op
[info] Iteration 4: 0.527 us/op
[info] Iteration 5: 0.532 us/op
[info] Iteration 6: 0.528 us/op
[info] Iteration 7: 0.538 us/op
[info] Iteration 8: 0.518 us/op
[info] Iteration 9: 0.535 us/op
[info] Iteration 10: 0.527 us/op
[info] Iteration 11: 0.530 us/op
[info] Iteration 12: 0.540 us/op
[info] Iteration 13: 0.532 us/op
[info] Iteration 14: 0.531 us/op
[info] Iteration 15: 0.536 us/op
[info] Iteration 16: 0.529 us/op
[info] Iteration 17: 0.538 us/op
[info] Iteration 18: 0.530 us/op
[info] Iteration 19: 0.533 us/op
[info] Iteration 20: 0.529 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach2_mutable_nonfinal":
[info] 0.532 ±(99.9%) 0.004 us/op [Average]
[info] (min, avg, max) = (0.518, 0.532, 0.540), stdev = 0.005
[info] CI (99.9%): [0.528, 0.536] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach_array
[info] # Run progress: 64.29% complete, ETA 00:05:14
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 0.381 us/op
[info] # Warmup Iteration 2: 0.368 us/op
[info] # Warmup Iteration 3: 0.377 us/op
[info] # Warmup Iteration 4: 0.361 us/op
[info] # Warmup Iteration 5: 0.357 us/op
[info] # Warmup Iteration 6: 0.365 us/op
[info] # Warmup Iteration 7: 0.358 us/op
[info] # Warmup Iteration 8: 0.359 us/op
[info] # Warmup Iteration 9: 0.358 us/op
[info] # Warmup Iteration 10: 0.356 us/op
[info] Iteration 1: 0.361 us/op
[info] Iteration 2: 0.358 us/op
[info] Iteration 3: 0.356 us/op
[info] Iteration 4: 0.357 us/op
[info] Iteration 5: 0.357 us/op
[info] Iteration 6: 0.361 us/op
[info] Iteration 7: 0.355 us/op
[info] Iteration 8: 0.355 us/op
[info] Iteration 9: 0.359 us/op
[info] Iteration 10: 0.355 us/op
[info] Iteration 11: 0.357 us/op
[info] Iteration 12: 0.355 us/op
[info] Iteration 13: 0.356 us/op
[info] Iteration 14: 0.358 us/op
[info] Iteration 15: 0.357 us/op
[info] Iteration 16: 0.360 us/op
[info] Iteration 17: 0.359 us/op
[info] Iteration 18: 0.355 us/op
[info] Iteration 19: 0.355 us/op
[info] Iteration 20: 0.356 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach_array":
[info] 0.357 ±(99.9%) 0.002 us/op [Average]
[info] (min, avg, max) = (0.355, 0.357, 0.361), stdev = 0.002
[info] CI (99.9%): [0.355, 0.359] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach_immutable_final
[info] # Run progress: 67.86% complete, ETA 00:04:42
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 0.810 us/op
[info] # Warmup Iteration 2: 0.781 us/op
[info] # Warmup Iteration 3: 0.804 us/op
[info] # Warmup Iteration 4: 0.748 us/op
[info] # Warmup Iteration 5: 0.751 us/op
[info] # Warmup Iteration 6: 0.744 us/op
[info] # Warmup Iteration 7: 0.750 us/op
[info] # Warmup Iteration 8: 0.751 us/op
[info] # Warmup Iteration 9: 0.746 us/op
[info] # Warmup Iteration 10: 0.756 us/op
[info] Iteration 1: 0.741 us/op
[info] Iteration 2: 0.746 us/op
[info] Iteration 3: 0.740 us/op
[info] Iteration 4: 0.751 us/op
[info] Iteration 5: 0.758 us/op
[info] Iteration 6: 0.742 us/op
[info] Iteration 7: 0.748 us/op
[info] Iteration 8: 0.742 us/op
[info] Iteration 9: 0.744 us/op
[info] Iteration 10: 0.767 us/op
[info] Iteration 11: 0.744 us/op
[info] Iteration 12: 0.741 us/op
[info] Iteration 13: 0.743 us/op
[info] Iteration 14: 0.752 us/op
[info] Iteration 15: 0.756 us/op
[info] Iteration 16: 0.744 us/op
[info] Iteration 17: 0.746 us/op
[info] Iteration 18: 0.747 us/op
[info] Iteration 19: 0.738 us/op
[info] Iteration 20: 0.756 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach_immutable_final":
[info] 0.747 ±(99.9%) 0.006 us/op [Average]
[info] (min, avg, max) = (0.738, 0.747, 0.767), stdev = 0.007
[info] CI (99.9%): [0.741, 0.754] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java
[info] # VM options: -server -Xms1g -Xmx1g -XX:NewSize=512m -XX:MaxNewSize=512m -XX:InitialCodeCacheSize=256m -XX:ReservedCodeCacheSize=256m -XX:+UseParallelGC -XX:MaxInlineLevel=18 -XX:+AlwaysPreTouch
[info] # Blackhole mode: compiler (auto-detected, use -Djmh.blackhole.autoDetect=false to disable)
[info] # Warmup: 10 iterations, 1 s each
[info] # Measurement: 20 iterations, 1 s each
[info] # Timeout: 10 min per iteration
[info] # Threads: 1 thread, will synchronize iterations
[info] # Benchmark mode: Average time, time/op
[info] # Benchmark: co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach_immutable_nonfinal
[info] # Run progress: 71.43% complete, ETA 00:04:11
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 0.799 us/op
[info] # Warmup Iteration 2: 0.775 us/op
[info] # Warmup Iteration 3: 0.710 us/op
[info] # Warmup Iteration 4: 0.725 us/op
[info] # Warmup Iteration 5: 0.706 us/op
[info] # Warmup Iteration 6: 0.713 us/op
[info] # Warmup Iteration 7: 0.705 us/op
[info] # Warmup Iteration 8: 0.705 us/op
[info] # Warmup Iteration 9: 0.714 us/op
[info] # Warmup Iteration 10: 0.714 us/op
[info] Iteration 1: 0.706 us/op
[info] Iteration 2: 0.713 us/op
[info] Iteration 3: 0.704 us/op
[info] Iteration 4: 0.719 us/op
[info] Iteration 5: 0.708 us/op
[info] Iteration 6: 0.707 us/op
[info] Iteration 7: 0.704 us/op
[info] Iteration 8: 0.709 us/op
[info] Iteration 9: 0.712 us/op
[info] Iteration 10: 0.701 us/op
[info] Iteration 11: 0.701 us/op
[info] Iteration 12: 0.711 us/op
[info] Iteration 13: 0.722 us/op
[info] Iteration 14: 0.715 us/op
[info] Iteration 15: 0.708 us/op
[info] Iteration 16: 0.709 us/op
[info] Iteration 17: 0.703 us/op
[info] Iteration 18: 0.710 us/op
[info] Iteration 19: 0.716 us/op
[info] Iteration 20: 0.708 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter4.StatsBenchmark_Small.fastForeach_immutable_nonfinal":
[info] 0.709 ±(99.9%) 0.005 us/op [Average]
[info] (min, avg, max) = (0.701, 0.709, 0.722), stdev = 0.006
[info] CI (99.9%): [0.704, 0.714] (assumes normal distribution)
[info] # JMH version: 1.37
[info] # VM version: JDK 21.0.4, OpenJDK 64-Bit Server VM, 21.0.4+7-LTS
[info] # VM invoker: /home/gaelrenoux/.sdkman/candidates/java/21.0.4-tem/bin/java