-
Notifications
You must be signed in to change notification settings - Fork 0
/
chapter3-sets.report.txt
8745 lines (8745 loc) · 441 KB
/
chapter3-sets.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 6, 2024, 11:17:35 AM
[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] compiling 1 Scala source to /home/gaelrenoux/Repositories/DataDome/public-scalaio2024-benchmarks/target/scala-3.5.1/test-classes ...
[info] Processing 261 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] compiling 1116 Java sources to /home/gaelrenoux/Repositories/DataDome/public-scalaio2024-benchmarks/target/scala-3.5.1/classes ...
[info] done compiling
[info] done compiling
[info] running (fork) org.openjdk.jmh.Main -i 20 -wi 10 -f1 -t1 .*chapter3.SetBenchmark_.*Invoice_HalfHit_(VerySmall|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.SetBenchmark_BadInvoice_HalfHit_Large.contains_Array
[info] # Run progress: 0.00% complete, ETA 00:18:00
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: ≈ 10⁻³ us/op
[info] # Warmup Iteration 2: ≈ 10⁻³ us/op
[info] # Warmup Iteration 3: ≈ 10⁻³ us/op
[info] # Warmup Iteration 4: ≈ 10⁻³ us/op
[info] # Warmup Iteration 5: ≈ 10⁻³ us/op
[info] # Warmup Iteration 6: ≈ 10⁻³ us/op
[info] # Warmup Iteration 7: ≈ 10⁻³ us/op
[info] # Warmup Iteration 8: ≈ 10⁻³ us/op
[info] # Warmup Iteration 9: ≈ 10⁻³ us/op
[info] # Warmup Iteration 10: ≈ 10⁻³ us/op
[info] Iteration 1: ≈ 10⁻³ us/op
[info] Iteration 2: ≈ 10⁻³ us/op
[info] Iteration 3: ≈ 10⁻³ us/op
[info] Iteration 4: ≈ 10⁻³ us/op
[info] Iteration 5: ≈ 10⁻³ us/op
[info] Iteration 6: ≈ 10⁻³ us/op
[info] Iteration 7: ≈ 10⁻³ us/op
[info] Iteration 8: ≈ 10⁻³ us/op
[info] Iteration 9: ≈ 10⁻³ us/op
[info] Iteration 10: ≈ 10⁻³ us/op
[info] Iteration 11: ≈ 10⁻³ us/op
[info] Iteration 12: ≈ 10⁻³ us/op
[info] Iteration 13: ≈ 10⁻³ us/op
[info] Iteration 14: ≈ 10⁻³ us/op
[info] Iteration 15: ≈ 10⁻³ us/op
[info] Iteration 16: ≈ 10⁻³ us/op
[info] Iteration 17: ≈ 10⁻³ us/op
[info] Iteration 18: ≈ 10⁻³ us/op
[info] Iteration 19: ≈ 10⁻³ us/op
[info] Iteration 20: ≈ 10⁻³ us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Large.contains_Array":
[info] ≈ 10⁻³ us/op
[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.SetBenchmark_BadInvoice_HalfHit_Large.contains_ArraySet
[info] # Run progress: 2.78% complete, ETA 00:18:01
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 2863807.451 us/op
[info] # Warmup Iteration 2: 3.049 us/op
[info] # Warmup Iteration 3: 2.861 us/op
[info] # Warmup Iteration 4: 2.801 us/op
[info] # Warmup Iteration 5: 2.846 us/op
[info] # Warmup Iteration 6: 2.847 us/op
[info] # Warmup Iteration 7: 2.884 us/op
[info] # Warmup Iteration 8: 2.822 us/op
[info] # Warmup Iteration 9: 2.843 us/op
[info] # Warmup Iteration 10: 2.818 us/op
[info] Iteration 1: 2.859 us/op
[info] Iteration 2: 2.904 us/op
[info] Iteration 3: 2.868 us/op
[info] Iteration 4: 2.895 us/op
[info] Iteration 5: 2.846 us/op
[info] Iteration 6: 2.848 us/op
[info] Iteration 7: 2.913 us/op
[info] Iteration 8: 2.913 us/op
[info] Iteration 9: 2.840 us/op
[info] Iteration 10: 2.865 us/op
[info] Iteration 11: 2.814 us/op
[info] Iteration 12: 2.917 us/op
[info] Iteration 13: 2.854 us/op
[info] Iteration 14: 2.846 us/op
[info] Iteration 15: 2.820 us/op
[info] Iteration 16: 2.874 us/op
[info] Iteration 17: 2.882 us/op
[info] Iteration 18: 2.863 us/op
[info] Iteration 19: 2.848 us/op
[info] Iteration 20: 2.815 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Large.contains_ArraySet":
[info] 2.864 ±(99.9%) 0.028 us/op [Average]
[info] (min, avg, max) = (2.814, 2.864, 2.917), stdev = 0.032
[info] CI (99.9%): [2.837, 2.892] (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.SetBenchmark_BadInvoice_HalfHit_Large.contains_BitSet
[info] # Run progress: 5.56% complete, ETA 00:18:01
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 3171148.312 us/op
[info] # Warmup Iteration 2: 3.001 us/op
[info] # Warmup Iteration 3: 2.927 us/op
[info] # Warmup Iteration 4: 3.620 us/op
[info] # Warmup Iteration 5: 3.624 us/op
[info] # Warmup Iteration 6: 3.561 us/op
[info] # Warmup Iteration 7: 3.574 us/op
[info] # Warmup Iteration 8: 3.571 us/op
[info] # Warmup Iteration 9: 3.630 us/op
[info] # Warmup Iteration 10: 3.600 us/op
[info] Iteration 1: 3.573 us/op
[info] Iteration 2: 3.557 us/op
[info] Iteration 3: 3.593 us/op
[info] Iteration 4: 3.598 us/op
[info] Iteration 5: 3.575 us/op
[info] Iteration 6: 3.561 us/op
[info] Iteration 7: 3.608 us/op
[info] Iteration 8: 3.575 us/op
[info] Iteration 9: 3.617 us/op
[info] Iteration 10: 3.563 us/op
[info] Iteration 11: 3.599 us/op
[info] Iteration 12: 4.149 us/op
[info] Iteration 13: 3.579 us/op
[info] Iteration 14: 3.609 us/op
[info] Iteration 15: 3.612 us/op
[info] Iteration 16: 3.574 us/op
[info] Iteration 17: 3.577 us/op
[info] Iteration 18: 3.580 us/op
[info] Iteration 19: 3.661 us/op
[info] Iteration 20: 3.564 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Large.contains_BitSet":
[info] 3.616 ±(99.9%) 0.111 us/op [Average]
[info] (min, avg, max) = (3.557, 3.616, 4.149), stdev = 0.128
[info] CI (99.9%): [3.505, 3.727] (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.SetBenchmark_BadInvoice_HalfHit_Large.contains_JavaHashSet
[info] # Run progress: 8.33% complete, ETA 00:17:43
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 3006306.803 us/op
[info] # Warmup Iteration 2: 12.777 us/op
[info] # Warmup Iteration 3: 12.083 us/op
[info] # Warmup Iteration 4: 12.428 us/op
[info] # Warmup Iteration 5: 12.018 us/op
[info] # Warmup Iteration 6: 12.309 us/op
[info] # Warmup Iteration 7: 12.107 us/op
[info] # Warmup Iteration 8: 12.345 us/op
[info] # Warmup Iteration 9: 12.145 us/op
[info] # Warmup Iteration 10: 12.071 us/op
[info] Iteration 1: 12.293 us/op
[info] Iteration 2: 12.312 us/op
[info] Iteration 3: 12.330 us/op
[info] Iteration 4: 12.378 us/op
[info] Iteration 5: 12.279 us/op
[info] Iteration 6: 12.377 us/op
[info] Iteration 7: 12.473 us/op
[info] Iteration 8: 12.482 us/op
[info] Iteration 9: 12.209 us/op
[info] Iteration 10: 12.409 us/op
[info] Iteration 11: 12.282 us/op
[info] Iteration 12: 12.568 us/op
[info] Iteration 13: 12.029 us/op
[info] Iteration 14: 12.365 us/op
[info] Iteration 15: 12.205 us/op
[info] Iteration 16: 12.275 us/op
[info] Iteration 17: 12.535 us/op
[info] Iteration 18: 12.384 us/op
[info] Iteration 19: 12.382 us/op
[info] Iteration 20: 12.298 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Large.contains_JavaHashSet":
[info] 12.343 ±(99.9%) 0.107 us/op [Average]
[info] (min, avg, max) = (12.029, 12.343, 12.568), stdev = 0.123
[info] CI (99.9%): [12.236, 12.450] (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.SetBenchmark_BadInvoice_HalfHit_Large.contains_Set
[info] # Run progress: 11.11% complete, ETA 00:17:15
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 3019454.685 us/op
[info] # Warmup Iteration 2: 51.323 us/op
[info] # Warmup Iteration 3: 47.790 us/op
[info] # Warmup Iteration 4: 50.297 us/op
[info] # Warmup Iteration 5: 48.766 us/op
[info] # Warmup Iteration 6: 48.044 us/op
[info] # Warmup Iteration 7: 46.981 us/op
[info] # Warmup Iteration 8: 48.498 us/op
[info] # Warmup Iteration 9: 49.393 us/op
[info] # Warmup Iteration 10: 49.157 us/op
[info] Iteration 1: 48.387 us/op
[info] Iteration 2: 49.035 us/op
[info] Iteration 3: 48.924 us/op
[info] Iteration 4: 48.647 us/op
[info] Iteration 5: 52.466 us/op
[info] Iteration 6: 55.476 us/op
[info] Iteration 7: 62.456 us/op
[info] Iteration 8: 62.253 us/op
[info] Iteration 9: 63.766 us/op
[info] Iteration 10: 63.388 us/op
[info] Iteration 11: 62.929 us/op
[info] Iteration 12: 51.012 us/op
[info] Iteration 13: 55.872 us/op
[info] Iteration 14: 49.772 us/op
[info] Iteration 15: 49.239 us/op
[info] Iteration 16: 55.317 us/op
[info] Iteration 17: 48.666 us/op
[info] Iteration 18: 49.084 us/op
[info] Iteration 19: 49.128 us/op
[info] Iteration 20: 49.135 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Large.contains_Set":
[info] 53.748 ±(99.9%) 5.162 us/op [Average]
[info] (min, avg, max) = (48.387, 53.748, 63.766), stdev = 5.945
[info] CI (99.9%): [48.586, 58.910] (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.SetBenchmark_BadInvoice_HalfHit_Large.contains_SortedSet
[info] # Run progress: 13.89% complete, ETA 00:16:46
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 4649642.269 us/op
[info] # Warmup Iteration 2: 677.809 us/op
[info] # Warmup Iteration 3: 648.607 us/op
[info] # Warmup Iteration 4: 661.458 us/op
[info] # Warmup Iteration 5: 674.226 us/op
[info] # Warmup Iteration 6: 674.987 us/op
[info] # Warmup Iteration 7: 678.580 us/op
[info] # Warmup Iteration 8: 669.494 us/op
[info] # Warmup Iteration 9: 683.843 us/op
[info] # Warmup Iteration 10: 677.181 us/op
[info] Iteration 1: 668.691 us/op
[info] Iteration 2: 670.007 us/op
[info] Iteration 3: 677.107 us/op
[info] Iteration 4: 681.643 us/op
[info] Iteration 5: 678.079 us/op
[info] Iteration 6: 673.324 us/op
[info] Iteration 7: 677.507 us/op
[info] Iteration 8: 672.125 us/op
[info] Iteration 9: 686.668 us/op
[info] Iteration 10: 673.769 us/op
[info] Iteration 11: 677.581 us/op
[info] Iteration 12: 678.296 us/op
[info] Iteration 13: 669.463 us/op
[info] Iteration 14: 680.729 us/op
[info] Iteration 15: 679.802 us/op
[info] Iteration 16: 672.280 us/op
[info] Iteration 17: 671.842 us/op
[info] Iteration 18: 672.460 us/op
[info] Iteration 19: 681.159 us/op
[info] Iteration 20: 673.539 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Large.contains_SortedSet":
[info] 675.804 ±(99.9%) 4.145 us/op [Average]
[info] (min, avg, max) = (668.691, 675.804, 686.668), stdev = 4.773
[info] CI (99.9%): [671.659, 679.948] (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.SetBenchmark_BadInvoice_HalfHit_Small.contains_Array
[info] # Run progress: 16.67% complete, ETA 00:16:23
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 1070106.889 us/op
[info] # Warmup Iteration 2: 76.284 us/op
[info] # Warmup Iteration 3: 71.816 us/op
[info] # Warmup Iteration 4: 73.072 us/op
[info] # Warmup Iteration 5: 71.738 us/op
[info] # Warmup Iteration 6: 71.515 us/op
[info] # Warmup Iteration 7: 72.207 us/op
[info] # Warmup Iteration 8: 71.594 us/op
[info] # Warmup Iteration 9: 72.706 us/op
[info] # Warmup Iteration 10: 72.670 us/op
[info] Iteration 1: 71.763 us/op
[info] Iteration 2: 71.703 us/op
[info] Iteration 3: 71.566 us/op
[info] Iteration 4: 72.784 us/op
[info] Iteration 5: 72.207 us/op
[info] Iteration 6: 71.444 us/op
[info] Iteration 7: 71.341 us/op
[info] Iteration 8: 71.877 us/op
[info] Iteration 9: 73.089 us/op
[info] Iteration 10: 71.444 us/op
[info] Iteration 11: 72.519 us/op
[info] Iteration 12: 71.833 us/op
[info] Iteration 13: 72.272 us/op
[info] Iteration 14: 72.908 us/op
[info] Iteration 15: 71.997 us/op
[info] Iteration 16: 71.617 us/op
[info] Iteration 17: 71.962 us/op
[info] Iteration 18: 72.108 us/op
[info] Iteration 19: 72.500 us/op
[info] Iteration 20: 71.811 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Small.contains_Array":
[info] 72.037 ±(99.9%) 0.439 us/op [Average]
[info] (min, avg, max) = (71.341, 72.037, 73.089), stdev = 0.506
[info] CI (99.9%): [71.598, 72.476] (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.SetBenchmark_BadInvoice_HalfHit_Small.contains_ArraySet
[info] # Run progress: 19.44% complete, ETA 00:15:42
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 1103053.422 us/op
[info] # Warmup Iteration 2: 1.163 us/op
[info] # Warmup Iteration 3: 1.153 us/op
[info] # Warmup Iteration 4: 0.907 us/op
[info] # Warmup Iteration 5: 0.898 us/op
[info] # Warmup Iteration 6: 0.898 us/op
[info] # Warmup Iteration 7: 0.902 us/op
[info] # Warmup Iteration 8: 0.925 us/op
[info] # Warmup Iteration 9: 0.909 us/op
[info] # Warmup Iteration 10: 0.905 us/op
[info] Iteration 1: 0.896 us/op
[info] Iteration 2: 0.904 us/op
[info] Iteration 3: 0.918 us/op
[info] Iteration 4: 0.897 us/op
[info] Iteration 5: 0.901 us/op
[info] Iteration 6: 0.907 us/op
[info] Iteration 7: 0.900 us/op
[info] Iteration 8: 0.914 us/op
[info] Iteration 9: 0.907 us/op
[info] Iteration 10: 0.913 us/op
[info] Iteration 11: 0.905 us/op
[info] Iteration 12: 0.908 us/op
[info] Iteration 13: 0.920 us/op
[info] Iteration 14: 0.909 us/op
[info] Iteration 15: 0.909 us/op
[info] Iteration 16: 0.892 us/op
[info] Iteration 17: 0.899 us/op
[info] Iteration 18: 0.915 us/op
[info] Iteration 19: 0.903 us/op
[info] Iteration 20: 0.901 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Small.contains_ArraySet":
[info] 0.906 ±(99.9%) 0.007 us/op [Average]
[info] (min, avg, max) = (0.892, 0.906, 0.920), stdev = 0.008
[info] CI (99.9%): [0.899, 0.912] (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.SetBenchmark_BadInvoice_HalfHit_Small.contains_BitSet
[info] # Run progress: 22.22% complete, ETA 00:15:04
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 66.496 us/op
[info] # Warmup Iteration 2: 2.927 us/op
[info] # Warmup Iteration 3: 2.709 us/op
[info] # Warmup Iteration 4: 2.788 us/op
[info] # Warmup Iteration 5: 2.776 us/op
[info] # Warmup Iteration 6: 2.798 us/op
[info] # Warmup Iteration 7: 2.806 us/op
[info] # Warmup Iteration 8: 2.776 us/op
[info] # Warmup Iteration 9: 2.793 us/op
[info] # Warmup Iteration 10: 2.883 us/op
[info] Iteration 1: 2.797 us/op
[info] Iteration 2: 2.879 us/op
[info] Iteration 3: 2.831 us/op
[info] Iteration 4: 2.808 us/op
[info] Iteration 5: 2.778 us/op
[info] Iteration 6: 2.799 us/op
[info] Iteration 7: 2.847 us/op
[info] Iteration 8: 2.806 us/op
[info] Iteration 9: 2.788 us/op
[info] Iteration 10: 2.783 us/op
[info] Iteration 11: 2.784 us/op
[info] Iteration 12: 2.835 us/op
[info] Iteration 13: 2.826 us/op
[info] Iteration 14: 2.814 us/op
[info] Iteration 15: 2.804 us/op
[info] Iteration 16: 2.806 us/op
[info] Iteration 17: 2.846 us/op
[info] Iteration 18: 2.799 us/op
[info] Iteration 19: 2.807 us/op
[info] Iteration 20: 2.812 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Small.contains_BitSet":
[info] 2.812 ±(99.9%) 0.022 us/op [Average]
[info] (min, avg, max) = (2.778, 2.812, 2.879), stdev = 0.025
[info] CI (99.9%): [2.791, 2.834] (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.SetBenchmark_BadInvoice_HalfHit_Small.contains_JavaHashSet
[info] # Run progress: 25.00% complete, ETA 00:14:27
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 1054020.866 us/op
[info] # Warmup Iteration 2: 7.338 us/op
[info] # Warmup Iteration 3: 6.518 us/op
[info] # Warmup Iteration 4: 6.472 us/op
[info] # Warmup Iteration 5: 6.495 us/op
[info] # Warmup Iteration 6: 6.563 us/op
[info] # Warmup Iteration 7: 6.521 us/op
[info] # Warmup Iteration 8: 6.460 us/op
[info] # Warmup Iteration 9: 6.476 us/op
[info] # Warmup Iteration 10: 6.460 us/op
[info] Iteration 1: 6.591 us/op
[info] Iteration 2: 6.458 us/op
[info] Iteration 3: 6.475 us/op
[info] Iteration 4: 6.628 us/op
[info] Iteration 5: 6.489 us/op
[info] Iteration 6: 6.501 us/op
[info] Iteration 7: 6.395 us/op
[info] Iteration 8: 6.417 us/op
[info] Iteration 9: 6.448 us/op
[info] Iteration 10: 7.013 us/op
[info] Iteration 11: 6.556 us/op
[info] Iteration 12: 6.400 us/op
[info] Iteration 13: 6.345 us/op
[info] Iteration 14: 6.433 us/op
[info] Iteration 15: 6.411 us/op
[info] Iteration 16: 6.282 us/op
[info] Iteration 17: 6.195 us/op
[info] Iteration 18: 6.147 us/op
[info] Iteration 19: 6.173 us/op
[info] Iteration 20: 6.166 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Small.contains_JavaHashSet":
[info] 6.426 ±(99.9%) 0.171 us/op [Average]
[info] (min, avg, max) = (6.147, 6.426, 7.013), stdev = 0.197
[info] CI (99.9%): [6.255, 6.597] (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.SetBenchmark_BadInvoice_HalfHit_Small.contains_Set
[info] # Run progress: 27.78% complete, ETA 00:13:52
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 315.931 us/op
[info] # Warmup Iteration 2: 9.376 us/op
[info] # Warmup Iteration 3: 9.066 us/op
[info] # Warmup Iteration 4: 9.087 us/op
[info] # Warmup Iteration 5: 9.164 us/op
[info] # Warmup Iteration 6: 9.097 us/op
[info] # Warmup Iteration 7: 9.255 us/op
[info] # Warmup Iteration 8: 9.173 us/op
[info] # Warmup Iteration 9: 9.068 us/op
[info] # Warmup Iteration 10: 9.193 us/op
[info] Iteration 1: 9.104 us/op
[info] Iteration 2: 9.090 us/op
[info] Iteration 3: 9.110 us/op
[info] Iteration 4: 9.155 us/op
[info] Iteration 5: 9.231 us/op
[info] Iteration 6: 9.249 us/op
[info] Iteration 7: 9.139 us/op
[info] Iteration 8: 9.139 us/op
[info] Iteration 9: 9.123 us/op
[info] Iteration 10: 9.248 us/op
[info] Iteration 11: 9.233 us/op
[info] Iteration 12: 9.092 us/op
[info] Iteration 13: 9.083 us/op
[info] Iteration 14: 9.055 us/op
[info] Iteration 15: 9.263 us/op
[info] Iteration 16: 9.103 us/op
[info] Iteration 17: 9.080 us/op
[info] Iteration 18: 9.073 us/op
[info] Iteration 19: 9.140 us/op
[info] Iteration 20: 9.266 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Small.contains_Set":
[info] 9.149 ±(99.9%) 0.062 us/op [Average]
[info] (min, avg, max) = (9.055, 9.149, 9.266), stdev = 0.071
[info] CI (99.9%): [9.087, 9.211] (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.SetBenchmark_BadInvoice_HalfHit_Small.contains_SortedSet
[info] # Run progress: 30.56% complete, ETA 00:13:17
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 1069657.224 us/op
[info] # Warmup Iteration 2: 20.526 us/op
[info] # Warmup Iteration 3: 18.747 us/op
[info] # Warmup Iteration 4: 18.133 us/op
[info] # Warmup Iteration 5: 19.050 us/op
[info] # Warmup Iteration 6: 18.885 us/op
[info] # Warmup Iteration 7: 18.734 us/op
[info] # Warmup Iteration 8: 18.895 us/op
[info] # Warmup Iteration 9: 19.075 us/op
[info] # Warmup Iteration 10: 19.180 us/op
[info] Iteration 1: 19.080 us/op
[info] Iteration 2: 18.748 us/op
[info] Iteration 3: 18.849 us/op
[info] Iteration 4: 19.448 us/op
[info] Iteration 5: 18.923 us/op
[info] Iteration 6: 18.745 us/op
[info] Iteration 7: 18.819 us/op
[info] Iteration 8: 19.031 us/op
[info] Iteration 9: 18.986 us/op
[info] Iteration 10: 18.962 us/op
[info] Iteration 11: 18.909 us/op
[info] Iteration 12: 18.997 us/op
[info] Iteration 13: 18.881 us/op
[info] Iteration 14: 19.044 us/op
[info] Iteration 15: 18.842 us/op
[info] Iteration 16: 19.120 us/op
[info] Iteration 17: 18.889 us/op
[info] Iteration 18: 18.738 us/op
[info] Iteration 19: 20.145 us/op
[info] Iteration 20: 20.957 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_Small.contains_SortedSet":
[info] 19.106 ±(99.9%) 0.466 us/op [Average]
[info] (min, avg, max) = (18.738, 19.106, 20.957), stdev = 0.536
[info] CI (99.9%): [18.640, 19.571] (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.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_Array
[info] # Run progress: 33.33% complete, ETA 00:12:43
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 1110.663 us/op
[info] # Warmup Iteration 2: 4.885 us/op
[info] # Warmup Iteration 3: 4.739 us/op
[info] # Warmup Iteration 4: 4.741 us/op
[info] # Warmup Iteration 5: 4.735 us/op
[info] # Warmup Iteration 6: 4.660 us/op
[info] # Warmup Iteration 7: 4.701 us/op
[info] # Warmup Iteration 8: 4.676 us/op
[info] # Warmup Iteration 9: 4.912 us/op
[info] # Warmup Iteration 10: 4.688 us/op
[info] Iteration 1: 4.692 us/op
[info] Iteration 2: 4.669 us/op
[info] Iteration 3: 4.670 us/op
[info] Iteration 4: 4.722 us/op
[info] Iteration 5: 4.762 us/op
[info] Iteration 6: 4.695 us/op
[info] Iteration 7: 4.633 us/op
[info] Iteration 8: 4.629 us/op
[info] Iteration 9: 4.744 us/op
[info] Iteration 10: 4.644 us/op
[info] Iteration 11: 4.660 us/op
[info] Iteration 12: 4.619 us/op
[info] Iteration 13: 4.707 us/op
[info] Iteration 14: 4.692 us/op
[info] Iteration 15: 4.697 us/op
[info] Iteration 16: 4.621 us/op
[info] Iteration 17: 4.682 us/op
[info] Iteration 18: 4.631 us/op
[info] Iteration 19: 4.706 us/op
[info] Iteration 20: 4.629 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_Array":
[info] 4.675 ±(99.9%) 0.036 us/op [Average]
[info] (min, avg, max) = (4.619, 4.675, 4.762), stdev = 0.042
[info] CI (99.9%): [4.639, 4.712] (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.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_ArraySet
[info] # Run progress: 36.11% complete, ETA 00:12:10
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 27.603 us/op
[info] # Warmup Iteration 2: 1.056 us/op
[info] # Warmup Iteration 3: 1.080 us/op
[info] # Warmup Iteration 4: 0.823 us/op
[info] # Warmup Iteration 5: 0.920 us/op
[info] # Warmup Iteration 6: 0.883 us/op
[info] # Warmup Iteration 7: 0.826 us/op
[info] # Warmup Iteration 8: 0.840 us/op
[info] # Warmup Iteration 9: 0.828 us/op
[info] # Warmup Iteration 10: 0.828 us/op
[info] Iteration 1: 0.828 us/op
[info] Iteration 2: 0.822 us/op
[info] Iteration 3: 0.844 us/op
[info] Iteration 4: 0.822 us/op
[info] Iteration 5: 0.823 us/op
[info] Iteration 6: 0.820 us/op
[info] Iteration 7: 0.830 us/op
[info] Iteration 8: 0.830 us/op
[info] Iteration 9: 0.825 us/op
[info] Iteration 10: 0.814 us/op
[info] Iteration 11: 0.824 us/op
[info] Iteration 12: 0.825 us/op
[info] Iteration 13: 0.828 us/op
[info] Iteration 14: 0.822 us/op
[info] Iteration 15: 0.820 us/op
[info] Iteration 16: 0.814 us/op
[info] Iteration 17: 0.815 us/op
[info] Iteration 18: 0.831 us/op
[info] Iteration 19: 0.823 us/op
[info] Iteration 20: 0.815 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_ArraySet":
[info] 0.824 ±(99.9%) 0.006 us/op [Average]
[info] (min, avg, max) = (0.814, 0.824, 0.844), stdev = 0.007
[info] CI (99.9%): [0.817, 0.830] (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.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_BitSet
[info] # Run progress: 38.89% complete, ETA 00:11:36
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 45.699 us/op
[info] # Warmup Iteration 2: 1.988 us/op
[info] # Warmup Iteration 3: 2.169 us/op
[info] # Warmup Iteration 4: 2.573 us/op
[info] # Warmup Iteration 5: 2.546 us/op
[info] # Warmup Iteration 6: 2.558 us/op
[info] # Warmup Iteration 7: 2.576 us/op
[info] # Warmup Iteration 8: 2.568 us/op
[info] # Warmup Iteration 9: 2.574 us/op
[info] # Warmup Iteration 10: 2.553 us/op
[info] Iteration 1: 2.537 us/op
[info] Iteration 2: 2.591 us/op
[info] Iteration 3: 2.562 us/op
[info] Iteration 4: 2.558 us/op
[info] Iteration 5: 2.551 us/op
[info] Iteration 6: 2.536 us/op
[info] Iteration 7: 2.581 us/op
[info] Iteration 8: 2.572 us/op
[info] Iteration 9: 2.540 us/op
[info] Iteration 10: 2.554 us/op
[info] Iteration 11: 2.543 us/op
[info] Iteration 12: 2.607 us/op
[info] Iteration 13: 2.683 us/op
[info] Iteration 14: 2.573 us/op
[info] Iteration 15: 2.555 us/op
[info] Iteration 16: 2.562 us/op
[info] Iteration 17: 2.575 us/op
[info] Iteration 18: 2.570 us/op
[info] Iteration 19: 2.534 us/op
[info] Iteration 20: 2.562 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_BitSet":
[info] 2.567 ±(99.9%) 0.029 us/op [Average]
[info] (min, avg, max) = (2.534, 2.567, 2.683), stdev = 0.033
[info] CI (99.9%): [2.539, 2.596] (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.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_JavaHashSet
[info] # Run progress: 41.67% complete, ETA 00:11:04
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 1087897.440 us/op
[info] # Warmup Iteration 2: 7.108 us/op
[info] # Warmup Iteration 3: 6.952 us/op
[info] # Warmup Iteration 4: 6.924 us/op
[info] # Warmup Iteration 5: 7.178 us/op
[info] # Warmup Iteration 6: 7.013 us/op
[info] # Warmup Iteration 7: 6.995 us/op
[info] # Warmup Iteration 8: 7.038 us/op
[info] # Warmup Iteration 9: 6.936 us/op
[info] # Warmup Iteration 10: 6.984 us/op
[info] Iteration 1: 7.033 us/op
[info] Iteration 2: 7.251 us/op
[info] Iteration 3: 6.915 us/op
[info] Iteration 4: 6.880 us/op
[info] Iteration 5: 6.948 us/op
[info] Iteration 6: 7.018 us/op
[info] Iteration 7: 6.976 us/op
[info] Iteration 8: 6.872 us/op
[info] Iteration 9: 6.926 us/op
[info] Iteration 10: 6.928 us/op
[info] Iteration 11: 7.032 us/op
[info] Iteration 12: 6.867 us/op
[info] Iteration 13: 6.887 us/op
[info] Iteration 14: 6.681 us/op
[info] Iteration 15: 6.609 us/op
[info] Iteration 16: 6.587 us/op
[info] Iteration 17: 6.724 us/op
[info] Iteration 18: 7.118 us/op
[info] Iteration 19: 6.532 us/op
[info] Iteration 20: 6.588 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_JavaHashSet":
[info] 6.869 ±(99.9%) 0.168 us/op [Average]
[info] (min, avg, max) = (6.532, 6.869, 7.251), stdev = 0.193
[info] CI (99.9%): [6.701, 7.036] (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.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_Set
[info] # Run progress: 44.44% complete, ETA 00:10:31
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 1050551.200 us/op
[info] # Warmup Iteration 2: 6.942 us/op
[info] # Warmup Iteration 3: 6.565 us/op
[info] # Warmup Iteration 4: 6.494 us/op
[info] # Warmup Iteration 5: 6.588 us/op
[info] # Warmup Iteration 6: 6.549 us/op
[info] # Warmup Iteration 7: 6.549 us/op
[info] # Warmup Iteration 8: 6.487 us/op
[info] # Warmup Iteration 9: 6.531 us/op
[info] # Warmup Iteration 10: 6.566 us/op
[info] Iteration 1: 6.492 us/op
[info] Iteration 2: 6.501 us/op
[info] Iteration 3: 6.507 us/op
[info] Iteration 4: 6.481 us/op
[info] Iteration 5: 6.569 us/op
[info] Iteration 6: 6.512 us/op
[info] Iteration 7: 6.486 us/op
[info] Iteration 8: 6.457 us/op
[info] Iteration 9: 6.445 us/op
[info] Iteration 10: 6.561 us/op
[info] Iteration 11: 6.519 us/op
[info] Iteration 12: 6.460 us/op
[info] Iteration 13: 6.483 us/op
[info] Iteration 14: 6.520 us/op
[info] Iteration 15: 6.618 us/op
[info] Iteration 16: 6.425 us/op
[info] Iteration 17: 6.241 us/op
[info] Iteration 18: 6.261 us/op
[info] Iteration 19: 6.266 us/op
[info] Iteration 20: 6.312 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_Set":
[info] 6.456 ±(99.9%) 0.092 us/op [Average]
[info] (min, avg, max) = (6.241, 6.456, 6.618), stdev = 0.106
[info] CI (99.9%): [6.364, 6.548] (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.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_SortedSet
[info] # Run progress: 47.22% complete, ETA 00:09:59
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 894.297 us/op
[info] # Warmup Iteration 2: 8.570 us/op
[info] # Warmup Iteration 3: 7.565 us/op
[info] # Warmup Iteration 4: 8.217 us/op
[info] # Warmup Iteration 5: 8.273 us/op
[info] # Warmup Iteration 6: 8.320 us/op
[info] # Warmup Iteration 7: 10.149 us/op
[info] # Warmup Iteration 8: 9.125 us/op
[info] # Warmup Iteration 9: 9.017 us/op
[info] # Warmup Iteration 10: 9.024 us/op
[info] Iteration 1: 8.630 us/op
[info] Iteration 2: 8.692 us/op
[info] Iteration 3: 8.315 us/op
[info] Iteration 4: 8.476 us/op
[info] Iteration 5: 8.549 us/op
[info] Iteration 6: 8.210 us/op
[info] Iteration 7: 9.246 us/op
[info] Iteration 8: 10.929 us/op
[info] Iteration 9: 8.325 us/op
[info] Iteration 10: 8.322 us/op
[info] Iteration 11: 8.193 us/op
[info] Iteration 12: 8.174 us/op
[info] Iteration 13: 7.978 us/op
[info] Iteration 14: 8.088 us/op
[info] Iteration 15: 8.255 us/op
[info] Iteration 16: 8.182 us/op
[info] Iteration 17: 8.229 us/op
[info] Iteration 18: 8.113 us/op
[info] Iteration 19: 8.129 us/op
[info] Iteration 20: 8.270 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_BadInvoice_HalfHit_VerySmall.contains_SortedSet":
[info] 8.465 ±(99.9%) 0.559 us/op [Average]
[info] (min, avg, max) = (7.978, 8.465, 10.929), stdev = 0.644
[info] CI (99.9%): [7.906, 9.025] (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.SetBenchmark_Invoice_HalfHit_Large.contains_Array
[info] # Run progress: 50.00% complete, ETA 00:09:26
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: ≈ 10⁻³ us/op
[info] # Warmup Iteration 2: ≈ 10⁻³ us/op
[info] # Warmup Iteration 3: ≈ 10⁻³ us/op
[info] # Warmup Iteration 4: ≈ 10⁻³ us/op
[info] # Warmup Iteration 5: ≈ 10⁻³ us/op
[info] # Warmup Iteration 6: ≈ 10⁻³ us/op
[info] # Warmup Iteration 7: ≈ 10⁻³ us/op
[info] # Warmup Iteration 8: ≈ 10⁻³ us/op
[info] # Warmup Iteration 9: 0.001 us/op
[info] # Warmup Iteration 10: ≈ 10⁻³ us/op
[info] Iteration 1: ≈ 10⁻³ us/op
[info] Iteration 2: ≈ 10⁻³ us/op
[info] Iteration 3: ≈ 10⁻³ us/op
[info] Iteration 4: ≈ 10⁻³ us/op
[info] Iteration 5: 0.001 us/op
[info] Iteration 6: ≈ 10⁻³ us/op
[info] Iteration 7: ≈ 10⁻³ us/op
[info] Iteration 8: ≈ 10⁻³ us/op
[info] Iteration 9: ≈ 10⁻³ us/op
[info] Iteration 10: ≈ 10⁻³ us/op
[info] Iteration 11: ≈ 10⁻³ us/op
[info] Iteration 12: ≈ 10⁻³ us/op
[info] Iteration 13: ≈ 10⁻³ us/op
[info] Iteration 14: ≈ 10⁻³ us/op
[info] Iteration 15: ≈ 10⁻³ us/op
[info] Iteration 16: ≈ 10⁻³ us/op
[info] Iteration 17: ≈ 10⁻³ us/op
[info] Iteration 18: ≈ 10⁻³ us/op
[info] Iteration 19: ≈ 10⁻³ us/op
[info] Iteration 20: ≈ 10⁻³ us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_Invoice_HalfHit_Large.contains_Array":
[info] ≈ 10⁻³ us/op
[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.SetBenchmark_Invoice_HalfHit_Large.contains_ArraySet
[info] # Run progress: 52.78% complete, ETA 00:08:54
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 2983954.884 us/op
[info] # Warmup Iteration 2: 2.979 us/op
[info] # Warmup Iteration 3: 2.973 us/op
[info] # Warmup Iteration 4: 2.847 us/op
[info] # Warmup Iteration 5: 2.825 us/op
[info] # Warmup Iteration 6: 2.863 us/op
[info] # Warmup Iteration 7: 2.844 us/op
[info] # Warmup Iteration 8: 2.828 us/op
[info] # Warmup Iteration 9: 2.857 us/op
[info] # Warmup Iteration 10: 2.826 us/op
[info] Iteration 1: 2.884 us/op
[info] Iteration 2: 2.825 us/op
[info] Iteration 3: 2.820 us/op
[info] Iteration 4: 2.834 us/op
[info] Iteration 5: 2.838 us/op
[info] Iteration 6: 2.876 us/op
[info] Iteration 7: 2.825 us/op
[info] Iteration 8: 2.831 us/op
[info] Iteration 9: 2.841 us/op
[info] Iteration 10: 2.853 us/op
[info] Iteration 11: 2.864 us/op
[info] Iteration 12: 2.831 us/op
[info] Iteration 13: 2.867 us/op
[info] Iteration 14: 3.000 us/op
[info] Iteration 15: 2.818 us/op
[info] Iteration 16: 2.864 us/op
[info] Iteration 17: 2.845 us/op
[info] Iteration 18: 2.835 us/op
[info] Iteration 19: 2.829 us/op
[info] Iteration 20: 2.830 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_Invoice_HalfHit_Large.contains_ArraySet":
[info] 2.850 ±(99.9%) 0.035 us/op [Average]
[info] (min, avg, max) = (2.818, 2.850, 3.000), stdev = 0.040
[info] CI (99.9%): [2.816, 2.885] (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.SetBenchmark_Invoice_HalfHit_Large.contains_BitSet
[info] # Run progress: 55.56% complete, ETA 00:08:24
[info] # Fork: 1 of 1
[info] # Warmup Iteration 1: 3021641.188 us/op
[info] # Warmup Iteration 2: 3.133 us/op
[info] # Warmup Iteration 3: 2.805 us/op
[info] # Warmup Iteration 4: 3.401 us/op
[info] # Warmup Iteration 5: 3.408 us/op
[info] # Warmup Iteration 6: 3.401 us/op
[info] # Warmup Iteration 7: 3.435 us/op
[info] # Warmup Iteration 8: 3.430 us/op
[info] # Warmup Iteration 9: 3.429 us/op
[info] # Warmup Iteration 10: 3.430 us/op
[info] Iteration 1: 3.426 us/op
[info] Iteration 2: 3.405 us/op
[info] Iteration 3: 3.454 us/op
[info] Iteration 4: 3.402 us/op
[info] Iteration 5: 3.565 us/op
[info] Iteration 6: 3.409 us/op
[info] Iteration 7: 3.425 us/op
[info] Iteration 8: 3.448 us/op
[info] Iteration 9: 3.444 us/op
[info] Iteration 10: 3.425 us/op
[info] Iteration 11: 3.407 us/op
[info] Iteration 12: 3.403 us/op
[info] Iteration 13: 3.475 us/op
[info] Iteration 14: 3.403 us/op
[info] Iteration 15: 3.402 us/op
[info] Iteration 16: 3.403 us/op
[info] Iteration 17: 3.436 us/op
[info] Iteration 18: 3.451 us/op
[info] Iteration 19: 3.421 us/op
[info] Iteration 20: 3.409 us/op
[info] Result "co.datadome.pub.scalaio2024.benchmarks.chapter3.SetBenchmark_Invoice_HalfHit_Large.contains_BitSet":
[info] 3.431 ±(99.9%) 0.033 us/op [Average]
[info] (min, avg, max) = (3.402, 3.431, 3.565), stdev = 0.038
[info] CI (99.9%): [3.398, 3.464] (assumes normal distribution)