-
Notifications
You must be signed in to change notification settings - Fork 0
/
chapter3-iteration.report.txt
10678 lines (10678 loc) · 551 KB
/
chapter3-iteration.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:10:28 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.generators.bytecode.JmhBytecodeGenerator /home/gaelrenoux/Repositories/DataDome/public-scalaio2024-benchmarks/target/scala-3.5.1/classes /home/gaelrenoux/Repositories/DataDome/public-scalaio2024-benchmarks/target/scala-3.5.1/src_managed/jmh /home/gaelrenoux/Repositories/DataDome/public-scalaio2024-benchmarks/target/scala-3.5.1/resource_managed/jmh default
[info] Processing 1377 classes from /home/gaelrenoux/Repositories/DataDome/public-scalaio2024-benchmarks/target/scala-3.5.1/classes with "reflection" generator
[info] Writing out Java source to /home/gaelrenoux/Repositories/DataDome/public-scalaio2024-benchmarks/target/scala-3.5.1/src_managed/jmh and resources to /home/gaelrenoux/Repositories/DataDome/public-scalaio2024-benchmarks/target/scala-3.5.1/resource_managed/jmh
[info] running (fork) org.openjdk.jmh.Main -i 20 -wi 10 -f1 -t1 .*chapter3.CollectionStringIterationBenchmark_(Small|Large)
[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.chapter3.CollectionStringIterationBenchmark_Large.fastFoldLeftWithIndex_Vector
[info] # Run progress: 0.00% complete, ETA 00:22:00
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 16964.312 us/op
[info] # Warmup Iteration 2: 20417.305 us/op
[info] # Warmup Iteration 3: 19071.526 us/op
[info] # Warmup Iteration 4: 16577.713 us/op
[info] # Warmup Iteration 5: 12748.199 us/op
[info] # Warmup Iteration 6: 10965.581 us/op
[info] # Warmup Iteration 7: 12881.787 us/op
[info] # Warmup Iteration 8: 12884.088 us/op
[info] # Warmup Iteration 9: 12834.484 us/op
[info] # Warmup Iteration 10: 12768.834 us/op
[info] Iteration 1: 12956.791 us/op
[info] Iteration 2: 15179.152 us/op
[info] Iteration 3: 15880.746 us/op
[info] Iteration 4: 14758.021 us/op
[info] Iteration 5: 15776.733 us/op
[info] Iteration 6: 13040.891 us/op
[info] Iteration 7: 11667.677 us/op
[info] Iteration 8: 12849.885 us/op
[info] Iteration 9: 12918.662 us/op
[info] Iteration 10: 13247.156 us/op
[info] Iteration 11: 17612.260 us/op
[info] Iteration 12: 17308.159 us/op
[info] Iteration 13: 16246.100 us/op
[info] Iteration 14: 20444.035 us/op
[info] Iteration 15: 16246.170 us/op
[info] Iteration 16: 20576.401 us/op
[info] Iteration 17: 15678.707 us/op
[info] Iteration 18: 14792.937 us/op
[info] Iteration 19: 13340.901 us/op
[info] Iteration 20: 14630.364 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.fastFoldLeftWithIndex_Vector":
[info] 15257.587 ±(99.9%) 2095.742 us/op [Average]
[info] (min, avg, max) = (11667.677, 15257.587, 20576.401), stdev = 2413.460
[info] CI (99.9%): [13161.845, 17353.330] (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.chapter3.CollectionStringIterationBenchmark_Large.fastFoldLeft_Array
[info] # Run progress: 2.27% complete, ETA 00:22:59
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 13019.700 us/op
[info] # Warmup Iteration 2: 13473.768 us/op
[info] # Warmup Iteration 3: 13740.908 us/op
[info] # Warmup Iteration 4: 13946.967 us/op
[info] # Warmup Iteration 5: 12939.501 us/op
[info] # Warmup Iteration 6: 13466.565 us/op
[info] # Warmup Iteration 7: 13357.164 us/op
[info] # Warmup Iteration 8: 13589.790 us/op
[info] # Warmup Iteration 9: 6880.563 us/op
[info] # Warmup Iteration 10: 13468.873 us/op
[info] Iteration 1: 13316.147 us/op
[info] Iteration 2: 14114.168 us/op
[info] Iteration 3: 9854.929 us/op
[info] Iteration 4: 13229.574 us/op
[info] Iteration 5: 13264.735 us/op
[info] Iteration 6: 7848.152 us/op
[info] Iteration 7: 6995.365 us/op
[info] Iteration 8: 13025.559 us/op
[info] Iteration 9: 12305.808 us/op
[info] Iteration 10: 6882.933 us/op
[info] Iteration 11: 7734.311 us/op
[info] Iteration 12: 13626.579 us/op
[info] Iteration 13: 13836.089 us/op
[info] Iteration 14: 13965.618 us/op
[info] Iteration 15: 13351.380 us/op
[info] Iteration 16: 13706.458 us/op
[info] Iteration 17: 13836.032 us/op
[info] Iteration 18: 14112.957 us/op
[info] Iteration 19: 13490.087 us/op
[info] Iteration 20: 13350.852 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.fastFoldLeft_Array":
[info] 12092.387 ±(99.9%) 2254.327 us/op [Average]
[info] (min, avg, max) = (6882.933, 12092.387, 14114.168), stdev = 2596.086
[info] CI (99.9%): [9838.060, 14346.713] (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.chapter3.CollectionStringIterationBenchmark_Large.fastFoldLeft_List
[info] # Run progress: 4.55% complete, ETA 00:22:26
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 13372.233 us/op
[info] # Warmup Iteration 2: 17704.096 us/op
[info] # Warmup Iteration 3: 19034.383 us/op
[info] # Warmup Iteration 4: 18655.571 us/op
[info] # Warmup Iteration 5: 18681.441 us/op
[info] # Warmup Iteration 6: 17935.252 us/op
[info] # Warmup Iteration 7: 16284.830 us/op
[info] # Warmup Iteration 8: 18596.624 us/op
[info] # Warmup Iteration 9: 18788.142 us/op
[info] # Warmup Iteration 10: 18657.836 us/op
[info] Iteration 1: 18732.705 us/op
[info] Iteration 2: 19143.045 us/op
[info] Iteration 3: 19197.770 us/op
[info] Iteration 4: 18661.772 us/op
[info] Iteration 5: 18798.466 us/op
[info] Iteration 6: 18669.485 us/op
[info] Iteration 7: 18725.878 us/op
[info] Iteration 8: 18733.993 us/op
[info] Iteration 9: 15286.485 us/op
[info] Iteration 10: 18753.378 us/op
[info] Iteration 11: 18747.130 us/op
[info] Iteration 12: 19012.264 us/op
[info] Iteration 13: 18941.309 us/op
[info] Iteration 14: 19163.024 us/op
[info] Iteration 15: 18120.121 us/op
[info] Iteration 16: 18940.845 us/op
[info] Iteration 17: 19137.297 us/op
[info] Iteration 18: 19207.590 us/op
[info] Iteration 19: 19056.863 us/op
[info] Iteration 20: 18717.356 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.fastFoldLeft_List":
[info] 18687.339 ±(99.9%) 730.711 us/op [Average]
[info] (min, avg, max) = (15286.485, 18687.339, 19207.590), stdev = 841.487
[info] CI (99.9%): [17956.628, 19418.049] (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.chapter3.CollectionStringIterationBenchmark_Large.fastFoldLeft_Vector
[info] # Run progress: 6.82% complete, ETA 00:21:55
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 12811.896 us/op
[info] # Warmup Iteration 2: 13497.862 us/op
[info] # Warmup Iteration 3: 12829.787 us/op
[info] # Warmup Iteration 4: 12748.562 us/op
[info] # Warmup Iteration 5: 17848.113 us/op
[info] # Warmup Iteration 6: 18206.378 us/op
[info] # Warmup Iteration 7: 19614.016 us/op
[info] # Warmup Iteration 8: 18652.879 us/op
[info] # Warmup Iteration 9: 17156.816 us/op
[info] # Warmup Iteration 10: 18068.232 us/op
[info] Iteration 1: 18155.905 us/op
[info] Iteration 2: 18168.122 us/op
[info] Iteration 3: 18082.267 us/op
[info] Iteration 4: 18210.395 us/op
[info] Iteration 5: 18165.586 us/op
[info] Iteration 6: 18217.430 us/op
[info] Iteration 7: 13350.018 us/op
[info] Iteration 8: 12603.496 us/op
[info] Iteration 9: 12564.211 us/op
[info] Iteration 10: 14955.225 us/op
[info] Iteration 11: 14225.821 us/op
[info] Iteration 12: 18052.047 us/op
[info] Iteration 13: 17917.968 us/op
[info] Iteration 14: 17911.723 us/op
[info] Iteration 15: 17642.351 us/op
[info] Iteration 16: 17952.347 us/op
[info] Iteration 17: 18083.280 us/op
[info] Iteration 18: 17823.044 us/op
[info] Iteration 19: 17807.150 us/op
[info] Iteration 20: 17886.792 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.fastFoldLeft_Vector":
[info] 16888.759 ±(99.9%) 1776.523 us/op [Average]
[info] (min, avg, max) = (12564.211, 16888.759, 18217.430), stdev = 2045.847
[info] CI (99.9%): [15112.236, 18665.282] (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.chapter3.CollectionStringIterationBenchmark_Large.foldLeft_Array
[info] # Run progress: 9.09% complete, ETA 00:21:23
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 13645.157 us/op
[info] # Warmup Iteration 2: 11591.282 us/op
[info] # Warmup Iteration 3: 10679.131 us/op
[info] # Warmup Iteration 4: 9742.406 us/op
[info] # Warmup Iteration 5: 10607.613 us/op
[info] # Warmup Iteration 6: 9379.316 us/op
[info] # Warmup Iteration 7: 10013.757 us/op
[info] # Warmup Iteration 8: 10599.068 us/op
[info] # Warmup Iteration 9: 10940.268 us/op
[info] # Warmup Iteration 10: 9702.346 us/op
[info] Iteration 1: 10457.956 us/op
[info] Iteration 2: 10066.785 us/op
[info] Iteration 3: 10506.834 us/op
[info] Iteration 4: 10925.021 us/op
[info] Iteration 5: 10966.976 us/op
[info] Iteration 6: 11091.661 us/op
[info] Iteration 7: 11141.012 us/op
[info] Iteration 8: 11095.040 us/op
[info] Iteration 9: 10965.485 us/op
[info] Iteration 10: 10756.858 us/op
[info] Iteration 11: 10973.880 us/op
[info] Iteration 12: 10845.270 us/op
[info] Iteration 13: 10200.775 us/op
[info] Iteration 14: 11217.222 us/op
[info] Iteration 15: 11079.283 us/op
[info] Iteration 16: 10538.595 us/op
[info] Iteration 17: 10839.904 us/op
[info] Iteration 18: 10820.605 us/op
[info] Iteration 19: 11090.459 us/op
[info] Iteration 20: 11166.738 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.foldLeft_Array":
[info] 10837.318 ±(99.9%) 282.189 us/op [Average]
[info] (min, avg, max) = (10066.785, 10837.318, 11217.222), stdev = 324.969
[info] CI (99.9%): [10555.129, 11119.507] (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.chapter3.CollectionStringIterationBenchmark_Large.foldLeft_List
[info] # Run progress: 11.36% complete, ETA 00:20:50
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 15641.358 us/op
[info] # Warmup Iteration 2: 12963.103 us/op
[info] # Warmup Iteration 3: 14543.879 us/op
[info] # Warmup Iteration 4: 14044.976 us/op
[info] # Warmup Iteration 5: 13939.311 us/op
[info] # Warmup Iteration 6: 13579.467 us/op
[info] # Warmup Iteration 7: 12971.821 us/op
[info] # Warmup Iteration 8: 13435.697 us/op
[info] # Warmup Iteration 9: 12710.276 us/op
[info] # Warmup Iteration 10: 12888.635 us/op
[info] Iteration 1: 12017.458 us/op
[info] Iteration 2: 11448.207 us/op
[info] Iteration 3: 12365.649 us/op
[info] Iteration 4: 12982.943 us/op
[info] Iteration 5: 13285.146 us/op
[info] Iteration 6: 12710.870 us/op
[info] Iteration 7: 13140.425 us/op
[info] Iteration 8: 13129.374 us/op
[info] Iteration 9: 13005.420 us/op
[info] Iteration 10: 14196.909 us/op
[info] Iteration 11: 13436.432 us/op
[info] Iteration 12: 12328.300 us/op
[info] Iteration 13: 12081.049 us/op
[info] Iteration 14: 12070.483 us/op
[info] Iteration 15: 12099.065 us/op
[info] Iteration 16: 11989.309 us/op
[info] Iteration 17: 12111.184 us/op
[info] Iteration 18: 12086.542 us/op
[info] Iteration 19: 12440.291 us/op
[info] Iteration 20: 12420.957 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.foldLeft_List":
[info] 12567.301 ±(99.9%) 567.738 us/op [Average]
[info] (min, avg, max) = (11448.207, 12567.301, 14196.909), stdev = 653.808
[info] CI (99.9%): [11999.563, 13135.038] (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.chapter3.CollectionStringIterationBenchmark_Large.foldLeft_Vector
[info] # Run progress: 13.64% complete, ETA 00:20:18
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 18205.117 us/op
[info] # Warmup Iteration 2: 11691.527 us/op
[info] # Warmup Iteration 3: 13668.246 us/op
[info] # Warmup Iteration 4: 16106.061 us/op
[info] # Warmup Iteration 5: 14694.710 us/op
[info] # Warmup Iteration 6: 13528.334 us/op
[info] # Warmup Iteration 7: 14519.293 us/op
[info] # Warmup Iteration 8: 16190.440 us/op
[info] # Warmup Iteration 9: 15836.511 us/op
[info] # Warmup Iteration 10: 16057.075 us/op
[info] Iteration 1: 14725.235 us/op
[info] Iteration 2: 12805.365 us/op
[info] Iteration 3: 13475.552 us/op
[info] Iteration 4: 15535.867 us/op
[info] Iteration 5: 14181.086 us/op
[info] Iteration 6: 16980.969 us/op
[info] Iteration 7: 13811.475 us/op
[info] Iteration 8: 16030.839 us/op
[info] Iteration 9: 14721.696 us/op
[info] Iteration 10: 14236.849 us/op
[info] Iteration 11: 16269.214 us/op
[info] Iteration 12: 14584.243 us/op
[info] Iteration 13: 14021.889 us/op
[info] Iteration 14: 13216.107 us/op
[info] Iteration 15: 13426.905 us/op
[info] Iteration 16: 14507.412 us/op
[info] Iteration 17: 13008.006 us/op
[info] Iteration 18: 13407.067 us/op
[info] Iteration 19: 13521.162 us/op
[info] Iteration 20: 12794.166 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.foldLeft_Vector":
[info] 14263.055 ±(99.9%) 1026.860 us/op [Average]
[info] (min, avg, max) = (12794.166, 14263.055, 16980.969), stdev = 1182.534
[info] CI (99.9%): [13236.195, 15289.916] (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.chapter3.CollectionStringIterationBenchmark_Large.for_Array
[info] # Run progress: 15.91% complete, ETA 00:19:46
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 14873.324 us/op
[info] # Warmup Iteration 2: 14637.182 us/op
[info] # Warmup Iteration 3: 14687.721 us/op
[info] # Warmup Iteration 4: 14665.726 us/op
[info] # Warmup Iteration 5: 14617.932 us/op
[info] # Warmup Iteration 6: 14128.145 us/op
[info] # Warmup Iteration 7: 14612.728 us/op
[info] # Warmup Iteration 8: 10014.583 us/op
[info] # Warmup Iteration 9: 8787.555 us/op
[info] # Warmup Iteration 10: 8753.643 us/op
[info] Iteration 1: 8701.972 us/op
[info] Iteration 2: 8642.918 us/op
[info] Iteration 3: 8770.002 us/op
[info] Iteration 4: 14369.417 us/op
[info] Iteration 5: 14602.899 us/op
[info] Iteration 6: 14537.930 us/op
[info] Iteration 7: 14471.929 us/op
[info] Iteration 8: 14624.310 us/op
[info] Iteration 9: 14502.283 us/op
[info] Iteration 10: 14609.359 us/op
[info] Iteration 11: 14505.190 us/op
[info] Iteration 12: 14649.724 us/op
[info] Iteration 13: 14632.234 us/op
[info] Iteration 14: 14643.432 us/op
[info] Iteration 15: 10757.031 us/op
[info] Iteration 16: 14036.285 us/op
[info] Iteration 17: 14537.357 us/op
[info] Iteration 18: 14095.516 us/op
[info] Iteration 19: 14533.570 us/op
[info] Iteration 20: 14076.845 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.for_Array":
[info] 13415.010 ±(99.9%) 1909.751 us/op [Average]
[info] (min, avg, max) = (8642.918, 13415.010, 14649.724), stdev = 2199.272
[info] CI (99.9%): [11505.259, 15324.761] (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.chapter3.CollectionStringIterationBenchmark_Large.for_List
[info] # Run progress: 18.18% complete, ETA 00:19:13
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 19427.910 us/op
[info] # Warmup Iteration 2: 19082.492 us/op
[info] # Warmup Iteration 3: 19458.185 us/op
[info] # Warmup Iteration 4: 19254.947 us/op
[info] # Warmup Iteration 5: 19277.504 us/op
[info] # Warmup Iteration 6: 19091.706 us/op
[info] # Warmup Iteration 7: 19329.207 us/op
[info] # Warmup Iteration 8: 19309.850 us/op
[info] # Warmup Iteration 9: 19283.480 us/op
[info] # Warmup Iteration 10: 19225.521 us/op
[info] Iteration 1: 16433.832 us/op
[info] Iteration 2: 18741.851 us/op
[info] Iteration 3: 19524.537 us/op
[info] Iteration 4: 19347.700 us/op
[info] Iteration 5: 19235.740 us/op
[info] Iteration 6: 19619.666 us/op
[info] Iteration 7: 19261.655 us/op
[info] Iteration 8: 19271.066 us/op
[info] Iteration 9: 19440.506 us/op
[info] Iteration 10: 19189.605 us/op
[info] Iteration 11: 19119.832 us/op
[info] Iteration 12: 14499.805 us/op
[info] Iteration 13: 18517.263 us/op
[info] Iteration 14: 19000.177 us/op
[info] Iteration 15: 17388.299 us/op
[info] Iteration 16: 19246.531 us/op
[info] Iteration 17: 18980.932 us/op
[info] Iteration 18: 19268.768 us/op
[info] Iteration 19: 19141.045 us/op
[info] Iteration 20: 19238.696 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.for_List":
[info] 18723.375 ±(99.9%) 1084.502 us/op [Average]
[info] (min, avg, max) = (14499.805, 18723.375, 19619.666), stdev = 1248.914
[info] CI (99.9%): [17638.873, 19807.877] (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.chapter3.CollectionStringIterationBenchmark_Large.for_Vector
[info] # Run progress: 20.45% complete, ETA 00:18:41
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 8285.104 us/op
[info] # Warmup Iteration 2: 11709.292 us/op
[info] # Warmup Iteration 3: 11863.665 us/op
[info] # Warmup Iteration 4: 11890.103 us/op
[info] # Warmup Iteration 5: 11822.733 us/op
[info] # Warmup Iteration 6: 11734.674 us/op
[info] # Warmup Iteration 7: 11579.071 us/op
[info] # Warmup Iteration 8: 11586.912 us/op
[info] # Warmup Iteration 9: 12083.155 us/op
[info] # Warmup Iteration 10: 11827.772 us/op
[info] Iteration 1: 12306.959 us/op
[info] Iteration 2: 11740.294 us/op
[info] Iteration 3: 12856.009 us/op
[info] Iteration 4: 11716.508 us/op
[info] Iteration 5: 12022.474 us/op
[info] Iteration 6: 11723.016 us/op
[info] Iteration 7: 11886.001 us/op
[info] Iteration 8: 11601.981 us/op
[info] Iteration 9: 12086.501 us/op
[info] Iteration 10: 11669.052 us/op
[info] Iteration 11: 13171.864 us/op
[info] Iteration 12: 11584.117 us/op
[info] Iteration 13: 11951.338 us/op
[info] Iteration 14: 11673.646 us/op
[info] Iteration 15: 12351.824 us/op
[info] Iteration 16: 7927.975 us/op
[info] Iteration 17: 7874.117 us/op
[info] Iteration 18: 7814.421 us/op
[info] Iteration 19: 7924.780 us/op
[info] Iteration 20: 7815.041 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.for_Vector":
[info] 10984.896 ±(99.9%) 1639.806 us/op [Average]
[info] (min, avg, max) = (7814.421, 10984.896, 13171.864), stdev = 1888.403
[info] CI (99.9%): [9345.090, 12624.702] (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.chapter3.CollectionStringIterationBenchmark_Large.mapSum_Array
[info] # Run progress: 22.73% complete, ETA 00:18:09
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 22250.658 us/op
[info] # Warmup Iteration 2: 15332.451 us/op
[info] # Warmup Iteration 3: 14249.008 us/op
[info] # Warmup Iteration 4: 13979.039 us/op
[info] # Warmup Iteration 5: 14140.585 us/op
[info] # Warmup Iteration 6: 14052.390 us/op
[info] # Warmup Iteration 7: 14195.787 us/op
[info] # Warmup Iteration 8: 13955.685 us/op
[info] # Warmup Iteration 9: 14133.750 us/op
[info] # Warmup Iteration 10: 14108.633 us/op
[info] Iteration 1: 14135.749 us/op
[info] Iteration 2: 14090.525 us/op
[info] Iteration 3: 14016.112 us/op
[info] Iteration 4: 13895.521 us/op
[info] Iteration 5: 14138.955 us/op
[info] Iteration 6: 13956.742 us/op
[info] Iteration 7: 14161.638 us/op
[info] Iteration 8: 13970.241 us/op
[info] Iteration 9: 13942.241 us/op
[info] Iteration 10: 13958.505 us/op
[info] Iteration 11: 14171.816 us/op
[info] Iteration 12: 14208.096 us/op
[info] Iteration 13: 14179.126 us/op
[info] Iteration 14: 14116.176 us/op
[info] Iteration 15: 14045.460 us/op
[info] Iteration 16: 16738.439 us/op
[info] Iteration 17: 16601.367 us/op
[info] Iteration 18: 16356.852 us/op
[info] Iteration 19: 16184.033 us/op
[info] Iteration 20: 15744.441 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.mapSum_Array":
[info] 14630.602 ±(99.9%) 888.513 us/op [Average]
[info] (min, avg, max) = (13895.521, 14630.602, 16738.439), stdev = 1023.213
[info] CI (99.9%): [13742.089, 15519.115] (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.chapter3.CollectionStringIterationBenchmark_Large.mapSum_List
[info] # Run progress: 25.00% complete, ETA 00:17:37
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 77125.749 us/op
[info] # Warmup Iteration 2: 50335.675 us/op
[info] # Warmup Iteration 3: 128522.519 us/op
[info] # Warmup Iteration 4: 98720.404 us/op
[info] # Warmup Iteration 5: 72630.862 us/op
[info] # Warmup Iteration 6: 54662.697 us/op
[info] # Warmup Iteration 7: 55573.215 us/op
[info] # Warmup Iteration 8: 60352.661 us/op
[info] # Warmup Iteration 9: 45737.448 us/op
[info] # Warmup Iteration 10: 44353.240 us/op
[info] Iteration 1: 40088.541 us/op
[info] Iteration 2: 43831.122 us/op
[info] Iteration 3: 37681.853 us/op
[info] Iteration 4: 37199.089 us/op
[info] Iteration 5: 51717.150 us/op
[info] Iteration 6: 36148.694 us/op
[info] Iteration 7: 43823.665 us/op
[info] Iteration 8: 36102.690 us/op
[info] Iteration 9: 36794.957 us/op
[info] Iteration 10: 34108.945 us/op
[info] Iteration 11: 34565.892 us/op
[info] Iteration 12: 38554.766 us/op
[info] Iteration 13: 37167.792 us/op
[info] Iteration 14: 35086.345 us/op
[info] Iteration 15: 36211.155 us/op
[info] Iteration 16: 33343.763 us/op
[info] Iteration 17: 34940.951 us/op
[info] Iteration 18: 31792.086 us/op
[info] Iteration 19: 35910.467 us/op
[info] Iteration 20: 39438.864 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.mapSum_List":
[info] 37725.439 ±(99.9%) 3902.722 us/op [Average]
[info] (min, avg, max) = (31792.086, 37725.439, 51717.150), stdev = 4494.380
[info] CI (99.9%): [33822.718, 41628.161] (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.chapter3.CollectionStringIterationBenchmark_Large.mapSum_Vector
[info] # Run progress: 27.27% complete, ETA 00:17:10
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 38540.023 us/op
[info] # Warmup Iteration 2: 23652.704 us/op
[info] # Warmup Iteration 3: 21838.693 us/op
[info] # Warmup Iteration 4: 21773.583 us/op
[info] # Warmup Iteration 5: 20946.205 us/op
[info] # Warmup Iteration 6: 20569.310 us/op
[info] # Warmup Iteration 7: 20947.208 us/op
[info] # Warmup Iteration 8: 20676.847 us/op
[info] # Warmup Iteration 9: 21177.409 us/op
[info] # Warmup Iteration 10: 20450.211 us/op
[info] Iteration 1: 20170.887 us/op
[info] Iteration 2: 20100.706 us/op
[info] Iteration 3: 21623.746 us/op
[info] Iteration 4: 21576.727 us/op
[info] Iteration 5: 21359.346 us/op
[info] Iteration 6: 21309.213 us/op
[info] Iteration 7: 22943.500 us/op
[info] Iteration 8: 21126.943 us/op
[info] Iteration 9: 19730.098 us/op
[info] Iteration 10: 18650.879 us/op
[info] Iteration 11: 18880.151 us/op
[info] Iteration 12: 22480.958 us/op
[info] Iteration 13: 20846.080 us/op
[info] Iteration 14: 20964.724 us/op
[info] Iteration 15: 20595.383 us/op
[info] Iteration 16: 19466.337 us/op
[info] Iteration 17: 21602.139 us/op
[info] Iteration 18: 18998.980 us/op
[info] Iteration 19: 20199.450 us/op
[info] Iteration 20: 21055.241 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.mapSum_Vector":
[info] 20684.074 ±(99.9%) 1008.133 us/op [Average]
[info] (min, avg, max) = (18650.879, 20684.074, 22943.500), stdev = 1160.968
[info] CI (99.9%): [19675.941, 21692.208] (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.chapter3.CollectionStringIterationBenchmark_Large.recursion_List
[info] # Run progress: 29.55% complete, ETA 00:16:38
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 12588.546 us/op
[info] # Warmup Iteration 2: 19071.074 us/op
[info] # Warmup Iteration 3: 20044.082 us/op
[info] # Warmup Iteration 4: 20044.222 us/op
[info] # Warmup Iteration 5: 20219.156 us/op
[info] # Warmup Iteration 6: 18941.692 us/op
[info] # Warmup Iteration 7: 19700.912 us/op
[info] # Warmup Iteration 8: 20148.849 us/op
[info] # Warmup Iteration 9: 19811.027 us/op
[info] # Warmup Iteration 10: 19912.068 us/op
[info] Iteration 1: 20759.048 us/op
[info] Iteration 2: 20303.551 us/op
[info] Iteration 3: 20040.198 us/op
[info] Iteration 4: 19841.817 us/op
[info] Iteration 5: 19917.937 us/op
[info] Iteration 6: 20201.017 us/op
[info] Iteration 7: 20214.099 us/op
[info] Iteration 8: 19908.428 us/op
[info] Iteration 9: 19817.591 us/op
[info] Iteration 10: 19835.113 us/op
[info] Iteration 11: 19101.585 us/op
[info] Iteration 12: 12120.548 us/op
[info] Iteration 13: 20002.162 us/op
[info] Iteration 14: 20058.624 us/op
[info] Iteration 15: 15079.567 us/op
[info] Iteration 16: 19942.316 us/op
[info] Iteration 17: 20316.238 us/op
[info] Iteration 18: 20162.915 us/op
[info] Iteration 19: 19744.933 us/op
[info] Iteration 20: 19657.259 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.recursion_List":
[info] 19351.247 ±(99.9%) 1780.253 us/op [Average]
[info] (min, avg, max) = (12120.548, 19351.247, 20759.048), stdev = 2050.142
[info] CI (99.9%): [17570.994, 21131.501] (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.chapter3.CollectionStringIterationBenchmark_Large.reverseWhile_Array
[info] # Run progress: 31.82% complete, ETA 00:16:05
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 13142.835 us/op
[info] # Warmup Iteration 2: 12828.308 us/op
[info] # Warmup Iteration 3: 12731.972 us/op
[info] # Warmup Iteration 4: 13471.119 us/op
[info] # Warmup Iteration 5: 13696.759 us/op
[info] # Warmup Iteration 6: 12500.526 us/op
[info] # Warmup Iteration 7: 12369.475 us/op
[info] # Warmup Iteration 8: 12800.366 us/op
[info] # Warmup Iteration 9: 13165.951 us/op
[info] # Warmup Iteration 10: 12360.930 us/op
[info] Iteration 1: 12810.215 us/op
[info] Iteration 2: 12352.839 us/op
[info] Iteration 3: 12336.859 us/op
[info] Iteration 4: 12415.190 us/op
[info] Iteration 5: 13763.199 us/op
[info] Iteration 6: 13611.759 us/op
[info] Iteration 7: 7125.184 us/op
[info] Iteration 8: 12573.752 us/op
[info] Iteration 9: 13993.976 us/op
[info] Iteration 10: 13882.875 us/op
[info] Iteration 11: 13425.519 us/op
[info] Iteration 12: 12351.960 us/op
[info] Iteration 13: 12774.176 us/op
[info] Iteration 14: 13258.864 us/op
[info] Iteration 15: 13469.252 us/op
[info] Iteration 16: 13385.149 us/op
[info] Iteration 17: 13522.301 us/op
[info] Iteration 18: 13385.667 us/op
[info] Iteration 19: 13132.803 us/op
[info] Iteration 20: 13116.035 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.reverseWhile_Array":
[info] 12834.379 ±(99.9%) 1254.380 us/op [Average]
[info] (min, avg, max) = (7125.184, 12834.379, 13993.976), stdev = 1444.545
[info] CI (99.9%): [11579.999, 14088.758] (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.chapter3.CollectionStringIterationBenchmark_Large.reverseWhile_Vector
[info] # Run progress: 34.09% complete, ETA 00:15:33
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 19906.946 us/op
[info] # Warmup Iteration 2: 19110.619 us/op
[info] # Warmup Iteration 3: 18213.269 us/op
[info] # Warmup Iteration 4: 18141.274 us/op
[info] # Warmup Iteration 5: 18391.981 us/op
[info] # Warmup Iteration 6: 19125.317 us/op
[info] # Warmup Iteration 7: 18198.943 us/op
[info] # Warmup Iteration 8: 18124.181 us/op
[info] # Warmup Iteration 9: 19711.120 us/op
[info] # Warmup Iteration 10: 18423.920 us/op
[info] Iteration 1: 19534.134 us/op
[info] Iteration 2: 18250.135 us/op
[info] Iteration 3: 18261.462 us/op
[info] Iteration 4: 21313.317 us/op
[info] Iteration 5: 18367.328 us/op
[info] Iteration 6: 18909.960 us/op
[info] Iteration 7: 18381.569 us/op
[info] Iteration 8: 14454.730 us/op
[info] Iteration 9: 14163.601 us/op
[info] Iteration 10: 14994.193 us/op
[info] Iteration 11: 20564.318 us/op
[info] Iteration 12: 20521.891 us/op
[info] Iteration 13: 19120.772 us/op
[info] Iteration 14: 20079.719 us/op
[info] Iteration 15: 17799.861 us/op
[info] Iteration 16: 14853.015 us/op
[info] Iteration 17: 18995.159 us/op
[info] Iteration 18: 20031.892 us/op
[info] Iteration 19: 18592.182 us/op
[info] Iteration 20: 20221.723 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.reverseWhile_Vector":
[info] 18370.548 ±(99.9%) 1858.288 us/op [Average]
[info] (min, avg, max) = (14163.601, 18370.548, 21313.317), stdev = 2140.008
[info] CI (99.9%): [16512.260, 20228.836] (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.chapter3.CollectionStringIterationBenchmark_Large.viewMapSum_Array
[info] # Run progress: 36.36% complete, ETA 00:15:00
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 16545.128 us/op
[info] # Warmup Iteration 2: 15807.974 us/op
[info] # Warmup Iteration 3: 15350.382 us/op
[info] # Warmup Iteration 4: 14581.002 us/op
[info] # Warmup Iteration 5: 14661.803 us/op
[info] # Warmup Iteration 6: 15071.463 us/op
[info] # Warmup Iteration 7: 13682.128 us/op
[info] # Warmup Iteration 8: 13392.910 us/op
[info] # Warmup Iteration 9: 12942.591 us/op
[info] # Warmup Iteration 10: 13838.347 us/op
[info] Iteration 1: 13580.318 us/op
[info] Iteration 2: 12672.194 us/op
[info] Iteration 3: 13782.290 us/op
[info] Iteration 4: 14242.483 us/op
[info] Iteration 5: 14108.018 us/op
[info] Iteration 6: 14782.322 us/op
[info] Iteration 7: 15032.163 us/op
[info] Iteration 8: 15040.230 us/op
[info] Iteration 9: 15096.982 us/op
[info] Iteration 10: 14046.731 us/op
[info] Iteration 11: 14349.351 us/op
[info] Iteration 12: 12481.479 us/op
[info] Iteration 13: 12639.499 us/op
[info] Iteration 14: 12511.836 us/op
[info] Iteration 15: 15891.671 us/op
[info] Iteration 16: 14296.886 us/op
[info] Iteration 17: 14359.502 us/op
[info] Iteration 18: 14853.819 us/op
[info] Iteration 19: 13260.626 us/op
[info] Iteration 20: 12445.606 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.viewMapSum_Array":
[info] 13973.700 ±(99.9%) 890.679 us/op [Average]
[info] (min, avg, max) = (12445.606, 13973.700, 15891.671), stdev = 1025.707
[info] CI (99.9%): [13083.022, 14864.379] (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.chapter3.CollectionStringIterationBenchmark_Large.viewMapSum_List
[info] # Run progress: 38.64% complete, ETA 00:14:28
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 19493.699 us/op
[info] # Warmup Iteration 2: 17015.352 us/op
[info] # Warmup Iteration 3: 15002.964 us/op
[info] # Warmup Iteration 4: 14534.848 us/op
[info] # Warmup Iteration 5: 14943.774 us/op
[info] # Warmup Iteration 6: 15642.526 us/op
[info] # Warmup Iteration 7: 14429.513 us/op
[info] # Warmup Iteration 8: 15696.941 us/op
[info] # Warmup Iteration 9: 14871.945 us/op
[info] # Warmup Iteration 10: 14534.169 us/op
[info] Iteration 1: 14837.322 us/op
[info] Iteration 2: 14840.393 us/op
[info] Iteration 3: 14720.670 us/op
[info] Iteration 4: 14970.630 us/op
[info] Iteration 5: 14813.836 us/op
[info] Iteration 6: 14749.750 us/op
[info] Iteration 7: 14713.075 us/op
[info] Iteration 8: 14780.052 us/op
[info] Iteration 9: 14667.090 us/op
[info] Iteration 10: 14783.461 us/op
[info] Iteration 11: 14896.037 us/op
[info] Iteration 12: 14868.597 us/op
[info] Iteration 13: 14519.862 us/op
[info] Iteration 14: 14750.181 us/op
[info] Iteration 15: 14609.034 us/op
[info] Iteration 16: 14810.008 us/op
[info] Iteration 17: 15145.092 us/op
[info] Iteration 18: 16027.052 us/op
[info] Iteration 19: 15561.178 us/op
[info] Iteration 20: 15224.508 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.viewMapSum_List":
[info] 14914.391 ±(99.9%) 303.509 us/op [Average]
[info] (min, avg, max) = (14519.862, 14914.391, 16027.052), stdev = 349.521
[info] CI (99.9%): [14610.883, 15217.900] (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.chapter3.CollectionStringIterationBenchmark_Large.viewMapSum_Vector
[info] # Run progress: 40.91% complete, ETA 00:13:56
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 23991.905 us/op
[info] # Warmup Iteration 2: 18243.538 us/op
[info] # Warmup Iteration 3: 16232.434 us/op
[info] # Warmup Iteration 4: 16355.722 us/op
[info] # Warmup Iteration 5: 19889.137 us/op
[info] # Warmup Iteration 6: 19361.535 us/op
[info] # Warmup Iteration 7: 16184.453 us/op
[info] # Warmup Iteration 8: 18277.972 us/op
[info] # Warmup Iteration 9: 15460.539 us/op
[info] # Warmup Iteration 10: 15960.270 us/op
[info] Iteration 1: 15865.070 us/op
[info] Iteration 2: 17659.923 us/op
[info] Iteration 3: 15865.031 us/op
[info] Iteration 4: 16432.920 us/op
[info] Iteration 5: 15475.022 us/op
[info] Iteration 6: 16460.355 us/op
[info] Iteration 7: 15616.853 us/op
[info] Iteration 8: 15736.171 us/op
[info] Iteration 9: 16349.172 us/op
[info] Iteration 10: 15296.549 us/op
[info] Iteration 11: 15376.820 us/op
[info] Iteration 12: 15101.107 us/op
[info] Iteration 13: 14693.234 us/op
[info] Iteration 14: 15673.172 us/op
[info] Iteration 15: 15379.230 us/op
[info] Iteration 16: 15888.689 us/op
[info] Iteration 17: 15354.714 us/op
[info] Iteration 18: 15227.470 us/op
[info] Iteration 19: 15700.775 us/op
[info] Iteration 20: 15466.656 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.viewMapSum_Vector":
[info] 15730.947 ±(99.9%) 550.923 us/op [Average]
[info] (min, avg, max) = (14693.234, 15730.947, 17659.923), stdev = 634.443
[info] CI (99.9%): [15180.024, 16281.869] (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.chapter3.CollectionStringIterationBenchmark_Large.while_Array
[info] # Run progress: 43.18% complete, ETA 00:13:23
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 13662.046 us/op
[info] # Warmup Iteration 2: 12850.966 us/op
[info] # Warmup Iteration 3: 13141.028 us/op
[info] # Warmup Iteration 4: 7159.191 us/op
[info] # Warmup Iteration 5: 11102.594 us/op
[info] # Warmup Iteration 6: 13319.480 us/op
[info] # Warmup Iteration 7: 10334.066 us/op
[info] # Warmup Iteration 8: 13589.044 us/op
[info] # Warmup Iteration 9: 13776.614 us/op
[info] # Warmup Iteration 10: 13636.315 us/op
[info] Iteration 1: 14137.329 us/op
[info] Iteration 2: 13303.977 us/op
[info] Iteration 3: 13424.176 us/op
[info] Iteration 4: 14279.818 us/op
[info] Iteration 5: 13798.663 us/op
[info] Iteration 6: 13760.545 us/op
[info] Iteration 7: 13488.331 us/op
[info] Iteration 8: 15787.657 us/op
[info] Iteration 9: 13725.360 us/op
[info] Iteration 10: 14456.797 us/op
[info] Iteration 11: 14237.069 us/op
[info] Iteration 12: 13749.740 us/op
[info] Iteration 13: 13711.246 us/op
[info] Iteration 14: 13775.604 us/op
[info] Iteration 15: 13861.348 us/op
[info] Iteration 16: 13776.163 us/op
[info] Iteration 17: 13201.514 us/op
[info] Iteration 18: 14714.653 us/op
[info] Iteration 19: 14750.663 us/op
[info] Iteration 20: 14172.211 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.while_Array":
[info] 14005.643 ±(99.9%) 520.075 us/op [Average]
[info] (min, avg, max) = (13201.514, 14005.643, 15787.657), stdev = 598.919
[info] CI (99.9%): [13485.568, 14525.718] (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.chapter3.CollectionStringIterationBenchmark_Large.while_List
[info] # Run progress: 45.45% complete, ETA 00:12:51
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 18758.724 us/op
[info] # Warmup Iteration 2: 18763.416 us/op
[info] # Warmup Iteration 3: 19151.505 us/op
[info] # Warmup Iteration 4: 12644.155 us/op
[info] # Warmup Iteration 5: 19164.361 us/op
[info] # Warmup Iteration 6: 20486.284 us/op
[info] # Warmup Iteration 7: 19271.923 us/op
[info] # Warmup Iteration 8: 19336.601 us/op
[info] # Warmup Iteration 9: 19283.608 us/op
[info] # Warmup Iteration 10: 19473.008 us/op
[info] Iteration 1: 19275.224 us/op
[info] Iteration 2: 19329.292 us/op
[info] Iteration 3: 19351.913 us/op
[info] Iteration 4: 19356.168 us/op
[info] Iteration 5: 19530.350 us/op
[info] Iteration 6: 19371.387 us/op
[info] Iteration 7: 19368.667 us/op
[info] Iteration 8: 19326.900 us/op
[info] Iteration 9: 19300.334 us/op
[info] Iteration 10: 19500.643 us/op
[info] Iteration 11: 17076.954 us/op
[info] Iteration 12: 12229.788 us/op
[info] Iteration 13: 19252.369 us/op
[info] Iteration 14: 19369.845 us/op
[info] Iteration 15: 19569.780 us/op
[info] Iteration 16: 19532.981 us/op
[info] Iteration 17: 19368.488 us/op
[info] Iteration 18: 19329.542 us/op
[info] Iteration 19: 19270.213 us/op
[info] Iteration 20: 19778.292 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.CollectionStringIterationBenchmark_Large.while_List":
[info] 18924.457 ±(99.9%) 1444.680 us/op [Average]
[info] (min, avg, max) = (12229.788, 18924.457, 19778.292), stdev = 1663.696
[info] CI (99.9%): [17479.777, 20369.136] (assumes normal distribution)