diff --git a/previous-exams/2022-midterm-code/.gitignore b/previous-exams/2022-midterm-code/.gitignore new file mode 100644 index 0000000000000000000000000000000000000000..99dff8673c4ef8df812216a88ec4901f582bac02 --- /dev/null +++ b/previous-exams/2022-midterm-code/.gitignore @@ -0,0 +1,7 @@ +.vscode +.metals +.bloop +.bsp +target +metals.sbt +build.properties diff --git a/previous-exams/2022-midterm-code/.scalafmt.conf b/previous-exams/2022-midterm-code/.scalafmt.conf new file mode 100644 index 0000000000000000000000000000000000000000..1cea5243def8047a81295a8b13cb970660e0b3fc --- /dev/null +++ b/previous-exams/2022-midterm-code/.scalafmt.conf @@ -0,0 +1,4 @@ +version = "3.4.0" +runner.dialect = scala3 +rewrite.scala3.convertToNewSyntax = true +rewrite.scala3.removeOptionalBraces = true diff --git a/previous-exams/2022-midterm-code/Readme.md b/previous-exams/2022-midterm-code/Readme.md new file mode 100644 index 0000000000000000000000000000000000000000..fd3b3dcae6d474ffc6a5774634e1e1b6845dd15f --- /dev/null +++ b/previous-exams/2022-midterm-code/Readme.md @@ -0,0 +1,41 @@ +# How to run + +This folder contains the code of most of the exercises of the midterm, along with tests and comments. + +- Questions 1-3: [Part1.scala](src/main/scala/midterm/Part1.scala) +- Questions 4-7: [Part2.scala](src/main/scala/midterm/Part2.scala) +- Question 8: [Part3.scala](src/main/scala/midterm/Part3.scala) +- Questions 9-15: [Part4.scala](src/main/scala/midterm/Part4.scala) +- Question 21: [Part6.scala](src/main/scala/midterm/Part6.scala) +- Questions 22-24: [Part7.scala](src/main/scala/midterm/Part7.scala) +- Question 25: [Part8.scala](src/main/scala/midterm/Part8.scala) + +## Test + +``` +sbt test +``` + +or to run a specific suite: + +``` +sbt testOnly midterm.Part1Test +``` + +## Run a main function + +``` +sbt runMain midterm.part1 +``` + +## Format + +``` +sbt scalafmt +``` + +## Benchmark + +``` +sbt jmh:run -bm ss -i 40 -wi 5 -rf JSON -rff CollectionsBenchmarkResults.json bench.CollectionBenchmark +``` diff --git a/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults.json b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults.json new file mode 100644 index 0000000000000000000000000000000000000000..36b3ee32a5224806fabecdaf9b9791fc184dd3d0 --- /dev/null +++ b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults.json @@ -0,0 +1,8260 @@ +[ + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.3138780000000006E-5, + "scoreError" : 1.528127842192391E-6, + "scoreConfidence" : [ + 1.1610652157807614E-5, + 1.4666907842192397E-5 + ], + "scorePercentiles" : { + "0.0" : 6.417E-6, + "50.0" : 1.0846499999999999E-5, + "90.0" : 2.1913700000000007E-5, + "95.0" : 3.0361999999999964E-5, + "99.0" : 3.877779000000002E-5, + "99.9" : 4.271E-5, + "99.99" : 4.271E-5, + "99.999" : 4.271E-5, + "99.9999" : 4.271E-5, + "100.0" : 4.271E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.0306E-5, + 9.856E-6, + 9.549E-6, + 9.725E-6, + 8.996E-6, + 9.291E-6, + 9.531E-6, + 9.606E-6, + 1.0886E-5, + 1.1025E-5, + 1.0233E-5, + 1.0611E-5, + 1.452E-5, + 1.0263E-5, + 1.4691E-5, + 1.075E-5, + 1.4091E-5, + 1.3805E-5, + 9.645E-6, + 1.3027E-5, + 1.5055E-5, + 9.623E-6, + 1.0055E-5, + 9.553E-6, + 9.76E-6, + 8.182E-6, + 7.954E-6, + 9.106E-6, + 1.0187E-5, + 8.079E-6, + 8.994E-6, + 8.199E-6, + 8.628E-6, + 1.0725E-5, + 9.59E-6, + 8.075E-6, + 1.2181E-5, + 4.271E-5, + 9.506E-6, + 1.4042E-5 + ], + [ + 1.433E-5, + 1.4074E-5, + 1.5759E-5, + 1.1535E-5, + 1.0959E-5, + 1.4021E-5, + 1.452E-5, + 1.6772E-5, + 1.0264E-5, + 1.4797E-5, + 1.075E-5, + 1.6043E-5, + 2.7417E-5, + 1.5585E-5, + 3.0517E-5, + 1.1777E-5, + 1.1615E-5, + 3.1193E-5, + 3.3444E-5, + 1.2913E-5, + 1.5243E-5, + 3.7173E-5, + 9.412E-6, + 1.0145E-5, + 3.6325E-5, + 7.672E-6, + 7.176E-6, + 9.216E-6, + 3.4192E-5, + 1.3987E-5, + 2.2034E-5, + 7.566E-6, + 7.717E-6, + 1.0716E-5, + 1.0879E-5, + 2.2625E-5, + 1.2431E-5, + 2.0191E-5, + 1.133E-5, + 1.108E-5 + ], + [ + 1.8399E-5, + 1.8937E-5, + 2.0831E-5, + 1.863E-5, + 1.2124E-5, + 1.6012E-5, + 1.4496E-5, + 1.359E-5, + 1.2414E-5, + 1.3463E-5, + 1.3907E-5, + 1.7746E-5, + 1.6589E-5, + 1.1352E-5, + 1.1967E-5, + 1.1069E-5, + 1.5535E-5, + 2.7037E-5, + 1.3044E-5, + 1.2464E-5, + 2.454E-5, + 1.1621E-5, + 1.6172E-5, + 1.2906E-5, + 1.3601E-5, + 2.2422E-5, + 1.1522E-5, + 1.2671E-5, + 1.7785E-5, + 1.3904E-5, + 1.422E-5, + 1.4986E-5, + 1.4666E-5, + 1.4135E-5, + 1.2964E-5, + 1.5253E-5, + 1.4946E-5, + 2.3892E-5, + 1.3321E-5, + 1.2976E-5 + ], + [ + 1.0836E-5, + 9.783E-6, + 9.625E-6, + 9.758E-6, + 9.362E-6, + 9.159E-6, + 1.0604E-5, + 9.923E-6, + 9.577E-6, + 8.597E-6, + 9.215E-6, + 1.0216E-5, + 3.239E-5, + 1.0253E-5, + 1.062E-5, + 1.0587E-5, + 1.0857E-5, + 1.1998E-5, + 2.3706E-5, + 9.751E-6, + 1.5493E-5, + 9.656E-6, + 9.869E-6, + 2.5335E-5, + 8.625E-6, + 7.898E-6, + 2.2052E-5, + 3.5788E-5, + 9.673E-6, + 8.262E-6, + 8.042E-6, + 7.949E-6, + 7.327E-6, + 6.783E-6, + 6.417E-6, + 7.957E-6, + 8.223E-6, + 1.261E-5, + 7.431E-6, + 8.913E-6 + ], + [ + 1.181E-5, + 1.0401E-5, + 9.595E-6, + 1.0438E-5, + 9.703E-6, + 9.85E-6, + 1.1082E-5, + 1.0794E-5, + 1.1058E-5, + 1.1085E-5, + 1.018E-5, + 1.008E-5, + 1.0231E-5, + 9.602E-6, + 9.811E-6, + 9.628E-6, + 1.082E-5, + 1.139E-5, + 3.8794E-5, + 9.979E-6, + 1.7579E-5, + 1.3581E-5, + 1.0044E-5, + 9.086E-6, + 8.007E-6, + 7.865E-6, + 7.832E-6, + 7.794E-6, + 7.127E-6, + 1.1444E-5, + 1.0192E-5, + 8.82E-6, + 7.868E-6, + 7.727E-6, + 1.0464E-5, + 9.907E-6, + 9.264E-6, + 1.4598E-5, + 8.577E-6, + 8.414E-6 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 1.1416414999999992E-5, + "scoreError" : 1.014676800120889E-6, + "scoreConfidence" : [ + 1.0401738199879103E-5, + 1.2431091800120882E-5 + ], + "scorePercentiles" : { + "0.0" : 6.331E-6, + "50.0" : 1.04425E-5, + "90.0" : 1.61839E-5, + "95.0" : 1.8340299999999998E-5, + "99.0" : 3.658052000000006E-5, + "99.9" : 4.0758E-5, + "99.99" : 4.0758E-5, + "99.999" : 4.0758E-5, + "99.9999" : 4.0758E-5, + "100.0" : 4.0758E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.6654E-5, + 1.3017E-5, + 1.1719E-5, + 1.1473E-5, + 1.2789E-5, + 1.7562E-5, + 1.1402E-5, + 1.0957E-5, + 1.1022E-5, + 1.0857E-5, + 1.9211E-5, + 1.0053E-5, + 8.794E-6, + 1.4189E-5, + 8.799E-6, + 8.428E-6, + 8.875E-6, + 1.5506E-5, + 1.2279E-5, + 1.0776E-5, + 1.0253E-5, + 1.0816E-5, + 9.789E-6, + 8.917E-6, + 9.142E-6, + 1.0466E-5, + 9.732E-6, + 9.131E-6, + 9.337E-6, + 9.131E-6, + 9.259E-6, + 2.0806E-5, + 9.287E-6, + 1.297E-5, + 1.6724E-5, + 6.561E-6, + 6.727E-6, + 1.3086E-5, + 7.039E-6, + 6.768E-6 + ], + [ + 1.3694E-5, + 1.2035E-5, + 1.2569E-5, + 1.1748E-5, + 1.1688E-5, + 1.8348E-5, + 1.0778E-5, + 1.0423E-5, + 1.0763E-5, + 1.0834E-5, + 1.87E-5, + 1.0053E-5, + 9.602E-6, + 1.6502E-5, + 1.006E-5, + 1.0053E-5, + 1.0125E-5, + 1.9536E-5, + 1.1442E-5, + 1.434E-5, + 1.0998E-5, + 1.1131E-5, + 1.0462E-5, + 1.0604E-5, + 9.104E-6, + 9.271E-6, + 9.19E-6, + 8.833E-6, + 8.281E-6, + 8.246E-6, + 8.847E-6, + 1.5516E-5, + 9.373E-6, + 1.3942E-5, + 8.46E-6, + 1.5949E-5, + 6.548E-6, + 1.1795E-5, + 7.333E-6, + 6.785E-6 + ], + [ + 1.5676E-5, + 1.1669E-5, + 1.1585E-5, + 1.0984E-5, + 1.1836E-5, + 1.6963E-5, + 1.1479E-5, + 1.1389E-5, + 1.0249E-5, + 1.0889E-5, + 1.919E-5, + 9.701E-6, + 8.523E-6, + 1.5889E-5, + 8.579E-6, + 9.033E-6, + 8.968E-6, + 1.621E-5, + 1.2278E-5, + 1.2375E-5, + 1.3013E-5, + 1.3077E-5, + 1.097E-5, + 9.595E-6, + 8.89E-6, + 1.0333E-5, + 9.281E-6, + 8.809E-6, + 8.543E-6, + 8.466E-6, + 8.679E-6, + 3.6649E-5, + 8.804E-6, + 1.3674E-5, + 8.851E-6, + 1.7827E-5, + 6.865E-6, + 1.1414E-5, + 7.07E-6, + 6.331E-6 + ], + [ + 1.3575E-5, + 1.2263E-5, + 1.2486E-5, + 1.1627E-5, + 1.1402E-5, + 1.8194E-5, + 1.1049E-5, + 1.2736E-5, + 1.0321E-5, + 1.0403E-5, + 1.9206E-5, + 1.1677E-5, + 8.518E-6, + 1.4557E-5, + 8.344E-6, + 1.0052E-5, + 8.284E-6, + 2.9801E-5, + 1.3209E-5, + 1.0858E-5, + 1.187E-5, + 1.21E-5, + 9.484E-6, + 1.0836E-5, + 8.927E-6, + 8.457E-6, + 8.169E-6, + 8.153E-6, + 8.491E-6, + 8.244E-6, + 9.443E-6, + 4.0758E-5, + 9.821E-6, + 1.5875E-5, + 7.868E-6, + 1.5702E-5, + 7.29E-6, + 1.1847E-5, + 6.395E-6, + 6.682E-6 + ], + [ + 1.4617E-5, + 1.1494E-5, + 1.2513E-5, + 1.2272E-5, + 1.2321E-5, + 1.1178E-5, + 1.053E-5, + 9.885E-6, + 9.174E-6, + 8.963E-6, + 9.52E-6, + 9.518E-6, + 9.188E-6, + 1.5553E-5, + 8.849E-6, + 9.332E-6, + 8.904E-6, + 1.483E-5, + 1.3121E-5, + 1.0955E-5, + 1.0317E-5, + 9.472E-6, + 9.188E-6, + 9.114E-6, + 9.825E-6, + 8.84E-6, + 9.089E-6, + 8.939E-6, + 8.698E-6, + 8.959E-6, + 8.458E-6, + 1.753E-5, + 8.547E-6, + 1.4813E-5, + 1.6901E-5, + 6.454E-6, + 8.099E-6, + 1.2578E-5, + 7.504E-6, + 7.397E-6 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 1.7079950000000002E-5, + "scoreError" : 1.533958144309828E-6, + "scoreConfidence" : [ + 1.5545991855690175E-5, + 1.861390814430983E-5 + ], + "scorePercentiles" : { + "0.0" : 8.727E-6, + "50.0" : 1.6804E-5, + "90.0" : 2.2987900000000004E-5, + "95.0" : 2.7795449999999978E-5, + "99.0" : 4.326946000000005E-5, + "99.9" : 6.49E-5, + "99.99" : 6.49E-5, + "99.999" : 6.49E-5, + "99.9999" : 6.49E-5, + "100.0" : 6.49E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.865E-5, + 1.4176E-5, + 1.2085E-5, + 1.985E-5, + 1.8564E-5, + 2.0125E-5, + 1.7305E-5, + 1.2902E-5, + 1.2124E-5, + 1.2728E-5, + 2.1187E-5, + 1.712E-5, + 2.0204E-5, + 2.3808E-5, + 1.2106E-5, + 9.674E-6, + 1.3812E-5, + 1.1189E-5, + 1.078E-5, + 1.6107E-5, + 1.6141E-5, + 1.634E-5, + 1.6702E-5, + 1.7796E-5, + 2.8103E-5, + 1.7964E-5, + 1.8142E-5, + 1.8601E-5, + 1.8233E-5, + 1.2647E-5, + 1.0267E-5, + 2.8344E-5, + 6.49E-5, + 1.0525E-5, + 1.0465E-5, + 1.7655E-5, + 2.4205E-5, + 3.0908E-5, + 1.2201E-5, + 1.9579E-5 + ], + [ + 1.8915E-5, + 1.9728E-5, + 2.7886E-5, + 1.681E-5, + 2.2082E-5, + 1.9644E-5, + 1.7536E-5, + 1.3776E-5, + 1.5386E-5, + 1.2743E-5, + 3.3006E-5, + 1.8311E-5, + 1.5069E-5, + 2.3226E-5, + 1.099E-5, + 1.0257E-5, + 1.8135E-5, + 1.1136E-5, + 1.3838E-5, + 1.9804E-5, + 1.4276E-5, + 1.7409E-5, + 1.7645E-5, + 1.9279E-5, + 2.171E-5, + 1.9192E-5, + 1.7333E-5, + 1.7551E-5, + 1.8161E-5, + 1.2162E-5, + 9.588E-6, + 1.8601E-5, + 2.1937E-5, + 1.0501E-5, + 1.0836E-5, + 1.9379E-5, + 1.5538E-5, + 2.0169E-5, + 1.1876E-5, + 2.2114E-5 + ], + [ + 2.0445E-5, + 1.4899E-5, + 1.8062E-5, + 2.1044E-5, + 1.9048E-5, + 1.9583E-5, + 1.6992E-5, + 1.2378E-5, + 1.2473E-5, + 1.3341E-5, + 2.0901E-5, + 1.5406E-5, + 1.869E-5, + 2.2447E-5, + 1.096E-5, + 9.352E-6, + 1.3414E-5, + 1.0932E-5, + 1.0431E-5, + 1.5892E-5, + 1.6572E-5, + 1.6655E-5, + 1.9955E-5, + 1.5727E-5, + 2.6068E-5, + 1.8046E-5, + 1.8818E-5, + 1.6798E-5, + 1.1591E-5, + 1.1544E-5, + 1.0005E-5, + 1.8357E-5, + 1.6075E-5, + 9.906E-6, + 8.727E-6, + 1.7084E-5, + 3.7672E-5, + 2.6075E-5, + 1.0989E-5, + 1.8849E-5 + ], + [ + 2.4467E-5, + 1.9172E-5, + 1.3165E-5, + 1.1442E-5, + 1.7395E-5, + 1.8077E-5, + 1.8158E-5, + 1.448E-5, + 1.293E-5, + 1.8391E-5, + 3.4903E-5, + 1.1582E-5, + 1.0108E-5, + 2.0751E-5, + 1.1295E-5, + 9.838E-6, + 1.5063E-5, + 1.5686E-5, + 1.5577E-5, + 1.328E-5, + 1.1568E-5, + 1.4959E-5, + 2.145E-5, + 1.65E-5, + 1.9852E-5, + 1.9204E-5, + 2.5608E-5, + 1.9705E-5, + 1.2544E-5, + 1.3588E-5, + 1.2074E-5, + 4.3326E-5, + 3.7287E-5, + 1.4171E-5, + 1.0878E-5, + 1.0789E-5, + 1.2042E-5, + 2.0437E-5, + 8.902E-6, + 1.9202E-5 + ], + [ + 2.0716E-5, + 1.3362E-5, + 1.316E-5, + 2.1045E-5, + 1.7549E-5, + 2.3048E-5, + 1.9364E-5, + 1.4374E-5, + 1.9262E-5, + 1.7986E-5, + 2.1837E-5, + 1.0662E-5, + 9.555E-6, + 2.3244E-5, + 9.565E-6, + 9.179E-6, + 1.5604E-5, + 1.1877E-5, + 1.0271E-5, + 9.376E-6, + 1.7637E-5, + 1.6278E-5, + 1.5403E-5, + 1.7018E-5, + 2.383E-5, + 1.8466E-5, + 2.1881E-5, + 1.5502E-5, + 1.5892E-5, + 1.6405E-5, + 1.0665E-5, + 2.0993E-5, + 1.7465E-5, + 1.7627E-5, + 1.5455E-5, + 1.1864E-5, + 9.329E-6, + 2.104E-5, + 1.354E-5, + 1.8866E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 2.3917775000000005E-5, + "scoreError" : 2.491666467469601E-6, + "scoreConfidence" : [ + 2.1426108532530403E-5, + 2.6409441467469607E-5 + ], + "scorePercentiles" : { + "0.0" : 1.1722E-5, + "50.0" : 1.97965E-5, + "90.0" : 3.643310000000001E-5, + "95.0" : 4.9687699999999995E-5, + "99.0" : 6.900151000000005E-5, + "99.9" : 7.0315E-5, + "99.99" : 7.0315E-5, + "99.999" : 7.0315E-5, + "99.9999" : 7.0315E-5, + "100.0" : 7.0315E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 2.0593E-5, + 1.8681E-5, + 5.6965E-5, + 1.5403E-5, + 1.7759E-5, + 1.7654E-5, + 1.5704E-5, + 2.146E-5, + 4.0335E-5, + 1.7464E-5, + 2.6358E-5, + 1.3725E-5, + 1.7096E-5, + 1.3922E-5, + 1.8184E-5, + 2.261E-5, + 1.8253E-5, + 3.3349E-5, + 2.5654E-5, + 1.7554E-5, + 2.185E-5, + 1.7867E-5, + 1.2473E-5, + 4.9703E-5, + 1.9212E-5, + 2.717E-5, + 3.1677E-5, + 1.3409E-5, + 1.7809E-5, + 1.7148E-5, + 1.7418E-5, + 1.4257E-5, + 2.1667E-5, + 1.7816E-5, + 2.0151E-5, + 1.7644E-5, + 2.2059E-5, + 3.2066E-5, + 1.1722E-5, + 7.0315E-5 + ], + [ + 2.1382E-5, + 1.9227E-5, + 3.6581E-5, + 1.8911E-5, + 1.894E-5, + 2.7913E-5, + 1.9728E-5, + 2.3467E-5, + 1.7583E-5, + 2.0011E-5, + 2.6784E-5, + 1.3342E-5, + 5.0709E-5, + 1.7694E-5, + 1.4105E-5, + 1.7017E-5, + 1.4893E-5, + 1.7828E-5, + 1.4153E-5, + 2.5573E-5, + 1.8265E-5, + 1.3049E-5, + 1.7475E-5, + 4.5301E-5, + 3.1149E-5, + 2.5455E-5, + 3.458E-5, + 1.756E-5, + 2.097E-5, + 3.1833E-5, + 1.9236E-5, + 1.8219E-5, + 2.1735E-5, + 2.4847E-5, + 1.7501E-5, + 1.7259E-5, + 1.7074E-5, + 4.8644E-5, + 1.8588E-5, + 5.6464E-5 + ], + [ + 2.1407E-5, + 1.9064E-5, + 1.9948E-5, + 2.0065E-5, + 2.4212E-5, + 1.9004E-5, + 1.9788E-5, + 2.5098E-5, + 1.7104E-5, + 2.1445E-5, + 2.6279E-5, + 1.9397E-5, + 1.8535E-5, + 1.8057E-5, + 2.664E-5, + 1.8779E-5, + 2.0885E-5, + 1.8154E-5, + 1.3421E-5, + 1.928E-5, + 1.7229E-5, + 2.5607E-5, + 1.8135E-5, + 4.6308E-5, + 3.1053E-5, + 1.5233E-5, + 4.0409E-5, + 2.0336E-5, + 2.0828E-5, + 1.7164E-5, + 2.105E-5, + 1.7019E-5, + 4.2102E-5, + 1.776E-5, + 6.2518E-5, + 1.8331E-5, + 1.908E-5, + 6.9067E-5, + 1.7986E-5, + 5.1456E-5 + ], + [ + 2.0053E-5, + 1.8458E-5, + 5.8445E-5, + 2.1644E-5, + 1.9418E-5, + 1.9302E-5, + 2.2805E-5, + 1.9617E-5, + 1.9696E-5, + 2.4858E-5, + 2.7035E-5, + 2.5537E-5, + 1.9186E-5, + 2.968E-5, + 1.6965E-5, + 2.5135E-5, + 1.8229E-5, + 2.5491E-5, + 2.15E-5, + 1.91E-5, + 2.4663E-5, + 1.7372E-5, + 1.8933E-5, + 3.1951E-5, + 4.3288E-5, + 1.8748E-5, + 3.4067E-5, + 1.6063E-5, + 1.7276E-5, + 1.9508E-5, + 5.0394E-5, + 1.924E-5, + 1.8309E-5, + 2.1459E-5, + 2.4065E-5, + 1.724E-5, + 2.2478E-5, + 3.2269E-5, + 2.0226E-5, + 3.1833E-5 + ], + [ + 2.1356E-5, + 2.0004E-5, + 1.9901E-5, + 1.8612E-5, + 2.336E-5, + 1.8935E-5, + 1.9187E-5, + 2.5302E-5, + 1.8099E-5, + 3.1867E-5, + 2.6812E-5, + 2.4233E-5, + 1.7695E-5, + 1.7378E-5, + 3.5102E-5, + 1.7825E-5, + 2.3458E-5, + 1.942E-5, + 2.3688E-5, + 3.0584E-5, + 1.8507E-5, + 1.9984E-5, + 1.9354E-5, + 4.9397E-5, + 3.2538E-5, + 2.4161E-5, + 3.0751E-5, + 2.1821E-5, + 2.4078E-5, + 1.7775E-5, + 1.7291E-5, + 1.744E-5, + 1.8535E-5, + 1.7396E-5, + 1.9805E-5, + 2.4431E-5, + 1.7789E-5, + 3.3048E-5, + 1.7298E-5, + 4.9368E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.5085647500000002E-4, + "scoreError" : 1.6283513321888603E-5, + "scoreConfidence" : [ + 1.3457296167811142E-4, + 1.6713998832188862E-4 + ], + "scorePercentiles" : { + "0.0" : 5.9937E-5, + "50.0" : 1.507215E-4, + "90.0" : 2.4143620000000002E-4, + "95.0" : 2.7323774999999994E-4, + "99.0" : 3.462359500000002E-4, + "99.9" : 3.74866E-4, + "99.99" : 3.74866E-4, + "99.999" : 3.74866E-4, + "99.9999" : 3.74866E-4, + "100.0" : 3.74866E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 2.96103E-4, + 2.90326E-4, + 3.74866E-4, + 2.32002E-4, + 2.23338E-4, + 2.59337E-4, + 3.27718E-4, + 2.51324E-4, + 2.30297E-4, + 2.226E-4, + 2.15695E-4, + 2.84352E-4, + 2.69661E-4, + 2.894E-4, + 3.46423E-4, + 2.91646E-4, + 2.73426E-4, + 9.4104E-5, + 9.5189E-5, + 9.5513E-5, + 1.57373E-4, + 1.09877E-4, + 1.09571E-4, + 1.22852E-4, + 1.02446E-4, + 1.45621E-4, + 1.05996E-4, + 9.8675E-5, + 8.8976E-5, + 1.57332E-4, + 9.5813E-5, + 1.45647E-4, + 1.58024E-4, + 1.24387E-4, + 1.6942E-4, + 2.13988E-4, + 1.96796E-4, + 1.03669E-4, + 9.7939E-5, + 1.21009E-4 + ], + [ + 2.50161E-4, + 2.41946E-4, + 2.15894E-4, + 2.2472E-4, + 2.31422E-4, + 2.42668E-4, + 2.36848E-4, + 2.30434E-4, + 2.36251E-4, + 2.12868E-4, + 2.23064E-4, + 2.29196E-4, + 2.13802E-4, + 2.09846E-4, + 2.12585E-4, + 2.12838E-4, + 2.13157E-4, + 2.10605E-4, + 2.13486E-4, + 2.18151E-4, + 1.05701E-4, + 8.9845E-5, + 8.7E-5, + 9.1508E-5, + 9.0274E-5, + 8.4287E-5, + 9.7987E-5, + 9.667E-5, + 1.25444E-4, + 1.21743E-4, + 1.05537E-4, + 1.37435E-4, + 1.08287E-4, + 1.33981E-4, + 1.50147E-4, + 9.6558E-5, + 9.3621E-5, + 1.3326E-4, + 1.91238E-4, + 1.17037E-4 + ], + [ + 1.73246E-4, + 2.44601E-4, + 1.56392E-4, + 1.54849E-4, + 1.6071E-4, + 1.55554E-4, + 1.51201E-4, + 1.6041E-4, + 1.53309E-4, + 1.55217E-4, + 1.56053E-4, + 1.58912E-4, + 1.78742E-4, + 1.51613E-4, + 1.57757E-4, + 1.63444E-4, + 1.58163E-4, + 1.58691E-4, + 1.58962E-4, + 1.8399E-4, + 1.26128E-4, + 8.2229E-5, + 8.7124E-5, + 7.498E-5, + 7.1764E-5, + 1.1595E-4, + 6.632E-5, + 6.8115E-5, + 7.4938E-5, + 7.3374E-5, + 6.6485E-5, + 6.3362E-5, + 8.3412E-5, + 7.6246E-5, + 7.001E-5, + 6.4219E-5, + 6.4356E-5, + 6.5763E-5, + 6.5361E-5, + 6.5861E-5 + ], + [ + 2.28794E-4, + 2.34452E-4, + 2.15049E-4, + 2.22805E-4, + 2.17585E-4, + 2.09449E-4, + 2.12791E-4, + 2.15361E-4, + 2.67857E-4, + 2.34641E-4, + 2.11472E-4, + 2.10566E-4, + 2.05891E-4, + 2.24691E-4, + 2.29126E-4, + 2.21972E-4, + 2.2198E-4, + 2.45092E-4, + 2.50872E-4, + 1.14456E-4, + 1.1933E-4, + 1.00829E-4, + 9.0625E-5, + 9.16E-5, + 9.7443E-5, + 8.442E-5, + 9.2121E-5, + 1.07537E-4, + 1.08067E-4, + 1.04526E-4, + 1.0541E-4, + 1.42499E-4, + 1.0336E-4, + 1.06752E-4, + 9.0864E-5, + 8.7182E-5, + 9.629E-5, + 1.00735E-4, + 8.4317E-5, + 8.6513E-5 + ], + [ + 1.77265E-4, + 2.79867E-4, + 1.53898E-4, + 1.52042E-4, + 1.53111E-4, + 1.50489E-4, + 1.55037E-4, + 1.97783E-4, + 1.50192E-4, + 1.60868E-4, + 1.50954E-4, + 1.58274E-4, + 1.49605E-4, + 1.51062E-4, + 1.54843E-4, + 1.51172E-4, + 1.5676E-4, + 1.59973E-4, + 1.55097E-4, + 1.5654E-4, + 1.25145E-4, + 6.3165E-5, + 5.9937E-5, + 6.71E-5, + 6.1031E-5, + 6.4034E-5, + 6.329E-5, + 6.0872E-5, + 6.1405E-5, + 6.0613E-5, + 6.2358E-5, + 6.1443E-5, + 6.322E-5, + 6.2912E-5, + 9.8491E-5, + 6.4123E-5, + 6.1754E-5, + 6.7506E-5, + 6.7134E-5, + 6.1562E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 2.59396075E-4, + "scoreError" : 3.083245950291946E-5, + "scoreConfidence" : [ + 2.2856361549708054E-4, + 2.902285345029194E-4 + ], + "scorePercentiles" : { + "0.0" : 1.70802E-4, + "50.0" : 1.82025E-4, + "90.0" : 4.82823E-4, + "95.0" : 4.9065655E-4, + "99.0" : 5.067418599999999E-4, + "99.9" : 5.0721E-4, + "99.99" : 5.0721E-4, + "99.999" : 5.0721E-4, + "99.9999" : 5.0721E-4, + "100.0" : 5.0721E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 4.86472E-4, + 4.893E-4, + 4.8286E-4, + 4.80597E-4, + 4.92102E-4, + 4.92938E-4, + 5.05738E-4, + 5.02072E-4, + 5.0721E-4, + 4.99483E-4, + 2.01769E-4, + 1.8809E-4, + 1.89141E-4, + 1.86775E-4, + 1.84353E-4, + 1.9054E-4, + 1.83285E-4, + 1.82688E-4, + 1.81954E-4, + 1.82021E-4, + 1.87632E-4, + 1.82302E-4, + 1.8063E-4, + 1.81689E-4, + 1.8227E-4, + 1.83197E-4, + 1.82451E-4, + 1.82121E-4, + 1.8088E-4, + 1.81982E-4, + 1.81912E-4, + 2.05731E-4, + 2.36401E-4, + 1.85412E-4, + 1.83343E-4, + 1.80015E-4, + 2.17813E-4, + 1.82663E-4, + 1.82029E-4, + 1.83094E-4 + ], + [ + 4.80813E-4, + 4.7204E-4, + 4.79513E-4, + 4.72216E-4, + 4.89836E-4, + 4.90687E-4, + 5.06752E-4, + 4.95085E-4, + 4.89886E-4, + 4.85102E-4, + 2.23985E-4, + 1.78881E-4, + 1.73402E-4, + 1.77127E-4, + 1.72853E-4, + 1.7626E-4, + 1.73585E-4, + 1.71953E-4, + 1.71318E-4, + 1.83471E-4, + 1.76793E-4, + 1.73986E-4, + 1.71044E-4, + 1.7236E-4, + 1.72832E-4, + 1.75014E-4, + 1.7411E-4, + 1.72281E-4, + 1.73754E-4, + 1.71781E-4, + 1.73196E-4, + 2.19199E-4, + 1.83145E-4, + 1.72691E-4, + 1.71234E-4, + 1.7237E-4, + 1.73034E-4, + 1.73976E-4, + 2.98627E-4, + 1.76673E-4 + ], + [ + 4.87609E-4, + 4.94182E-4, + 4.73234E-4, + 4.75365E-4, + 4.7594E-4, + 4.86646E-4, + 4.82083E-4, + 4.8249E-4, + 4.79857E-4, + 4.90078E-4, + 2.66346E-4, + 1.80537E-4, + 1.74194E-4, + 1.77621E-4, + 1.75145E-4, + 1.89639E-4, + 1.74708E-4, + 1.74295E-4, + 1.78011E-4, + 1.78069E-4, + 2.3483E-4, + 1.8111E-4, + 1.7401E-4, + 1.79506E-4, + 1.78028E-4, + 1.78595E-4, + 1.80754E-4, + 1.78737E-4, + 1.80755E-4, + 1.81271E-4, + 1.83544E-4, + 1.85367E-4, + 2.24848E-4, + 1.8495E-4, + 1.86909E-4, + 1.81361E-4, + 1.79876E-4, + 1.80527E-4, + 1.77739E-4, + 1.79618E-4 + ], + [ + 4.73014E-4, + 4.85432E-4, + 4.77574E-4, + 4.78459E-4, + 4.76038E-4, + 4.76973E-4, + 4.77215E-4, + 4.70336E-4, + 4.71782E-4, + 4.81904E-4, + 1.8546E-4, + 1.76382E-4, + 1.74068E-4, + 1.75744E-4, + 1.75527E-4, + 2.20059E-4, + 1.73891E-4, + 1.7348E-4, + 1.73469E-4, + 1.73667E-4, + 2.19069E-4, + 1.71384E-4, + 1.71527E-4, + 1.74048E-4, + 1.75193E-4, + 1.73917E-4, + 1.84715E-4, + 1.77213E-4, + 2.27908E-4, + 1.72079E-4, + 1.74948E-4, + 1.9141E-4, + 2.32784E-4, + 1.78695E-4, + 1.76363E-4, + 1.76052E-4, + 1.90218E-4, + 1.91948E-4, + 1.89365E-4, + 1.74083E-4 + ], + [ + 4.7096E-4, + 4.74094E-4, + 4.71896E-4, + 4.74961E-4, + 4.70055E-4, + 4.65264E-4, + 4.72114E-4, + 4.65631E-4, + 4.68841E-4, + 4.70904E-4, + 1.85542E-4, + 1.76213E-4, + 1.77206E-4, + 1.89515E-4, + 1.71234E-4, + 1.7167E-4, + 1.7726E-4, + 1.70802E-4, + 1.72232E-4, + 1.77941E-4, + 2.16032E-4, + 1.72057E-4, + 1.73023E-4, + 1.72326E-4, + 1.79432E-4, + 1.76985E-4, + 1.75679E-4, + 1.71935E-4, + 1.73653E-4, + 1.72378E-4, + 1.73391E-4, + 2.78193E-4, + 3.42061E-4, + 1.80566E-4, + 1.76075E-4, + 1.77898E-4, + 1.74653E-4, + 1.77175E-4, + 1.78064E-4, + 1.75707E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.0026458188200000005, + "scoreError" : 3.724748475858348E-4, + "scoreConfidence" : [ + 0.002273343972414166, + 0.003018293667585835 + ], + "scorePercentiles" : { + "0.0" : 0.001561146, + "50.0" : 0.0016262675, + "90.0" : 0.0049115806, + "95.0" : 0.00555910225, + "99.0" : 0.006832986540000008, + "99.9" : 0.007407361, + "99.99" : 0.007407361, + "99.999" : 0.007407361, + "99.9999" : 0.007407361, + "100.0" : 0.007407361 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001641989, + 0.004912416, + 0.004903287, + 0.001617115, + 0.001619366, + 0.001613995, + 0.001676385, + 0.001629409, + 0.00162608, + 0.001864641, + 0.001618135, + 0.001632043, + 0.004851429, + 0.005116439, + 0.005561573, + 0.005649646, + 0.001846712, + 0.00176171, + 0.001614585, + 0.001615055, + 0.001622779, + 0.001614204, + 0.001612416, + 0.00161248, + 0.004507489, + 0.001632372, + 0.001722502, + 0.001615179, + 0.001654336, + 0.001649497, + 0.001611956, + 0.001614044, + 0.001613091, + 0.001609711, + 0.002826759, + 0.004901012, + 0.005666035, + 0.005591654, + 0.005512158, + 0.005741125 + ], + [ + 0.00163345, + 0.004802275, + 0.004785467, + 0.001621456, + 0.001610303, + 0.001612834, + 0.001614965, + 0.001645905, + 0.001653464, + 0.00161203, + 0.001612382, + 0.001624008, + 0.004908265, + 0.004888519, + 0.004829976, + 0.004805187, + 0.001649555, + 0.001614817, + 0.001611951, + 0.001613486, + 0.001618236, + 0.001608243, + 0.001615133, + 0.001615379, + 0.001628312, + 0.001625681, + 0.001589984, + 0.001576798, + 0.001584208, + 0.001569824, + 0.001581784, + 0.001578142, + 0.001574592, + 0.002159507, + 0.004664558, + 0.004729665, + 0.004685121, + 0.004625908, + 0.004683018, + 0.004702209 + ], + [ + 0.001625449, + 0.004858113, + 0.007407361, + 0.001616555, + 0.001614296, + 0.001617008, + 0.001621733, + 0.001623486, + 0.001617283, + 0.001616672, + 0.00161198, + 0.001642648, + 0.005140848, + 0.005567264, + 0.005499269, + 0.005610425, + 0.001803282, + 0.001777246, + 0.001610869, + 0.001619417, + 0.001619689, + 0.001611039, + 0.001606866, + 0.001615226, + 0.001615989, + 0.001630316, + 0.001623571, + 0.001614745, + 0.001616502, + 0.001614786, + 0.001612351, + 0.001609353, + 0.001617442, + 0.001610724, + 0.003370399, + 0.004803693, + 0.004763557, + 0.004848208, + 0.006842215, + 0.005919369 + ], + [ + 0.001644044, + 0.004732261, + 0.004887935, + 0.001620162, + 0.00161723, + 0.00161233, + 0.001614257, + 0.00163061, + 0.00161835, + 0.001619528, + 0.001613228, + 0.001691423, + 0.004803902, + 0.004773331, + 0.004810127, + 0.004911949, + 0.001630546, + 0.001617261, + 0.001612901, + 0.001617071, + 0.001618758, + 0.001663554, + 0.001641042, + 0.001615507, + 0.001613841, + 0.001618242, + 0.001613297, + 0.001610104, + 0.001612195, + 0.001613323, + 0.001619444, + 0.001704985, + 0.00161015, + 0.002455064, + 0.004734826, + 0.004789269, + 0.004838491, + 0.004786511, + 0.005494829, + 0.004816777 + ], + [ + 0.001640827, + 0.004883599, + 0.00499595, + 0.001687183, + 0.001645451, + 0.00161552, + 0.001658437, + 0.001632225, + 0.001634155, + 0.001615853, + 0.001612684, + 0.001636025, + 0.004746813, + 0.004777993, + 0.004745469, + 0.004774109, + 0.001631113, + 0.001612841, + 0.001614664, + 0.001736354, + 0.00160188, + 0.001576585, + 0.001577288, + 0.001576213, + 0.001577689, + 0.001626455, + 0.001580743, + 0.001576203, + 0.001585418, + 0.001563689, + 0.001574219, + 0.001561146, + 0.001569171, + 0.0015727, + 0.002657493, + 0.004719635, + 0.005111205, + 0.004839825, + 0.004721634, + 0.005012003 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.01944036752500001, + "scoreError" : 0.0019381122121999547, + "scoreConfidence" : [ + 0.017502255312800055, + 0.021378479737199963 + ], + "scorePercentiles" : { + "0.0" : 0.01523974, + "50.0" : 0.016154019999999998, + "90.0" : 0.023280079800000002, + "95.0" : 0.046250580949999995, + "99.0" : 0.05107119785000001, + "99.9" : 0.054351501, + "99.99" : 0.054351501, + "99.999" : 0.054351501, + "99.9999" : 0.054351501, + "100.0" : 0.054351501 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.023285255, + 0.019056768, + 0.016776287, + 0.049765291, + 0.023015583, + 0.019926291, + 0.018215213, + 0.016834235, + 0.016000594, + 0.015836394, + 0.046882215, + 0.020992505, + 0.016098945, + 0.015919999, + 0.017016053, + 0.016223944, + 0.016161293, + 0.01569701, + 0.015936185, + 0.051079189, + 0.02060172, + 0.017295859, + 0.016840949, + 0.01698633, + 0.026069844, + 0.016757343, + 0.016704543, + 0.016836108, + 0.016736268, + 0.018965545, + 0.016714361, + 0.016983304, + 0.016619996, + 0.01785725, + 0.021979449, + 0.01651567, + 0.016152594, + 0.016063125, + 0.016251083, + 0.015816024 + ], + [ + 0.019784133, + 0.015991615, + 0.015811729, + 0.04964564, + 0.020925672, + 0.016333648, + 0.017777693, + 0.016042455, + 0.016100485, + 0.016623085, + 0.054351501, + 0.021479846, + 0.015834385, + 0.015920176, + 0.017074862, + 0.017518005, + 0.016162474, + 0.016433867, + 0.016011741, + 0.034015804, + 0.021221246, + 0.016138216, + 0.016126501, + 0.015881345, + 0.016617567, + 0.015992622, + 0.016453851, + 0.01597812, + 0.017210091, + 0.021132102, + 0.015858972, + 0.015883547, + 0.015832342, + 0.016248872, + 0.021451876, + 0.01616388, + 0.015888662, + 0.016032366, + 0.016101763, + 0.015950045 + ], + [ + 0.019826907, + 0.021497944, + 0.016138521, + 0.046133388, + 0.01523974, + 0.015660681, + 0.017292616, + 0.020530061, + 0.016093722, + 0.016341592, + 0.046256749, + 0.015779173, + 0.015746837, + 0.015611975, + 0.016996482, + 0.021577572, + 0.016406715, + 0.015906409, + 0.015832185, + 0.047790678, + 0.015803975, + 0.015824113, + 0.01590215, + 0.016162937, + 0.020576014, + 0.016621113, + 0.015987491, + 0.016135071, + 0.015875201, + 0.015948024, + 0.01573033, + 0.015933253, + 0.016090119, + 0.015618277, + 0.016851979, + 0.016172898, + 0.015540249, + 0.015570229, + 0.021071741, + 0.01572953 + ], + [ + 0.019621863, + 0.015919892, + 0.016440668, + 0.050280074, + 0.021711794, + 0.016093709, + 0.01724701, + 0.035826263, + 0.015851675, + 0.015913959, + 0.016038233, + 0.046758066, + 0.02070723, + 0.01574927, + 0.016246158, + 0.017122535, + 0.023233503, + 0.015860918, + 0.01596954, + 0.016019641, + 0.015924273, + 0.021923375, + 0.016140562, + 0.015742958, + 0.015724884, + 0.015605384, + 0.015393075, + 0.015979804, + 0.015999877, + 0.015615426, + 0.02309493, + 0.015699285, + 0.016015774, + 0.015666012, + 0.015603293, + 0.040047375, + 0.015951989, + 0.016035861, + 0.016161315, + 0.016155446 + ], + [ + 0.020121387, + 0.016181212, + 0.015955852, + 0.044898494, + 0.021693182, + 0.018934402, + 0.017377916, + 0.037992385, + 0.016095523, + 0.015798176, + 0.015810421, + 0.04724581, + 0.021034915, + 0.015818319, + 0.01575796, + 0.017352917, + 0.023365077, + 0.015735665, + 0.015861822, + 0.015877459, + 0.015976077, + 0.022347404, + 0.015880306, + 0.015829057, + 0.015863335, + 0.015665955, + 0.015656946, + 0.015884199, + 0.015996495, + 0.015776377, + 0.0158899, + 0.015765194, + 0.016394123, + 0.015749898, + 0.015928707, + 0.031877486, + 0.015623018, + 0.0160642, + 0.016818973, + 0.015810005 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.1825934999999999E-4, + "scoreError" : 3.7452934349419985E-6, + "scoreConfidence" : [ + 1.14514056565058E-4, + 1.2200464343494198E-4 + ], + "scorePercentiles" : { + "0.0" : 1.10757E-4, + "50.0" : 1.15564E-4, + "90.0" : 1.2200210000000001E-4, + "95.0" : 1.3085164999999998E-4, + "99.0" : 2.1537974000000054E-4, + "99.9" : 3.01335E-4, + "99.99" : 3.01335E-4, + "99.999" : 3.01335E-4, + "99.9999" : 3.01335E-4, + "100.0" : 3.01335E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.36964E-4, + 1.26697E-4, + 1.15107E-4, + 1.14946E-4, + 1.16366E-4, + 1.14794E-4, + 1.16833E-4, + 1.14383E-4, + 1.14531E-4, + 1.20509E-4, + 1.26424E-4, + 1.1475E-4, + 1.15719E-4, + 1.14585E-4, + 1.20153E-4, + 1.16874E-4, + 1.13118E-4, + 1.16313E-4, + 1.18648E-4, + 1.17302E-4, + 1.13351E-4, + 1.11902E-4, + 1.13929E-4, + 1.13684E-4, + 1.17018E-4, + 1.1675E-4, + 1.15551E-4, + 1.16091E-4, + 1.49809E-4, + 1.16544E-4, + 1.1477E-4, + 1.16945E-4, + 1.18235E-4, + 1.17906E-4, + 1.33124E-4, + 1.14792E-4, + 1.21436E-4, + 1.19919E-4, + 1.18827E-4, + 1.16132E-4 + ], + [ + 1.29607E-4, + 1.27428E-4, + 1.14795E-4, + 1.18903E-4, + 1.12432E-4, + 1.11876E-4, + 1.14024E-4, + 1.15359E-4, + 1.14047E-4, + 1.12329E-4, + 1.17899E-4, + 1.12481E-4, + 1.20407E-4, + 1.13077E-4, + 1.13567E-4, + 1.11775E-4, + 1.11973E-4, + 1.12384E-4, + 1.16404E-4, + 1.18577E-4, + 1.15127E-4, + 1.16076E-4, + 1.12325E-4, + 1.14275E-4, + 1.12722E-4, + 1.16041E-4, + 1.15111E-4, + 1.13473E-4, + 1.19296E-4, + 1.16163E-4, + 1.15791E-4, + 1.18604E-4, + 1.16591E-4, + 1.16494E-4, + 1.14155E-4, + 1.16668E-4, + 1.14783E-4, + 1.18831E-4, + 1.15489E-4, + 1.18063E-4 + ], + [ + 1.28309E-4, + 1.29629E-4, + 1.14028E-4, + 1.12589E-4, + 1.12226E-4, + 1.15188E-4, + 1.18387E-4, + 1.13963E-4, + 1.14469E-4, + 1.17799E-4, + 1.12801E-4, + 1.12522E-4, + 1.12839E-4, + 1.14175E-4, + 1.13417E-4, + 1.12044E-4, + 1.18469E-4, + 1.1352E-4, + 1.12725E-4, + 1.18124E-4, + 1.13595E-4, + 1.13012E-4, + 1.13554E-4, + 1.17061E-4, + 1.15698E-4, + 1.16508E-4, + 1.15692E-4, + 1.16079E-4, + 1.19341E-4, + 1.19633E-4, + 1.15259E-4, + 1.13187E-4, + 1.13965E-4, + 1.12648E-4, + 1.15788E-4, + 1.15555E-4, + 1.13279E-4, + 1.17242E-4, + 1.12917E-4, + 1.13022E-4 + ], + [ + 1.30916E-4, + 3.01335E-4, + 1.16154E-4, + 1.12174E-4, + 1.15315E-4, + 1.15614E-4, + 1.14078E-4, + 1.15513E-4, + 1.15159E-4, + 1.13578E-4, + 1.13324E-4, + 1.17424E-4, + 1.1667E-4, + 1.15606E-4, + 1.17348E-4, + 1.15225E-4, + 1.18489E-4, + 1.14995E-4, + 1.15115E-4, + 1.17737E-4, + 1.15735E-4, + 1.12234E-4, + 1.1462E-4, + 1.13209E-4, + 1.14801E-4, + 1.15672E-4, + 1.55954E-4, + 1.3577E-4, + 1.14255E-4, + 1.14953E-4, + 1.18041E-4, + 1.16545E-4, + 1.14604E-4, + 1.15989E-4, + 1.13974E-4, + 1.15819E-4, + 1.23264E-4, + 1.16361E-4, + 1.15573E-4, + 1.14532E-4 + ], + [ + 1.34417E-4, + 1.25648E-4, + 1.13885E-4, + 1.17493E-4, + 1.13297E-4, + 1.13923E-4, + 1.22065E-4, + 1.14658E-4, + 1.14182E-4, + 1.12674E-4, + 1.12491E-4, + 1.1356E-4, + 1.12108E-4, + 1.13473E-4, + 1.15752E-4, + 1.10757E-4, + 1.15794E-4, + 1.1475E-4, + 1.14784E-4, + 1.17411E-4, + 1.1517E-4, + 1.1291E-4, + 1.14485E-4, + 1.17241E-4, + 1.16008E-4, + 1.18616E-4, + 2.1598E-4, + 1.12714E-4, + 1.32118E-4, + 1.13298E-4, + 1.14352E-4, + 1.20645E-4, + 1.17162E-4, + 1.1782E-4, + 1.16358E-4, + 1.16146E-4, + 1.15816E-4, + 1.23821E-4, + 1.18284E-4, + 1.18719E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 1.5134146500000016E-4, + "scoreError" : 1.6435579926037524E-5, + "scoreConfidence" : [ + 1.3490588507396263E-4, + 1.677770449260377E-4 + ], + "scorePercentiles" : { + "0.0" : 1.04726E-4, + "50.0" : 1.14947E-4, + "90.0" : 1.869011E-4, + "95.0" : 3.780382999999986E-4, + "99.0" : 4.2063475E-4, + "99.9" : 4.22929E-4, + "99.99" : 4.22929E-4, + "99.999" : 4.22929E-4, + "99.9999" : 4.22929E-4, + "100.0" : 4.22929E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 4.13967E-4, + 4.13698E-4, + 1.77167E-4, + 1.76215E-4, + 1.67389E-4, + 1.66302E-4, + 1.6835E-4, + 1.66028E-4, + 1.65342E-4, + 1.67569E-4, + 1.75149E-4, + 1.7219E-4, + 1.91097E-4, + 1.72024E-4, + 1.76005E-4, + 1.75809E-4, + 2.23988E-4, + 1.12063E-4, + 1.07176E-4, + 1.0732E-4, + 1.05318E-4, + 1.04887E-4, + 1.12351E-4, + 1.07378E-4, + 1.04956E-4, + 1.05532E-4, + 1.06885E-4, + 1.0545E-4, + 1.0754E-4, + 1.0572E-4, + 1.05747E-4, + 1.96382E-4, + 1.06411E-4, + 1.06938E-4, + 1.05E-4, + 1.04726E-4, + 1.06423E-4, + 1.05662E-4, + 1.07471E-4, + 1.05601E-4 + ], + [ + 4.08296E-4, + 4.14096E-4, + 1.78064E-4, + 1.72946E-4, + 1.76758E-4, + 1.6982E-4, + 1.73014E-4, + 1.66753E-4, + 1.73412E-4, + 1.72356E-4, + 1.75243E-4, + 1.72988E-4, + 1.7975E-4, + 1.77665E-4, + 1.76129E-4, + 1.76594E-4, + 2.25694E-4, + 1.1176E-4, + 1.08584E-4, + 1.08423E-4, + 1.08738E-4, + 1.05892E-4, + 1.05659E-4, + 1.06013E-4, + 1.05094E-4, + 1.0728E-4, + 1.05556E-4, + 1.05618E-4, + 1.05523E-4, + 1.05314E-4, + 1.05731E-4, + 1.05458E-4, + 1.06917E-4, + 1.05803E-4, + 1.05817E-4, + 1.06298E-4, + 1.0766E-4, + 1.10631E-4, + 1.06801E-4, + 1.06269E-4 + ], + [ + 4.2069E-4, + 4.10465E-4, + 1.79735E-4, + 1.74425E-4, + 1.73011E-4, + 1.68878E-4, + 1.68672E-4, + 1.6819E-4, + 1.68743E-4, + 1.66773E-4, + 1.77614E-4, + 1.79728E-4, + 1.86749E-4, + 1.732E-4, + 1.97363E-4, + 1.78578E-4, + 2.36807E-4, + 1.12527E-4, + 1.07354E-4, + 1.07592E-4, + 1.07189E-4, + 1.10403E-4, + 1.0499E-4, + 1.05679E-4, + 1.04946E-4, + 1.05131E-4, + 1.06265E-4, + 1.05279E-4, + 1.05178E-4, + 1.05384E-4, + 1.0662E-4, + 1.45345E-4, + 1.0615E-4, + 1.05693E-4, + 1.06253E-4, + 1.07317E-4, + 1.06977E-4, + 1.05911E-4, + 1.0939E-4, + 1.06713E-4 + ], + [ + 4.15165E-4, + 4.22929E-4, + 1.78008E-4, + 1.74847E-4, + 1.72696E-4, + 1.71024E-4, + 1.76709E-4, + 1.73445E-4, + 1.77065E-4, + 1.78445E-4, + 1.77974E-4, + 1.77119E-4, + 1.75281E-4, + 1.74882E-4, + 1.76603E-4, + 1.69674E-4, + 2.34166E-4, + 1.11425E-4, + 1.06844E-4, + 1.08257E-4, + 1.0539E-4, + 1.05462E-4, + 1.06082E-4, + 1.0627E-4, + 1.05892E-4, + 1.06212E-4, + 1.05924E-4, + 1.05924E-4, + 1.07109E-4, + 1.05422E-4, + 1.05866E-4, + 1.48209E-4, + 1.06762E-4, + 1.05157E-4, + 1.05337E-4, + 1.04838E-4, + 1.05424E-4, + 1.06436E-4, + 1.05889E-4, + 1.06622E-4 + ], + [ + 4.00278E-4, + 3.84252E-4, + 1.86918E-4, + 1.7957E-4, + 1.86163E-4, + 1.82831E-4, + 1.78159E-4, + 1.77871E-4, + 1.78445E-4, + 1.79782E-4, + 1.89607E-4, + 1.85787E-4, + 1.81017E-4, + 1.83881E-4, + 1.84659E-4, + 1.80629E-4, + 2.59978E-4, + 1.19643E-4, + 1.16418E-4, + 1.37143E-4, + 1.15646E-4, + 1.14332E-4, + 1.14904E-4, + 1.15154E-4, + 1.15015E-4, + 1.14518E-4, + 1.13656E-4, + 1.14576E-4, + 1.14663E-4, + 1.14469E-4, + 1.15284E-4, + 1.1499E-4, + 1.15045E-4, + 1.14572E-4, + 1.13848E-4, + 1.13216E-4, + 1.15034E-4, + 1.14685E-4, + 1.18894E-4, + 1.18426E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.0024601392450000004, + "scoreError" : 0.0010548092536902507, + "scoreConfidence" : [ + 0.0014053299913097496, + 0.003514948498690251 + ], + "scorePercentiles" : { + "0.0" : 0.001031204, + "50.0" : 0.0010644295000000002, + "90.0" : 0.0017554603, + "95.0" : 0.01783406405, + "99.0" : 0.018756401080000006, + "99.9" : 0.019435475, + "99.99" : 0.019435475, + "99.999" : 0.019435475, + "99.9999" : 0.019435475, + "100.0" : 0.019435475 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001072861, + 0.001078154, + 0.001102116, + 0.001737676, + 0.001748209, + 0.017896372, + 0.001063717, + 0.001061816, + 0.001060712, + 0.001063329, + 0.00105633, + 0.017834479, + 0.001035089, + 0.001034462, + 0.001038337, + 0.001034966, + 0.001039787, + 0.001040573, + 0.001714653, + 0.001746362, + 0.001734356, + 0.001714518, + 0.001699058, + 0.017861109, + 0.00103431, + 0.00103621, + 0.001039608, + 0.001036034, + 0.001039599, + 0.001031301, + 0.001040688, + 0.00112505, + 0.001203795, + 0.001039759, + 0.001074845, + 0.001035093, + 0.001041456, + 0.00103659, + 0.001250803, + 0.001210056 + ], + [ + 0.001064721, + 0.001078123, + 0.001112574, + 0.001724965, + 0.001756266, + 0.017962556, + 0.001061451, + 0.001063299, + 0.001062569, + 0.00106058, + 0.001055, + 0.017745105, + 0.001062002, + 0.001061004, + 0.001058914, + 0.001058813, + 0.001070598, + 0.00106206, + 0.001706192, + 0.001738778, + 0.00173548, + 0.001725894, + 0.00172879, + 0.01806904, + 0.00106191, + 0.001065488, + 0.001064487, + 0.001065245, + 0.001064361, + 0.001063011, + 0.001058151, + 0.001064581, + 0.001064548, + 0.001042095, + 0.001068396, + 0.001033948, + 0.001039619, + 0.001036321, + 0.001038144, + 0.001036995 + ], + [ + 0.001040736, + 0.001203414, + 0.001078115, + 0.001667255, + 0.001737603, + 0.01782618, + 0.001060841, + 0.001060625, + 0.001057795, + 0.001060147, + 0.001058504, + 0.017746356, + 0.001064521, + 0.001060336, + 0.001057498, + 0.00107789, + 0.001076477, + 0.001084607, + 0.001717115, + 0.001733872, + 0.001732883, + 0.001761166, + 0.002107207, + 0.019435475, + 0.001059113, + 0.001260692, + 0.001248574, + 0.00124398, + 0.001147893, + 0.001057169, + 0.001062513, + 0.001065647, + 0.00110032, + 0.001156575, + 0.001213692, + 0.001061069, + 0.001069345, + 0.001061417, + 0.001061963, + 0.001064388 + ], + [ + 0.001040893, + 0.001041342, + 0.001078708, + 0.0016595, + 0.001710196, + 0.018113621, + 0.001034693, + 0.001035923, + 0.00103999, + 0.001037507, + 0.001036075, + 0.017693007, + 0.001063687, + 0.001061428, + 0.001067295, + 0.001060865, + 0.001067075, + 0.001063779, + 0.001695695, + 0.001773727, + 0.001714052, + 0.001727551, + 0.001738919, + 0.018437728, + 0.001037539, + 0.0010409, + 0.001051733, + 0.001038868, + 0.001040719, + 0.001047051, + 0.001040525, + 0.001262258, + 0.00103945, + 0.001037713, + 0.001070787, + 0.00103948, + 0.001042968, + 0.001062222, + 0.001066581, + 0.001063244 + ], + [ + 0.001040035, + 0.001078096, + 0.001080195, + 0.001670866, + 0.001699854, + 0.017967355, + 0.001033334, + 0.001035129, + 0.001031445, + 0.001037198, + 0.001031204, + 0.017751549, + 0.00104476, + 0.001032935, + 0.00103648, + 0.001034922, + 0.001039896, + 0.001037799, + 0.001656975, + 0.001692586, + 0.001728575, + 0.001841332, + 0.001742335, + 0.01875962, + 0.001057969, + 0.001065187, + 0.001067789, + 0.001074635, + 0.001065806, + 0.00107072, + 0.001062706, + 0.001063995, + 0.00106211, + 0.001064471, + 0.001104204, + 0.001084798, + 0.001043676, + 0.001109279, + 0.001034171, + 0.001039284 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.017118883294999995, + "scoreError" : 0.006629950539653628, + "scoreConfidence" : [ + 0.010488932755346366, + 0.02374883383465362 + ], + "scorePercentiles" : { + "0.0" : 0.010169741, + "50.0" : 0.0106741645, + "90.0" : 0.011109742, + "95.0" : 0.12600573709999868, + "99.0" : 0.14272167963, + "99.9" : 0.146324271, + "99.99" : 0.146324271, + "99.999" : 0.146324271, + "99.9999" : 0.146324271, + "100.0" : 0.146324271 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.010860657, + 0.141912459, + 0.010502557, + 0.010257646, + 0.010531558, + 0.010725375, + 0.010851223, + 0.010974195, + 0.010766343, + 0.010912489, + 0.141483319, + 0.010566327, + 0.01082226, + 0.010504381, + 0.010713519, + 0.010992787, + 0.011080375, + 0.010434018, + 0.010904795, + 0.010749555, + 0.010613462, + 0.133977192, + 0.011299381, + 0.010880943, + 0.010403146, + 0.010518319, + 0.010169741, + 0.011442237, + 0.010566656, + 0.010320025, + 0.010649807, + 0.010431594, + 0.010631924, + 0.010587802, + 0.010289876, + 0.010805241, + 0.010300966, + 0.011965285, + 0.010339106, + 0.010384316 + ], + [ + 0.011112766, + 0.011421263, + 0.010713608, + 0.011060613, + 0.010686825, + 0.010532701, + 0.010902187, + 0.010885258, + 0.010547931, + 0.010480179, + 0.010634922, + 0.010660365, + 0.010404303, + 0.010668593, + 0.010615362, + 0.010599695, + 0.010802789, + 0.010984443, + 0.010630458, + 0.010600906, + 0.010560614, + 0.010588959, + 0.010338695, + 0.010602888, + 0.010621062, + 0.010599502, + 0.010722882, + 0.01045618, + 0.010669671, + 0.010486405, + 0.010803767, + 0.131935026, + 0.010629166, + 0.010627758, + 0.010580396, + 0.010514398, + 0.010649863, + 0.010624128, + 0.010716672, + 0.010590243 + ], + [ + 0.010984691, + 0.142727264, + 0.011337156, + 0.011317687, + 0.010439877, + 0.010646833, + 0.010980504, + 0.010740781, + 0.010539889, + 0.010728374, + 0.142168827, + 0.010769838, + 0.010451219, + 0.013349248, + 0.011282461, + 0.010829311, + 0.010724094, + 0.010528761, + 0.010589168, + 0.010676708, + 0.010663738, + 0.134666133, + 0.010756881, + 0.010453349, + 0.010436474, + 0.010715887, + 0.010322129, + 0.010730989, + 0.010553881, + 0.011148916, + 0.010976642, + 0.010580572, + 0.010783126, + 0.010420527, + 0.010782135, + 0.010478048, + 0.010572517, + 0.010620726, + 0.010623551, + 0.011082526 + ], + [ + 0.010886405, + 0.010573641, + 0.011020508, + 0.010416943, + 0.010680921, + 0.010689526, + 0.01087156, + 0.010677344, + 0.0107125, + 0.010757008, + 0.01085479, + 0.010617031, + 0.010456257, + 0.010698293, + 0.010671883, + 0.010699871, + 0.010684861, + 0.010739043, + 0.010793895, + 0.010687273, + 0.010727872, + 0.010775868, + 0.010771738, + 0.010753789, + 0.010478884, + 0.010479863, + 0.010632363, + 0.010685959, + 0.010785581, + 0.010539363, + 0.010773312, + 0.010568506, + 0.010756559, + 0.010694645, + 0.010747223, + 0.010685147, + 0.010302887, + 0.01088228, + 0.010742906, + 0.010852103 + ], + [ + 0.010912664, + 0.146324271, + 0.01048435, + 0.010504689, + 0.010580496, + 0.010409538, + 0.010954114, + 0.010676446, + 0.010645088, + 0.010666726, + 0.141123486, + 0.010718236, + 0.010473838, + 0.010408836, + 0.01058274, + 0.010418044, + 0.010475693, + 0.010616968, + 0.010596095, + 0.010900569, + 0.010548382, + 0.010535948, + 0.010724393, + 0.010954027, + 0.010612178, + 0.010632689, + 0.010578366, + 0.010710501, + 0.010491071, + 0.010656214, + 0.134534859, + 0.010717414, + 0.010556927, + 0.010652965, + 0.010722263, + 0.010622508, + 0.010715477, + 0.010627779, + 0.010689773, + 0.0106259 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 8.731592999999996E-5, + "scoreError" : 2.3834368103813865E-5, + "scoreConfidence" : [ + 6.34815618961861E-5, + 1.1115029810381381E-4 + ], + "scorePercentiles" : { + "0.0" : 1.4574E-5, + "50.0" : 5.2226E-5, + "90.0" : 2.796342E-4, + "95.0" : 2.8341735E-4, + "99.0" : 2.8811742E-4, + "99.9" : 3.25378E-4, + "99.99" : 3.25378E-4, + "99.999" : 3.25378E-4, + "99.9999" : 3.25378E-4, + "100.0" : 3.25378E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 2.77688E-4, + 2.78827E-4, + 2.78863E-4, + 2.78786E-4, + 3.25378E-4, + 2.81848E-4, + 2.80963E-4, + 2.83472E-4, + 6.0661E-5, + 5.2696E-5, + 5.3328E-5, + 5.2689E-5, + 5.3083E-5, + 5.2056E-5, + 5.224E-5, + 7.1291E-5, + 5.2139E-5, + 5.4031E-5, + 5.3482E-5, + 5.1565E-5, + 1.13785E-4, + 5.1665E-5, + 1.01858E-4, + 1.6402E-5, + 1.5416E-5, + 1.6329E-5, + 1.5892E-5, + 1.5219E-5, + 1.518E-5, + 1.7209E-5, + 1.7002E-5, + 1.6679E-5, + 1.603E-5, + 1.6463E-5, + 1.5536E-5, + 1.6285E-5, + 1.7311E-5, + 1.6121E-5, + 1.6539E-5, + 1.5676E-5 + ], + [ + 2.79816E-4, + 2.79438E-4, + 2.7829E-4, + 2.77896E-4, + 2.7762E-4, + 2.80893E-4, + 2.77418E-4, + 2.80288E-4, + 6.1375E-5, + 5.3186E-5, + 5.2544E-5, + 5.2545E-5, + 5.2212E-5, + 5.2048E-5, + 5.1882E-5, + 6.8635E-5, + 5.2166E-5, + 5.3288E-5, + 5.2785E-5, + 5.0999E-5, + 1.28471E-4, + 5.5035E-5, + 1.08102E-4, + 1.5192E-5, + 1.5274E-5, + 1.4574E-5, + 1.479E-5, + 2.2274E-5, + 1.6371E-5, + 1.5619E-5, + 1.6318E-5, + 1.652E-5, + 1.6454E-5, + 1.5176E-5, + 1.5908E-5, + 1.5429E-5, + 1.5263E-5, + 1.58E-5, + 1.5444E-5, + 1.7078E-5 + ], + [ + 2.79636E-4, + 2.78531E-4, + 2.78275E-4, + 2.78612E-4, + 2.7674E-4, + 2.79618E-4, + 2.78933E-4, + 2.8128E-4, + 6.1924E-5, + 5.3998E-5, + 5.3112E-5, + 5.3334E-5, + 5.3751E-5, + 5.2295E-5, + 5.2321E-5, + 7.9297E-5, + 5.2381E-5, + 5.3596E-5, + 5.423E-5, + 5.2822E-5, + 1.51936E-4, + 5.1612E-5, + 1.0802E-4, + 1.6682E-5, + 1.5844E-5, + 1.5964E-5, + 1.5836E-5, + 1.6407E-5, + 1.6162E-5, + 1.5492E-5, + 1.75E-5, + 1.7111E-5, + 1.6868E-5, + 1.5091E-5, + 1.5629E-5, + 1.5785E-5, + 1.6261E-5, + 1.5867E-5, + 1.579E-5, + 1.6243E-5 + ], + [ + 2.83724E-4, + 2.85326E-4, + 2.86149E-4, + 2.87169E-4, + 2.83908E-4, + 2.84502E-4, + 2.88127E-4, + 2.78976E-4, + 6.2257E-5, + 5.398E-5, + 5.4325E-5, + 5.351E-5, + 5.3912E-5, + 5.2788E-5, + 5.2401E-5, + 6.8422E-5, + 5.4978E-5, + 5.6272E-5, + 5.5747E-5, + 5.1639E-5, + 1.09669E-4, + 5.2054E-5, + 1.03544E-4, + 3.0068E-5, + 1.5081E-5, + 1.4625E-5, + 1.5784E-5, + 1.5558E-5, + 1.5978E-5, + 1.5984E-5, + 1.676E-5, + 1.6777E-5, + 1.6515E-5, + 1.6244E-5, + 1.4964E-5, + 1.478E-5, + 1.6648E-5, + 1.5502E-5, + 1.6308E-5, + 1.614E-5 + ], + [ + 2.79102E-4, + 2.82379E-4, + 2.78219E-4, + 2.80935E-4, + 2.7831E-4, + 2.80929E-4, + 2.79318E-4, + 2.87048E-4, + 6.069E-5, + 5.3664E-5, + 5.2391E-5, + 5.1984E-5, + 5.2958E-5, + 5.3454E-5, + 5.3269E-5, + 8.9247E-5, + 5.2804E-5, + 5.3342E-5, + 5.3965E-5, + 5.103E-5, + 1.66377E-4, + 5.0932E-5, + 9.9688E-5, + 1.5196E-5, + 1.6341E-5, + 2.2791E-5, + 1.6292E-5, + 1.6136E-5, + 1.6054E-5, + 1.5848E-5, + 1.6118E-5, + 1.5988E-5, + 1.6336E-5, + 1.8567E-5, + 1.7023E-5, + 1.6038E-5, + 1.6572E-5, + 1.6706E-5, + 1.8722E-5, + 2.4443E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 1.9222423500000004E-4, + "scoreError" : 1.1269304230169972E-5, + "scoreConfidence" : [ + 1.8095493076983007E-4, + 2.0349353923017002E-4 + ], + "scorePercentiles" : { + "0.0" : 1.37196E-4, + "50.0" : 1.72587E-4, + "90.0" : 2.270692E-4, + "95.0" : 2.5148379999999983E-4, + "99.0" : 4.187417000000002E-4, + "99.9" : 4.75658E-4, + "99.99" : 4.75658E-4, + "99.999" : 4.75658E-4, + "99.9999" : 4.75658E-4, + "100.0" : 4.75658E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.43981E-4, + 1.49457E-4, + 1.38904E-4, + 1.38064E-4, + 1.42417E-4, + 1.40324E-4, + 3.76927E-4, + 2.23079E-4, + 2.52373E-4, + 2.2541E-4, + 2.23503E-4, + 1.67608E-4, + 1.6747E-4, + 2.2307E-4, + 1.68567E-4, + 1.70957E-4, + 1.72351E-4, + 1.7493E-4, + 1.67616E-4, + 1.73249E-4, + 1.72516E-4, + 2.26972E-4, + 2.23448E-4, + 2.73344E-4, + 2.26614E-4, + 2.24388E-4, + 2.30979E-4, + 2.26253E-4, + 1.71085E-4, + 2.25695E-4, + 1.77258E-4, + 1.74905E-4, + 1.75891E-4, + 1.71652E-4, + 2.2439E-4, + 1.68453E-4, + 1.66989E-4, + 1.68315E-4, + 1.65479E-4, + 1.6739E-4 + ], + [ + 1.41084E-4, + 1.44576E-4, + 2.03956E-4, + 1.37196E-4, + 1.4599E-4, + 1.38296E-4, + 4.18959E-4, + 1.67724E-4, + 1.75026E-4, + 2.31239E-4, + 2.25368E-4, + 1.67567E-4, + 1.68924E-4, + 1.63294E-4, + 2.27937E-4, + 2.24367E-4, + 1.73908E-4, + 1.72658E-4, + 1.66157E-4, + 1.68913E-4, + 1.66617E-4, + 2.26161E-4, + 1.66085E-4, + 2.80524E-4, + 2.25238E-4, + 2.24203E-4, + 2.30358E-4, + 2.27365E-4, + 1.74042E-4, + 2.24825E-4, + 1.71335E-4, + 2.23549E-4, + 1.71536E-4, + 1.65203E-4, + 2.24472E-4, + 2.22765E-4, + 2.23681E-4, + 1.70495E-4, + 2.26878E-4, + 2.24439E-4 + ], + [ + 2.06189E-4, + 2.04529E-4, + 1.37392E-4, + 1.47677E-4, + 1.46298E-4, + 1.39863E-4, + 3.86682E-4, + 1.66356E-4, + 1.75872E-4, + 2.31238E-4, + 2.22495E-4, + 2.23821E-4, + 1.75336E-4, + 1.72283E-4, + 1.70103E-4, + 1.63004E-4, + 1.73603E-4, + 1.81032E-4, + 1.6907E-4, + 1.71698E-4, + 1.65741E-4, + 2.23672E-4, + 1.67413E-4, + 2.77159E-4, + 2.27507E-4, + 1.6934E-4, + 1.7731E-4, + 1.71913E-4, + 1.69426E-4, + 1.66013E-4, + 2.22928E-4, + 2.28563E-4, + 1.71229E-4, + 2.22966E-4, + 2.23569E-4, + 1.67219E-4, + 1.66169E-4, + 2.24876E-4, + 2.23075E-4, + 1.68392E-4 + ], + [ + 2.05207E-4, + 2.03422E-4, + 1.38569E-4, + 1.40615E-4, + 2.11216E-4, + 2.0529E-4, + 4.75658E-4, + 1.65938E-4, + 1.67444E-4, + 1.71123E-4, + 2.24193E-4, + 1.64574E-4, + 1.63432E-4, + 1.6833E-4, + 1.69436E-4, + 2.23132E-4, + 1.83426E-4, + 1.7523E-4, + 1.67638E-4, + 1.73687E-4, + 2.23402E-4, + 1.65482E-4, + 2.23983E-4, + 2.77243E-4, + 1.74489E-4, + 2.24182E-4, + 1.79363E-4, + 1.74012E-4, + 1.67374E-4, + 1.70092E-4, + 1.71926E-4, + 2.24791E-4, + 1.73009E-4, + 1.65989E-4, + 2.26765E-4, + 2.24802E-4, + 1.69172E-4, + 1.65178E-4, + 1.71342E-4, + 1.68098E-4 + ], + [ + 1.4463E-4, + 1.42977E-4, + 1.38518E-4, + 1.41592E-4, + 1.43744E-4, + 1.37649E-4, + 3.97229E-4, + 1.64139E-4, + 2.2708E-4, + 2.25311E-4, + 1.68513E-4, + 1.67379E-4, + 1.69931E-4, + 2.24226E-4, + 2.26018E-4, + 1.64994E-4, + 1.78499E-4, + 1.75942E-4, + 1.67267E-4, + 1.65643E-4, + 1.66916E-4, + 1.66992E-4, + 1.65757E-4, + 2.34589E-4, + 1.72112E-4, + 1.68365E-4, + 1.8901E-4, + 1.78807E-4, + 1.78427E-4, + 2.26194E-4, + 2.24414E-4, + 2.25074E-4, + 1.73803E-4, + 2.26365E-4, + 1.66931E-4, + 1.66072E-4, + 1.68169E-4, + 1.66422E-4, + 1.69193E-4, + 1.67496E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.0024204378449999998, + "scoreError" : 3.302155193117049E-4, + "scoreConfidence" : [ + 0.002090222325688295, + 0.0027506533643117045 + ], + "scorePercentiles" : { + "0.0" : 0.001397437, + "50.0" : 0.0018557550000000002, + "90.0" : 0.003990120000000002, + "95.0" : 0.0057593140999999985, + "99.0" : 0.00774959012, + "99.9" : 0.007758316, + "99.99" : 0.007758316, + "99.999" : 0.007758316, + "99.9999" : 0.007758316, + "100.0" : 0.007758316 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001745664, + 0.0027131, + 0.001411746, + 0.002309932, + 0.003657741, + 0.002384034, + 0.002465791, + 0.002482488, + 0.001781463, + 0.001952838, + 0.004638187, + 0.001953914, + 0.00184541, + 0.001780518, + 0.001739404, + 0.002545777, + 0.00540997, + 0.002397603, + 0.002514014, + 0.001719634, + 0.001719102, + 0.00161551, + 0.002128134, + 0.00211726, + 0.001642201, + 0.007519429, + 0.001806662, + 0.001880757, + 0.001836457, + 0.002544415, + 0.001715885, + 0.001719018, + 0.001815001, + 0.003153637, + 0.007551237, + 0.001824258, + 0.001909221, + 0.001839952, + 0.002612655, + 0.00246977 + ], + [ + 0.001442322, + 0.002011837, + 0.002033622, + 0.002039997, + 0.002907797, + 0.002316592, + 0.001445979, + 0.00205532, + 0.001516328, + 0.001975158, + 0.003105472, + 0.002041894, + 0.001414324, + 0.001401971, + 0.001403063, + 0.001399951, + 0.007733267, + 0.001949463, + 0.002731938, + 0.001874987, + 0.001786053, + 0.002491656, + 0.001727823, + 0.001721071, + 0.001704466, + 0.005765185, + 0.001691181, + 0.001779876, + 0.002500895, + 0.001719725, + 0.001686103, + 0.001600202, + 0.001418156, + 0.002038438, + 0.007749755, + 0.001788134, + 0.001880717, + 0.001841581, + 0.001791688, + 0.001756385 + ], + [ + 0.001775601, + 0.002735682, + 0.001420411, + 0.002048675, + 0.004281168, + 0.001641772, + 0.001760078, + 0.002463345, + 0.002528191, + 0.002049271, + 0.003273035, + 0.001447208, + 0.001399506, + 0.0016476, + 0.001397437, + 0.001405071, + 0.005400093, + 0.002398656, + 0.001760074, + 0.001746726, + 0.00242473, + 0.001651081, + 0.002194262, + 0.001469919, + 0.002467302, + 0.007758316, + 0.002645916, + 0.00272366, + 0.001859802, + 0.002609815, + 0.001763405, + 0.001741617, + 0.002467746, + 0.001571618, + 0.005511538, + 0.001680717, + 0.001749767, + 0.002460556, + 0.001722213, + 0.001641792 + ], + [ + 0.001483534, + 0.001963648, + 0.001449759, + 0.001448889, + 0.004027051, + 0.002370715, + 0.002502064, + 0.002511575, + 0.002583883, + 0.002710064, + 0.004693267, + 0.001708671, + 0.001839147, + 0.00179692, + 0.001787236, + 0.001852523, + 0.007712446, + 0.002685462, + 0.002744269, + 0.001872445, + 0.001829839, + 0.001761559, + 0.002454401, + 0.001801923, + 0.002640974, + 0.007187758, + 0.001778286, + 0.002730209, + 0.001858987, + 0.001795227, + 0.001757146, + 0.001720565, + 0.001789837, + 0.002920429, + 0.005647767, + 0.00243928, + 0.001761841, + 0.001718811, + 0.001689592, + 0.00230008 + ], + [ + 0.001746625, + 0.002095294, + 0.002074834, + 0.002035362, + 0.003465275, + 0.001541023, + 0.00219736, + 0.001915782, + 0.00163959, + 0.002004697, + 0.004746331, + 0.002428073, + 0.001793293, + 0.001783592, + 0.001758206, + 0.001723515, + 0.007558363, + 0.002681097, + 0.002731805, + 0.001843867, + 0.001810651, + 0.001721939, + 0.001727855, + 0.001716284, + 0.001878291, + 0.005525686, + 0.001781841, + 0.001782354, + 0.001718423, + 0.001728554, + 0.002438074, + 0.001732313, + 0.00162812, + 0.00153538, + 0.007588053, + 0.001808885, + 0.00272606, + 0.001843202, + 0.001779432, + 0.001718576 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.023899844045000007, + "scoreError" : 0.0013203635662903158, + "scoreConfidence" : [ + 0.022579480478709692, + 0.025220207611290322 + ], + "scorePercentiles" : { + "0.0" : 0.016214157, + "50.0" : 0.022965256500000003, + "90.0" : 0.0310706738, + "95.0" : 0.0339531378, + "99.0" : 0.0425152086, + "99.9" : 0.049356898, + "99.99" : 0.049356898, + "99.999" : 0.049356898, + "99.9999" : 0.049356898, + "100.0" : 0.049356898 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.049356898, + 0.030399854, + 0.034517446, + 0.021744687, + 0.018066976, + 0.029130475, + 0.019803874, + 0.021327273, + 0.031345529, + 0.032635802, + 0.016936038, + 0.022622295, + 0.025586448, + 0.018722934, + 0.019454503, + 0.025086184, + 0.017138199, + 0.023197128, + 0.026103439, + 0.019952901, + 0.019345258, + 0.025343693, + 0.016905899, + 0.022989648, + 0.020662292, + 0.022940865, + 0.019336007, + 0.026895438, + 0.017501235, + 0.027419478, + 0.027383953, + 0.020018598, + 0.020229185, + 0.028040608, + 0.021246802, + 0.016963589, + 0.020635436, + 0.023555534, + 0.021254746, + 0.019575384 + ], + [ + 0.033957788, + 0.029715953, + 0.033808759, + 0.026887503, + 0.017048241, + 0.027576523, + 0.020268363, + 0.023777886, + 0.030020789, + 0.032339754, + 0.017148399, + 0.020816815, + 0.027375078, + 0.023615661, + 0.030640877, + 0.029186006, + 0.017478529, + 0.017057488, + 0.021911176, + 0.02837971, + 0.02011902, + 0.019357808, + 0.026439817, + 0.017033769, + 0.024016054, + 0.019832973, + 0.019058614, + 0.019375611, + 0.025189386, + 0.018331978, + 0.023245872, + 0.019967352, + 0.019987714, + 0.018531887, + 0.025590493, + 0.01671666, + 0.024229138, + 0.01990028, + 0.01997619, + 0.019608635 + ], + [ + 0.025765932, + 0.03004115, + 0.042518237, + 0.025270103, + 0.024826801, + 0.029569068, + 0.019788824, + 0.028719742, + 0.031143327, + 0.036079048, + 0.017020053, + 0.022454849, + 0.020407092, + 0.022678646, + 0.036468211, + 0.028856589, + 0.017764019, + 0.01711552, + 0.022668652, + 0.028010959, + 0.025362179, + 0.019521522, + 0.026955843, + 0.021572288, + 0.023731686, + 0.019691939, + 0.022475016, + 0.023336853, + 0.031753788, + 0.017345668, + 0.024223184, + 0.026712267, + 0.019772538, + 0.023206062, + 0.026758331, + 0.017142335, + 0.022674179, + 0.02129695, + 0.022106822, + 0.019703535 + ], + [ + 0.027136397, + 0.0308429, + 0.042215397, + 0.025718259, + 0.0170407, + 0.027994298, + 0.020652098, + 0.02362418, + 0.031076999, + 0.028677479, + 0.017061917, + 0.020309429, + 0.027140003, + 0.022431174, + 0.030601242, + 0.036360054, + 0.017567896, + 0.016819837, + 0.021995351, + 0.025663596, + 0.021416039, + 0.018721816, + 0.023958168, + 0.016961319, + 0.023781328, + 0.020752712, + 0.022443531, + 0.023310813, + 0.030955777, + 0.024597566, + 0.024557114, + 0.028941767, + 0.023827487, + 0.01985028, + 0.026046325, + 0.017555459, + 0.035066724, + 0.029490333, + 0.02190043, + 0.019682997 + ], + [ + 0.024674474, + 0.031951488, + 0.033864784, + 0.026739056, + 0.017259538, + 0.023761075, + 0.024658144, + 0.029195269, + 0.031013747, + 0.038484694, + 0.017132464, + 0.016214157, + 0.029238148, + 0.023565681, + 0.030143608, + 0.018996242, + 0.02282188, + 0.018242949, + 0.031709839, + 0.02276625, + 0.021673594, + 0.019920493, + 0.025564011, + 0.016857949, + 0.023565184, + 0.019966135, + 0.019942526, + 0.018688435, + 0.027346612, + 0.017257977, + 0.023574967, + 0.022248581, + 0.019992454, + 0.023639304, + 0.02775663, + 0.018834853, + 0.020314446, + 0.020645658, + 0.025043855, + 0.02055158 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 9.52124E-6, + "scoreError" : 4.75693155604712E-7, + "scoreConfidence" : [ + 9.04554684439529E-6, + 9.996933155604712E-6 + ], + "scorePercentiles" : { + "0.0" : 6.392E-6, + "50.0" : 9.1705E-6, + "90.0" : 1.15963E-5, + "95.0" : 1.2772349999999998E-5, + "99.0" : 1.570258E-5, + "99.9" : 2.3767E-5, + "99.99" : 2.3767E-5, + "99.999" : 2.3767E-5, + "99.9999" : 2.3767E-5, + "100.0" : 2.3767E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.3054E-5, + 1.1318E-5, + 1.1598E-5, + 1.0372E-5, + 1.4158E-5, + 1.239E-5, + 1.1564E-5, + 1.1317E-5, + 1.1174E-5, + 1.0574E-5, + 1.1772E-5, + 1.1135E-5, + 1.1614E-5, + 1.2782E-5, + 1.1541E-5, + 1.0783E-5, + 1.0465E-5, + 1.5661E-5, + 1.1037E-5, + 1.0981E-5, + 1.2782E-5, + 1.0636E-5, + 1.2589E-5, + 1.017E-5, + 9.445E-6, + 9.215E-6, + 9.908E-6, + 8.713E-6, + 8.059E-6, + 8.073E-6, + 7.85E-6, + 7.778E-6, + 8.741E-6, + 1.0966E-5, + 8.766E-6, + 7.809E-6, + 8.891E-6, + 1.1935E-5, + 8.945E-6, + 8.239E-6 + ], + [ + 1.2019E-5, + 1.0365E-5, + 1.0897E-5, + 1.0394E-5, + 1.0088E-5, + 1.0766E-5, + 1.0752E-5, + 1.0332E-5, + 1.1344E-5, + 1.0225E-5, + 1.0969E-5, + 1.1254E-5, + 1.0684E-5, + 1.0766E-5, + 1.291E-5, + 9.842E-6, + 1.0311E-5, + 1.5703E-5, + 1.0058E-5, + 9.582E-6, + 1.1525E-5, + 9.052E-6, + 8.89E-6, + 1.081E-5, + 8.859E-6, + 1.05E-5, + 9.651E-6, + 7.777E-6, + 7.331E-6, + 8.23E-6, + 7.908E-6, + 8.341E-6, + 8.63E-6, + 8.275E-6, + 9.55E-6, + 8.395E-6, + 8.499E-6, + 1.2254E-5, + 7.798E-6, + 8.514E-6 + ], + [ + 9.93E-6, + 1.0113E-5, + 9.133E-6, + 9.49E-6, + 8.946E-6, + 1.1474E-5, + 9.196E-6, + 9.428E-6, + 8.952E-6, + 8.389E-6, + 9.304E-6, + 9.877E-6, + 9.181E-6, + 8.739E-6, + 1.113E-5, + 8.816E-6, + 8.981E-6, + 1.3894E-5, + 8.781E-6, + 8.725E-6, + 1.0912E-5, + 7.88E-6, + 9.389E-6, + 9.939E-6, + 8.142E-6, + 8.113E-6, + 8.033E-6, + 7.261E-6, + 6.484E-6, + 6.646E-6, + 6.392E-6, + 6.556E-6, + 6.396E-6, + 7.767E-6, + 9.403E-6, + 7.771E-6, + 7.841E-6, + 1.1258E-5, + 7.149E-6, + 7.789E-6 + ], + [ + 1.1581E-5, + 1.0122E-5, + 9.561E-6, + 9.67E-6, + 1.124E-5, + 9.248E-6, + 9.496E-6, + 9.191E-6, + 8.541E-6, + 8.252E-6, + 8.918E-6, + 9.422E-6, + 9.919E-6, + 1.1713E-5, + 9.335E-6, + 8.968E-6, + 9.754E-6, + 1.298E-5, + 1.0346E-5, + 9.16E-6, + 1.2202E-5, + 8.557E-6, + 1.1102E-5, + 9.505E-6, + 9.211E-6, + 8.307E-6, + 7.795E-6, + 7.46E-6, + 7.291E-6, + 7.867E-6, + 7.922E-6, + 7.444E-6, + 6.652E-6, + 9.276E-6, + 6.964E-6, + 6.895E-6, + 8.144E-6, + 1.1163E-5, + 7.135E-6, + 8.1E-6 + ], + [ + 1.1132E-5, + 9.059E-6, + 9.094E-6, + 8.96E-6, + 1.1023E-5, + 9.153E-6, + 8.813E-6, + 8.768E-6, + 9.004E-6, + 8.685E-6, + 8.638E-6, + 9.696E-6, + 9.098E-6, + 1.0794E-5, + 9.034E-6, + 9.098E-6, + 8.638E-6, + 2.3767E-5, + 8.245E-6, + 8.031E-6, + 1.131E-5, + 9.129E-6, + 9.896E-6, + 7.941E-6, + 8.402E-6, + 7.52E-6, + 7.474E-6, + 7.865E-6, + 7.048E-6, + 7.877E-6, + 6.861E-6, + 6.671E-6, + 6.64E-6, + 8.652E-6, + 6.625E-6, + 6.687E-6, + 8.011E-6, + 1.1579E-5, + 7.509E-6, + 6.962E-6 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 1.0312219999999994E-5, + "scoreError" : 8.267534493701422E-7, + "scoreConfidence" : [ + 9.485466550629852E-6, + 1.1138973449370136E-5 + ], + "scorePercentiles" : { + "0.0" : 6.958E-6, + "50.0" : 9.676999999999999E-6, + "90.0" : 1.27767E-5, + "95.0" : 1.4859149999999996E-5, + "99.0" : 3.110289000000002E-5, + "99.9" : 3.6256E-5, + "99.99" : 3.6256E-5, + "99.999" : 3.6256E-5, + "99.9999" : 3.6256E-5, + "100.0" : 3.6256E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.1513E-5, + 1.158E-5, + 1.2738E-5, + 1.1324E-5, + 1.1024E-5, + 1.0314E-5, + 1.2049E-5, + 9.994E-6, + 9.77E-6, + 9.718E-6, + 1.2072E-5, + 9.869E-6, + 9.583E-6, + 1.1593E-5, + 1.0687E-5, + 8.549E-6, + 1.1297E-5, + 1.6101E-5, + 9.475E-6, + 8.494E-6, + 8.142E-6, + 8.801E-6, + 8.547E-6, + 8.249E-6, + 8.666E-6, + 8.036E-6, + 1.1453E-5, + 8.74E-6, + 8.449E-6, + 7.813E-6, + 7.979E-6, + 1.4672E-5, + 8.504E-6, + 1.3733E-5, + 8.458E-6, + 7.188E-6, + 8.136E-6, + 1.2424E-5, + 8.008E-6, + 7.866E-6 + ], + [ + 1.1663E-5, + 9.914E-6, + 1.0249E-5, + 1.0391E-5, + 1.2078E-5, + 1.074E-5, + 1.0071E-5, + 1.0131E-5, + 1.2167E-5, + 9.196E-6, + 9.637E-6, + 9.445E-6, + 9.605E-6, + 1.1862E-5, + 9.556E-6, + 9.472E-6, + 1.0887E-5, + 1.6005E-5, + 9.181E-6, + 8.589E-6, + 8.429E-6, + 9.964E-6, + 8.366E-6, + 8.465E-6, + 8.281E-6, + 8.489E-6, + 1.2274E-5, + 8.272E-6, + 8.242E-6, + 7.993E-6, + 8.726E-6, + 1.7282E-5, + 1.4266E-5, + 8.111E-6, + 8.074E-6, + 8.501E-6, + 8.327E-6, + 1.2781E-5, + 8.046E-6, + 7.205E-6 + ], + [ + 1.0594E-5, + 1.0602E-5, + 1.1151E-5, + 1.0725E-5, + 1.0226E-5, + 9.848E-6, + 1.0273E-5, + 1.0781E-5, + 1.01E-5, + 9.737E-6, + 9.896E-6, + 1.0044E-5, + 9.563E-6, + 1.271E-5, + 1.0142E-5, + 8.452E-6, + 9.93E-6, + 3.1127E-5, + 2.4219E-5, + 8.514E-6, + 8.502E-6, + 8.434E-6, + 8.297E-6, + 8.676E-6, + 7.741E-6, + 8.407E-6, + 1.2601E-5, + 8.245E-6, + 7.77E-6, + 8.205E-6, + 7.714E-6, + 3.6256E-5, + 8.23E-6, + 1.3686E-5, + 8.171E-6, + 6.958E-6, + 8.304E-6, + 1.2727E-5, + 7.706E-6, + 7.684E-6 + ], + [ + 1.187E-5, + 1.1117E-5, + 1.0839E-5, + 1.0092E-5, + 1.0298E-5, + 1.0152E-5, + 1.0277E-5, + 9.636E-6, + 9.725E-6, + 1.0413E-5, + 1.0307E-5, + 1.0587E-5, + 9.717E-6, + 1.3259E-5, + 8.652E-6, + 8.337E-6, + 1.0417E-5, + 1.4869E-5, + 1.1492E-5, + 8.532E-6, + 9.344E-6, + 8.102E-6, + 9.096E-6, + 8.569E-6, + 8.335E-6, + 8.705E-6, + 1.2063E-5, + 8.527E-6, + 8.568E-6, + 7.832E-6, + 8.408E-6, + 1.6453E-5, + 8.891E-6, + 1.3782E-5, + 8.091E-6, + 8.178E-6, + 8.611E-6, + 1.2121E-5, + 7.906E-6, + 8.007E-6 + ], + [ + 1.2209E-5, + 1.0556E-5, + 1.2835E-5, + 1.066E-5, + 1.0288E-5, + 1.0472E-5, + 1.0613E-5, + 9.825E-6, + 9.856E-6, + 1.0295E-5, + 1.0321E-5, + 1.0286E-5, + 9.548E-6, + 1.2951E-5, + 1.0239E-5, + 8.438E-6, + 1.0773E-5, + 2.8716E-5, + 1.0977E-5, + 1.0229E-5, + 8.65E-6, + 8.304E-6, + 8.027E-6, + 8.564E-6, + 8.202E-6, + 8.498E-6, + 1.2563E-5, + 8.46E-6, + 8.042E-6, + 8.353E-6, + 8.668E-6, + 1.7366E-5, + 8.231E-6, + 1.3029E-5, + 7.152E-6, + 8.245E-6, + 8.56E-6, + 1.1558E-5, + 8.062E-6, + 8.157E-6 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 1.3031209999999994E-5, + "scoreError" : 8.839573714000302E-7, + "scoreConfidence" : [ + 1.2147252628599964E-5, + 1.3915167371400024E-5 + ], + "scorePercentiles" : { + "0.0" : 8.203E-6, + "50.0" : 1.21425E-5, + "90.0" : 1.81526E-5, + "95.0" : 2.1064299999999987E-5, + "99.0" : 2.440447E-5, + "99.9" : 2.4566E-5, + "99.99" : 2.4566E-5, + "99.999" : 2.4566E-5, + "99.9999" : 2.4566E-5, + "100.0" : 2.4566E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.7701E-5, + 1.1699E-5, + 1.2014E-5, + 1.1548E-5, + 1.4038E-5, + 1.4886E-5, + 1.5881E-5, + 1.146E-5, + 1.1463E-5, + 1.1346E-5, + 1.0746E-5, + 1.0914E-5, + 1.1587E-5, + 1.8863E-5, + 1.1978E-5, + 1.0185E-5, + 1.1309E-5, + 9.262E-6, + 9.124E-6, + 9.331E-6, + 1.2438E-5, + 1.4078E-5, + 1.3865E-5, + 1.4558E-5, + 1.3723E-5, + 1.4404E-5, + 2.3557E-5, + 1.0411E-5, + 9.361E-6, + 9.998E-6, + 9.784E-6, + 1.6717E-5, + 1.5624E-5, + 9.708E-6, + 8.536E-6, + 9.959E-6, + 8.962E-6, + 1.428E-5, + 9.007E-6, + 1.5873E-5 + ], + [ + 1.8041E-5, + 1.2819E-5, + 1.1652E-5, + 1.1744E-5, + 1.4823E-5, + 1.4952E-5, + 1.6583E-5, + 1.2186E-5, + 1.1793E-5, + 1.1364E-5, + 2.0044E-5, + 9.636E-6, + 9.083E-6, + 2.1821E-5, + 1.1991E-5, + 2.1118E-5, + 1.9486E-5, + 1.1048E-5, + 1.0744E-5, + 9.471E-6, + 1.1353E-5, + 1.4114E-5, + 1.3409E-5, + 1.4314E-5, + 1.4267E-5, + 1.4798E-5, + 2.3343E-5, + 1.0669E-5, + 9.136E-6, + 9.09E-6, + 9.017E-6, + 1.588E-5, + 1.5669E-5, + 9.315E-6, + 8.34E-6, + 8.93E-6, + 8.685E-6, + 1.3809E-5, + 8.203E-6, + 1.5728E-5 + ], + [ + 1.845E-5, + 1.2526E-5, + 1.2513E-5, + 1.2933E-5, + 1.5615E-5, + 1.5752E-5, + 1.6849E-5, + 1.2718E-5, + 1.3193E-5, + 1.2676E-5, + 1.9199E-5, + 1.1066E-5, + 8.987E-6, + 2.1134E-5, + 1.2154E-5, + 8.878E-6, + 1.2427E-5, + 9.599E-6, + 9.156E-6, + 8.953E-6, + 1.1739E-5, + 1.4886E-5, + 1.6949E-5, + 1.489E-5, + 1.4275E-5, + 1.5618E-5, + 2.4566E-5, + 1.1709E-5, + 8.981E-6, + 8.74E-6, + 1.1851E-5, + 1.9375E-5, + 1.5406E-5, + 8.727E-6, + 8.781E-6, + 8.7E-6, + 8.263E-6, + 1.4209E-5, + 8.537E-6, + 1.5678E-5 + ], + [ + 1.9232E-5, + 1.2008E-5, + 1.1993E-5, + 1.2104E-5, + 1.7975E-5, + 1.5551E-5, + 1.6566E-5, + 1.3063E-5, + 1.1643E-5, + 1.1146E-5, + 1.9735E-5, + 9.955E-6, + 9.22E-6, + 2.1364E-5, + 1.1568E-5, + 1.2322E-5, + 1.2289E-5, + 9.873E-6, + 9.347E-6, + 8.457E-6, + 9.202E-6, + 1.6277E-5, + 1.424E-5, + 1.3797E-5, + 1.3853E-5, + 1.6402E-5, + 2.4253E-5, + 1.0871E-5, + 1.034E-5, + 1.0604E-5, + 9.664E-6, + 1.7323E-5, + 1.588E-5, + 9.792E-6, + 9.43E-6, + 1.1936E-5, + 1.0693E-5, + 1.616E-5, + 9.555E-6, + 1.688E-5 + ], + [ + 1.7725E-5, + 1.2499E-5, + 1.2218E-5, + 1.2131E-5, + 1.54E-5, + 1.6504E-5, + 1.6562E-5, + 1.3237E-5, + 1.232E-5, + 1.2309E-5, + 1.9721E-5, + 1.102E-5, + 9.1E-6, + 2.2408E-5, + 1.0961E-5, + 9.623E-6, + 1.2E-5, + 9.676E-6, + 9.806E-6, + 9.293E-6, + 9.387E-6, + 1.5296E-5, + 1.4621E-5, + 1.5034E-5, + 1.4067E-5, + 1.3953E-5, + 2.4406E-5, + 1.0681E-5, + 1.0082E-5, + 9.953E-6, + 9.756E-6, + 1.8165E-5, + 1.5343E-5, + 8.411E-6, + 8.748E-6, + 8.788E-6, + 8.804E-6, + 1.3542E-5, + 8.441E-6, + 1.6384E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 1.7532130000000003E-5, + "scoreError" : 1.1958193186467489E-6, + "scoreConfidence" : [ + 1.6336310681353254E-5, + 1.8727949318646752E-5 + ], + "scorePercentiles" : { + "0.0" : 1.0746E-5, + "50.0" : 1.77505E-5, + "90.0" : 2.24916E-5, + "95.0" : 2.72908E-5, + "99.0" : 3.354428E-5, + "99.9" : 4.8553E-5, + "99.99" : 4.8553E-5, + "99.999" : 4.8553E-5, + "99.9999" : 4.8553E-5, + "100.0" : 4.8553E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 2.0305E-5, + 1.9105E-5, + 1.9004E-5, + 1.5399E-5, + 1.9714E-5, + 1.7885E-5, + 1.9478E-5, + 1.4212E-5, + 1.7924E-5, + 1.5369E-5, + 2.4777E-5, + 1.7033E-5, + 1.7798E-5, + 1.2474E-5, + 1.9047E-5, + 1.2282E-5, + 1.7743E-5, + 1.8719E-5, + 1.5024E-5, + 1.7678E-5, + 1.6763E-5, + 1.7473E-5, + 1.1969E-5, + 2.9778E-5, + 1.996E-5, + 1.1451E-5, + 4.8553E-5, + 1.1291E-5, + 1.6628E-5, + 1.2264E-5, + 1.7898E-5, + 1.1253E-5, + 1.0746E-5, + 1.855E-5, + 1.3291E-5, + 1.6626E-5, + 1.2992E-5, + 1.6369E-5, + 1.2328E-5, + 1.2569E-5 + ], + [ + 2.1961E-5, + 2.0498E-5, + 1.4835E-5, + 1.9224E-5, + 3.3551E-5, + 1.4979E-5, + 1.9223E-5, + 1.7718E-5, + 1.2044E-5, + 2.3624E-5, + 1.4161E-5, + 1.8739E-5, + 1.3821E-5, + 1.8868E-5, + 1.1367E-5, + 1.9402E-5, + 1.4091E-5, + 1.2833E-5, + 1.8522E-5, + 1.2709E-5, + 2.704E-5, + 3.2312E-5, + 1.9812E-5, + 2.0853E-5, + 1.8535E-5, + 1.9354E-5, + 1.8393E-5, + 1.8784E-5, + 1.3046E-5, + 1.8715E-5, + 1.2055E-5, + 1.1652E-5, + 1.7463E-5, + 1.2338E-5, + 1.7967E-5, + 1.1218E-5, + 1.8738E-5, + 1.258E-5, + 1.2703E-5, + 1.755E-5 + ], + [ + 2.0854E-5, + 2.0375E-5, + 1.8077E-5, + 2.0268E-5, + 2.0678E-5, + 1.6746E-5, + 2.1464E-5, + 1.6583E-5, + 1.7724E-5, + 1.6638E-5, + 2.5192E-5, + 1.3111E-5, + 1.42E-5, + 1.8642E-5, + 1.9203E-5, + 1.8283E-5, + 1.5303E-5, + 1.8525E-5, + 1.3203E-5, + 1.9368E-5, + 1.8474E-5, + 1.3311E-5, + 1.8885E-5, + 1.8896E-5, + 3.1831E-5, + 1.2299E-5, + 3.2879E-5, + 1.168E-5, + 1.0983E-5, + 1.7881E-5, + 1.6021E-5, + 1.7758E-5, + 1.2961E-5, + 1.849E-5, + 1.2843E-5, + 1.3996E-5, + 1.7565E-5, + 1.3715E-5, + 1.7292E-5, + 1.2063E-5 + ], + [ + 2.2105E-5, + 1.9375E-5, + 1.4141E-5, + 2.208E-5, + 1.8335E-5, + 1.518E-5, + 2.0287E-5, + 1.7282E-5, + 1.9898E-5, + 1.7155E-5, + 1.4924E-5, + 1.9789E-5, + 1.2374E-5, + 1.9818E-5, + 1.459E-5, + 1.9022E-5, + 1.3612E-5, + 1.2619E-5, + 1.8861E-5, + 1.6878E-5, + 2.7304E-5, + 1.3258E-5, + 1.8716E-5, + 2.4441E-5, + 2.2849E-5, + 1.8338E-5, + 2.6444E-5, + 1.7943E-5, + 1.1324E-5, + 1.8109E-5, + 1.1837E-5, + 1.217E-5, + 1.6849E-5, + 1.2167E-5, + 1.7939E-5, + 1.1703E-5, + 1.8008E-5, + 2.7648E-5, + 1.7262E-5, + 1.1975E-5 + ], + [ + 2.2516E-5, + 2.2272E-5, + 2.2534E-5, + 1.8038E-5, + 2.0077E-5, + 2.1546E-5, + 1.5422E-5, + 2.1843E-5, + 1.2691E-5, + 2.6435E-5, + 1.5268E-5, + 1.9946E-5, + 1.2724E-5, + 1.8577E-5, + 1.4354E-5, + 1.2928E-5, + 1.9172E-5, + 1.2862E-5, + 1.896E-5, + 1.2351E-5, + 2.7411E-5, + 1.2093E-5, + 1.1757E-5, + 3.2641E-5, + 1.8696E-5, + 1.9098E-5, + 1.968E-5, + 1.8298E-5, + 1.3455E-5, + 1.1636E-5, + 1.866E-5, + 1.2936E-5, + 1.7517E-5, + 1.2136E-5, + 1.911E-5, + 1.4028E-5, + 1.2447E-5, + 1.8216E-5, + 1.5333E-5, + 1.8893E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.1144723499999989E-4, + "scoreError" : 1.1058793358501485E-5, + "scoreConfidence" : [ + 1.0038844164149841E-4, + 1.2250602835850137E-4 + ], + "scorePercentiles" : { + "0.0" : 5.7016E-5, + "50.0" : 1.45703E-4, + "90.0" : 1.597454E-4, + "95.0" : 1.6436925E-4, + "99.0" : 1.7420876000000002E-4, + "99.9" : 2.07914E-4, + "99.99" : 2.07914E-4, + "99.999" : 2.07914E-4, + "99.9999" : 2.07914E-4, + "100.0" : 2.07914E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.72304E-4, + 1.67911E-4, + 1.55196E-4, + 1.53195E-4, + 1.60621E-4, + 1.55215E-4, + 1.55227E-4, + 1.56133E-4, + 1.5369E-4, + 1.59786E-4, + 1.55942E-4, + 1.56158E-4, + 1.56785E-4, + 1.56749E-4, + 1.6172E-4, + 1.55615E-4, + 1.55021E-4, + 1.55684E-4, + 1.60043E-4, + 1.61992E-4, + 7.0253E-5, + 6.3163E-5, + 5.9484E-5, + 5.9629E-5, + 6.3695E-5, + 6.1474E-5, + 5.9301E-5, + 5.992E-5, + 6.3813E-5, + 6.4601E-5, + 6.1235E-5, + 5.7016E-5, + 6.0039E-5, + 6.0477E-5, + 5.9862E-5, + 6.5156E-5, + 6.2693E-5, + 6.7376E-5, + 6.1506E-5, + 6.4506E-5 + ], + [ + 1.74228E-4, + 1.64414E-4, + 1.56095E-4, + 1.51202E-4, + 1.5938E-4, + 1.50959E-4, + 1.51477E-4, + 1.5426E-4, + 1.5339E-4, + 1.54813E-4, + 1.54039E-4, + 1.55465E-4, + 1.56357E-4, + 1.51921E-4, + 1.56928E-4, + 1.54485E-4, + 1.58881E-4, + 1.52511E-4, + 1.55134E-4, + 1.57349E-4, + 1.40447E-4, + 6.411E-5, + 5.9396E-5, + 6.2892E-5, + 6.5923E-5, + 6.3789E-5, + 6.2649E-5, + 6.1297E-5, + 6.338E-5, + 6.4422E-5, + 6.9216E-5, + 7.026E-5, + 6.8288E-5, + 7.6116E-5, + 6.1955E-5, + 6.5637E-5, + 6.1686E-5, + 6.8285E-5, + 7.2524E-5, + 6.4846E-5 + ], + [ + 1.7067E-4, + 1.65651E-4, + 1.52661E-4, + 1.50977E-4, + 1.53092E-4, + 1.53146E-4, + 1.51284E-4, + 1.55318E-4, + 1.53782E-4, + 1.51287E-4, + 1.61462E-4, + 1.53462E-4, + 1.5406E-4, + 1.55853E-4, + 1.54704E-4, + 1.53947E-4, + 1.52416E-4, + 1.51976E-4, + 1.55539E-4, + 1.58258E-4, + 1.10125E-4, + 6.5484E-5, + 5.9492E-5, + 5.8506E-5, + 6.1445E-5, + 6.0726E-5, + 6.0171E-5, + 5.8945E-5, + 6.5792E-5, + 5.9667E-5, + 6.6712E-5, + 5.818E-5, + 6.6583E-5, + 5.9511E-5, + 5.9473E-5, + 6.32E-5, + 5.9153E-5, + 6.4371E-5, + 5.9452E-5, + 6.1028E-5 + ], + [ + 1.68734E-4, + 1.71234E-4, + 1.53154E-4, + 1.54617E-4, + 1.54028E-4, + 1.57453E-4, + 1.53551E-4, + 1.55169E-4, + 1.54088E-4, + 1.53981E-4, + 1.53111E-4, + 1.59078E-4, + 1.60794E-4, + 1.55266E-4, + 1.52786E-4, + 1.55195E-4, + 1.5476E-4, + 1.59012E-4, + 1.52918E-4, + 1.54E-4, + 1.13562E-4, + 6.7098E-5, + 6.1534E-5, + 5.8947E-5, + 5.9787E-5, + 6.5946E-5, + 6.677E-5, + 5.9298E-5, + 5.9656E-5, + 5.9555E-5, + 6.5343E-5, + 5.8898E-5, + 6.3709E-5, + 5.9689E-5, + 5.9902E-5, + 6.2573E-5, + 6.3671E-5, + 6.5813E-5, + 6.1154E-5, + 6.2908E-5 + ], + [ + 1.67636E-4, + 1.63519E-4, + 1.56595E-4, + 1.62045E-4, + 1.5114E-4, + 1.52722E-4, + 1.52159E-4, + 1.53283E-4, + 1.5202E-4, + 1.50965E-4, + 1.52861E-4, + 1.51466E-4, + 1.535E-4, + 1.52793E-4, + 1.58481E-4, + 1.51922E-4, + 1.51959E-4, + 2.07914E-4, + 1.53874E-4, + 1.62573E-4, + 1.06989E-4, + 1.20139E-4, + 5.8099E-5, + 6.3582E-5, + 5.7902E-5, + 9.0699E-5, + 6.5559E-5, + 6.0289E-5, + 6.7203E-5, + 5.9788E-5, + 6.1242E-5, + 6.2963E-5, + 5.8111E-5, + 6.011E-5, + 6.3339E-5, + 6.539E-5, + 5.7328E-5, + 9.2792E-5, + 5.943E-5, + 6.2171E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 2.55179115E-4, + "scoreError" : 3.1801450215650774E-5, + "scoreConfidence" : [ + 2.2337766478434923E-4, + 2.8698056521565075E-4 + ], + "scorePercentiles" : { + "0.0" : 1.63584E-4, + "50.0" : 1.73804E-4, + "90.0" : 4.875742E-4, + "95.0" : 4.9233455E-4, + "99.0" : 5.054576800000001E-4, + "99.9" : 5.18162E-4, + "99.99" : 5.18162E-4, + "99.999" : 5.18162E-4, + "99.9999" : 5.18162E-4, + "100.0" : 5.18162E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 4.69814E-4, + 4.66001E-4, + 4.90263E-4, + 4.83266E-4, + 4.77248E-4, + 4.75294E-4, + 5.18162E-4, + 4.82859E-4, + 4.82676E-4, + 4.94289E-4, + 3.38816E-4, + 2.9707E-4, + 1.89404E-4, + 1.7874E-4, + 1.74514E-4, + 1.73767E-4, + 1.76197E-4, + 1.79912E-4, + 1.85214E-4, + 2.01282E-4, + 1.9707E-4, + 1.96374E-4, + 2.01486E-4, + 2.00322E-4, + 2.05622E-4, + 2.04221E-4, + 2.10117E-4, + 1.94349E-4, + 1.92845E-4, + 1.91404E-4, + 1.98886E-4, + 1.92362E-4, + 2.35001E-4, + 1.83801E-4, + 1.63637E-4, + 1.64196E-4, + 1.64627E-4, + 1.68615E-4, + 1.64896E-4, + 1.63584E-4 + ], + [ + 4.70961E-4, + 4.73608E-4, + 4.89021E-4, + 4.92405E-4, + 4.81514E-4, + 4.81305E-4, + 4.79127E-4, + 4.90761E-4, + 4.80958E-4, + 4.82943E-4, + 1.83919E-4, + 1.72683E-4, + 1.70773E-4, + 1.70708E-4, + 2.07872E-4, + 1.67075E-4, + 1.68207E-4, + 1.69573E-4, + 1.67872E-4, + 1.67649E-4, + 1.73841E-4, + 1.68009E-4, + 1.66324E-4, + 1.69324E-4, + 1.72411E-4, + 1.69353E-4, + 1.67896E-4, + 1.67347E-4, + 1.79782E-4, + 1.68463E-4, + 1.68493E-4, + 1.67867E-4, + 1.82353E-4, + 1.68972E-4, + 1.6794E-4, + 1.68081E-4, + 1.65634E-4, + 1.73629E-4, + 1.67111E-4, + 1.66074E-4 + ], + [ + 4.79347E-4, + 4.81852E-4, + 4.86665E-4, + 4.90996E-4, + 4.82579E-4, + 4.77953E-4, + 4.79949E-4, + 4.82669E-4, + 4.92498E-4, + 4.7828E-4, + 2.4163E-4, + 1.71169E-4, + 1.68482E-4, + 1.9724E-4, + 1.67666E-4, + 1.66023E-4, + 1.69169E-4, + 1.67253E-4, + 1.66721E-4, + 1.69939E-4, + 1.725E-4, + 1.66913E-4, + 1.6588E-4, + 1.6566E-4, + 1.68495E-4, + 1.67994E-4, + 1.68789E-4, + 1.67576E-4, + 1.68139E-4, + 1.72393E-4, + 1.69919E-4, + 1.68377E-4, + 1.84671E-4, + 1.67739E-4, + 1.66777E-4, + 1.67156E-4, + 1.67266E-4, + 1.76223E-4, + 1.67388E-4, + 1.67255E-4 + ], + [ + 4.78435E-4, + 4.74247E-4, + 4.78663E-4, + 4.89756E-4, + 4.86712E-4, + 4.90375E-4, + 4.81261E-4, + 4.88117E-4, + 4.8767E-4, + 4.82233E-4, + 2.22277E-4, + 1.71539E-4, + 1.69622E-4, + 1.70652E-4, + 1.70406E-4, + 1.67369E-4, + 1.68473E-4, + 1.68708E-4, + 1.69104E-4, + 1.68687E-4, + 1.71794E-4, + 1.66954E-4, + 1.69363E-4, + 1.67856E-4, + 1.80825E-4, + 1.69824E-4, + 1.69472E-4, + 1.67282E-4, + 1.6959E-4, + 1.67191E-4, + 1.66411E-4, + 1.8128E-4, + 1.81413E-4, + 1.69638E-4, + 1.71267E-4, + 1.68301E-4, + 1.66623E-4, + 1.73987E-4, + 1.68168E-4, + 1.6645E-4 + ], + [ + 4.77783E-4, + 4.89708E-4, + 4.98561E-4, + 4.89785E-4, + 4.99858E-4, + 5.0551E-4, + 4.81543E-4, + 4.94473E-4, + 5.00278E-4, + 4.94226E-4, + 2.31001E-4, + 1.75226E-4, + 1.70128E-4, + 2.11101E-4, + 1.69455E-4, + 1.69622E-4, + 1.69364E-4, + 1.69646E-4, + 1.69039E-4, + 1.7109E-4, + 2.17562E-4, + 1.6694E-4, + 1.69472E-4, + 1.68692E-4, + 1.69388E-4, + 1.72158E-4, + 1.67787E-4, + 1.70844E-4, + 1.67531E-4, + 1.696E-4, + 1.81916E-4, + 1.70215E-4, + 1.95457E-4, + 1.81038E-4, + 1.76022E-4, + 1.74252E-4, + 1.94783E-4, + 2.06366E-4, + 1.90443E-4, + 1.88734E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.0025111448600000008, + "scoreError" : 3.413240734944437E-4, + "scoreConfidence" : [ + 0.002169820786505557, + 0.0028524689334944444 + ], + "scorePercentiles" : { + "0.0" : 0.001533834, + "50.0" : 0.0015960599999999998, + "90.0" : 0.004735151, + "95.0" : 0.0047711137, + "99.0" : 0.005409003780000005, + "99.9" : 0.007415289, + "99.99" : 0.007415289, + "99.999" : 0.007415289, + "99.9999" : 0.007415289, + "100.0" : 0.007415289 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001606733, + 0.004668471, + 0.004689762, + 0.001578157, + 0.001578219, + 0.001572034, + 0.001605855, + 0.001614956, + 0.001586255, + 0.001582068, + 0.001573246, + 0.001595203, + 0.004719663, + 0.004745299, + 0.004619791, + 0.004568319, + 0.001583052, + 0.00154875, + 0.001543738, + 0.001711218, + 0.001588839, + 0.001534018, + 0.001533834, + 0.001539024, + 0.001540677, + 0.001568416, + 0.001546305, + 0.001571916, + 0.001587221, + 0.001575262, + 0.0015771, + 0.001582438, + 0.001599251, + 0.001600072, + 0.002736418, + 0.00472825, + 0.004720962, + 0.00477169, + 0.004743895, + 0.004761516 + ], + [ + 0.001601144, + 0.004705643, + 0.004720799, + 0.001582594, + 0.001579686, + 0.00157747, + 0.001574876, + 0.001615191, + 0.001599481, + 0.001581197, + 0.001611557, + 0.001595867, + 0.004721589, + 0.0047705, + 0.00472395, + 0.004735522, + 0.001611829, + 0.001581148, + 0.001599294, + 0.001600055, + 0.00160255, + 0.001578724, + 0.001570322, + 0.001557443, + 0.0015404, + 0.001580706, + 0.001549512, + 0.00154161, + 0.001545848, + 0.001543452, + 0.001543932, + 0.001544103, + 0.001541606, + 0.001541332, + 0.002699202, + 0.004634181, + 0.004603522, + 0.004643915, + 0.00467205, + 0.004754974 + ], + [ + 0.001568945, + 0.004624836, + 0.004687159, + 0.001554116, + 0.001601489, + 0.001550261, + 0.001603436, + 0.00161326, + 0.001586279, + 0.001579238, + 0.001583683, + 0.001613788, + 0.004771146, + 0.004822154, + 0.004694494, + 0.00469159, + 0.001610654, + 0.001578352, + 0.001536564, + 0.001554347, + 0.001591453, + 0.001541334, + 0.001559631, + 0.001542248, + 0.001539038, + 0.001580713, + 0.00153994, + 0.002033616, + 0.00154284, + 0.001828756, + 0.00154439, + 0.001555188, + 0.001540213, + 0.001537399, + 0.002636448, + 0.004672907, + 0.004743641, + 0.004737168, + 0.004796059, + 0.00491616 + ], + [ + 0.001601446, + 0.004759075, + 0.007415289, + 0.002134026, + 0.001589728, + 0.001578225, + 0.001584776, + 0.001616313, + 0.001585174, + 0.001603429, + 0.001563601, + 0.001601965, + 0.004713263, + 0.004727506, + 0.004731812, + 0.004687223, + 0.001620178, + 0.001594548, + 0.001573887, + 0.001587389, + 0.001572911, + 0.001571173, + 0.001571445, + 0.00158127, + 0.001574942, + 0.001624171, + 0.001606328, + 0.001597723, + 0.001582975, + 0.001571619, + 0.001573502, + 0.001578201, + 0.001576189, + 0.001591389, + 0.003353914, + 0.004677412, + 0.00471393, + 0.004808844, + 0.00487805, + 0.005413982 + ], + [ + 0.001621912, + 0.004652049, + 0.004705901, + 0.001590531, + 0.001589109, + 0.00157325, + 0.00159001, + 0.001616484, + 0.001621392, + 0.001607012, + 0.001574148, + 0.001596767, + 0.004717198, + 0.004687621, + 0.004711427, + 0.004697882, + 0.00160378, + 0.001583252, + 0.001588393, + 0.001588235, + 0.001581598, + 0.001568512, + 0.001590737, + 0.001596253, + 0.001580081, + 0.001617834, + 0.001584403, + 0.001584483, + 0.001595291, + 0.001578295, + 0.001590058, + 0.00161959, + 0.001582825, + 0.002177614, + 0.004718055, + 0.004722744, + 0.004767414, + 0.00471165, + 0.004804816, + 0.004669941 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.01842779793499999, + "scoreError" : 0.001762047444700974, + "scoreConfidence" : [ + 0.016665750490299017, + 0.020189845379700963 + ], + "scorePercentiles" : { + "0.0" : 0.014879851, + "50.0" : 0.015533652, + "90.0" : 0.0216740172, + "95.0" : 0.04443578139999993, + "99.0" : 0.04697062417, + "99.9" : 0.047708844, + "99.99" : 0.047708844, + "99.999" : 0.047708844, + "99.9999" : 0.047708844, + "100.0" : 0.047708844 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.019715242, + 0.016262469, + 0.015898438, + 0.044736588, + 0.021109665, + 0.015231639, + 0.016199602, + 0.038591326, + 0.015544384, + 0.015249318, + 0.015430339, + 0.046972515, + 0.020255935, + 0.015457, + 0.015290209, + 0.016832884, + 0.022143258, + 0.015182579, + 0.015158036, + 0.015150406, + 0.015393553, + 0.02127114, + 0.015441777, + 0.015030968, + 0.015980989, + 0.015309038, + 0.015164094, + 0.01549493, + 0.015638461, + 0.015387764, + 0.022582533, + 0.015982421, + 0.015397968, + 0.015242642, + 0.015082663, + 0.038720456, + 0.015176836, + 0.015541561, + 0.015806165, + 0.015391163 + ], + [ + 0.019213233, + 0.015195522, + 0.015177655, + 0.046783432, + 0.021161785, + 0.015463449, + 0.017045831, + 0.034617162, + 0.015594621, + 0.015312445, + 0.017553194, + 0.04632445, + 0.0196296, + 0.015081282, + 0.015313376, + 0.016447151, + 0.021678178, + 0.015341918, + 0.015255193, + 0.015968863, + 0.015660955, + 0.021258483, + 0.015577509, + 0.01526688, + 0.015495193, + 0.01545285, + 0.015125996, + 0.015279208, + 0.015314566, + 0.01522762, + 0.02037686, + 0.015775232, + 0.015488139, + 0.015354816, + 0.015156306, + 0.021076139, + 0.015395694, + 0.01555339, + 0.01529134, + 0.015296001 + ], + [ + 0.019592638, + 0.015238246, + 0.015329181, + 0.045512597, + 0.02140102, + 0.015219329, + 0.016337343, + 0.036605119, + 0.015391838, + 0.015248626, + 0.015542861, + 0.045028004, + 0.020059904, + 0.016019962, + 0.015427614, + 0.017071832, + 0.020319731, + 0.015232384, + 0.015259331, + 0.015942386, + 0.015525743, + 0.015913033, + 0.015420185, + 0.015106084, + 0.015115159, + 0.015690638, + 0.016046806, + 0.015863496, + 0.01577689, + 0.01536436, + 0.02163657, + 0.015382715, + 0.015585163, + 0.014966764, + 0.014999291, + 0.014923374, + 0.0154487, + 0.015640759, + 0.015409534, + 0.015542755 + ], + [ + 0.019310537, + 0.015430374, + 0.015640914, + 0.045640089, + 0.021222739, + 0.015141192, + 0.016010943, + 0.033801735, + 0.015423721, + 0.015090101, + 0.015581642, + 0.046159284, + 0.020032631, + 0.01547753, + 0.015045585, + 0.016564397, + 0.020553577, + 0.015341819, + 0.015926177, + 0.015221855, + 0.015316898, + 0.015490555, + 0.015283564, + 0.015182818, + 0.015210287, + 0.015729992, + 0.016114304, + 0.015927454, + 0.015702963, + 0.015208285, + 0.021909728, + 0.015386038, + 0.019458675, + 0.016814371, + 0.015616497, + 0.014879851, + 0.015287016, + 0.016456219, + 0.01529192, + 0.015315094 + ], + [ + 0.019155198, + 0.015568396, + 0.016132828, + 0.047708844, + 0.021210017, + 0.015267597, + 0.016349676, + 0.036018824, + 0.01512888, + 0.01535029, + 0.015919348, + 0.045472057, + 0.019420036, + 0.015308105, + 0.015291027, + 0.017118402, + 0.020772175, + 0.015617184, + 0.015412754, + 0.015359281, + 0.015200059, + 0.015470744, + 0.015502219, + 0.015305056, + 0.015132738, + 0.016374836, + 0.016368097, + 0.015396714, + 0.015515947, + 0.015394844, + 0.020679651, + 0.015144463, + 0.01545266, + 0.015388377, + 0.015675925, + 0.014981293, + 0.015200143, + 0.015560107, + 0.015546011, + 0.015320977 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.1945109499999994E-4, + "scoreError" : 4.248637046125932E-6, + "scoreConfidence" : [ + 1.15202457953874E-4, + 1.2369973204612588E-4 + ], + "scorePercentiles" : { + "0.0" : 1.11062E-4, + "50.0" : 1.15004E-4, + "90.0" : 1.28183E-4, + "95.0" : 1.4650589999999988E-4, + "99.0" : 2.4359480000000024E-4, + "99.9" : 2.4919E-4, + "99.99" : 2.4919E-4, + "99.999" : 2.4919E-4, + "99.9999" : 2.4919E-4, + "100.0" : 2.4919E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.28441E-4, + 1.25861E-4, + 1.14082E-4, + 1.14078E-4, + 1.11775E-4, + 1.20328E-4, + 1.1627E-4, + 1.13987E-4, + 1.11973E-4, + 1.16889E-4, + 1.14472E-4, + 1.13196E-4, + 1.18362E-4, + 1.20518E-4, + 1.14462E-4, + 1.12581E-4, + 1.132E-4, + 1.12517E-4, + 1.19686E-4, + 1.15904E-4, + 1.12651E-4, + 1.15083E-4, + 1.12763E-4, + 1.13846E-4, + 1.14166E-4, + 1.12258E-4, + 2.4919E-4, + 1.12338E-4, + 1.49785E-4, + 1.1266E-4, + 1.36282E-4, + 1.49348E-4, + 1.13312E-4, + 1.11842E-4, + 1.13452E-4, + 1.1202E-4, + 1.22234E-4, + 1.1666E-4, + 1.16645E-4, + 1.16424E-4 + ], + [ + 1.31012E-4, + 1.22621E-4, + 1.12085E-4, + 1.13548E-4, + 1.12025E-4, + 1.18983E-4, + 1.14035E-4, + 1.13266E-4, + 1.14386E-4, + 1.14522E-4, + 1.13665E-4, + 1.11838E-4, + 1.14663E-4, + 1.12898E-4, + 1.11989E-4, + 1.16904E-4, + 1.11896E-4, + 1.12955E-4, + 1.12901E-4, + 1.12588E-4, + 1.11927E-4, + 1.16011E-4, + 1.15946E-4, + 1.12593E-4, + 1.1466E-4, + 1.16718E-4, + 1.17772E-4, + 1.12702E-4, + 1.15023E-4, + 1.14194E-4, + 1.19849E-4, + 1.20717E-4, + 1.12553E-4, + 1.12553E-4, + 1.1303E-4, + 1.16869E-4, + 1.17187E-4, + 1.14603E-4, + 1.15199E-4, + 1.17736E-4 + ], + [ + 1.33692E-4, + 1.22601E-4, + 1.14912E-4, + 1.13942E-4, + 1.13615E-4, + 1.15213E-4, + 1.15624E-4, + 1.15942E-4, + 1.12152E-4, + 1.14096E-4, + 1.11908E-4, + 1.12333E-4, + 1.16662E-4, + 1.1346E-4, + 1.12671E-4, + 1.13163E-4, + 1.18387E-4, + 1.18417E-4, + 1.12483E-4, + 1.14786E-4, + 1.12839E-4, + 1.13588E-4, + 1.11707E-4, + 1.12395E-4, + 1.13599E-4, + 1.15276E-4, + 2.15954E-4, + 1.14606E-4, + 1.31619E-4, + 1.1462E-4, + 1.18439E-4, + 2.05213E-4, + 1.17625E-4, + 1.14597E-4, + 1.14075E-4, + 1.12E-4, + 1.16725E-4, + 1.16922E-4, + 1.13214E-4, + 1.47044E-4 + ], + [ + 1.3184E-4, + 1.30622E-4, + 1.14128E-4, + 1.19215E-4, + 1.16979E-4, + 1.15385E-4, + 1.18962E-4, + 1.16605E-4, + 1.17861E-4, + 1.15574E-4, + 1.11883E-4, + 1.15425E-4, + 1.2091E-4, + 1.14322E-4, + 1.17386E-4, + 1.1508E-4, + 1.16107E-4, + 1.14068E-4, + 1.18263E-4, + 1.13638E-4, + 1.11924E-4, + 1.16643E-4, + 1.16718E-4, + 1.16807E-4, + 1.1349E-4, + 1.16919E-4, + 2.43874E-4, + 1.14857E-4, + 1.565E-4, + 1.19295E-4, + 1.13557E-4, + 1.85017E-4, + 1.14294E-4, + 1.15751E-4, + 1.12195E-4, + 1.12189E-4, + 1.16329E-4, + 1.2325E-4, + 1.16011E-4, + 1.15357E-4 + ], + [ + 1.28458E-4, + 1.34164E-4, + 1.12749E-4, + 1.14419E-4, + 1.11668E-4, + 1.13399E-4, + 1.17476E-4, + 1.15368E-4, + 1.15843E-4, + 1.14757E-4, + 1.11062E-4, + 1.15072E-4, + 1.14985E-4, + 1.16623E-4, + 1.14082E-4, + 1.12051E-4, + 1.18155E-4, + 1.16196E-4, + 1.11781E-4, + 1.16917E-4, + 1.16234E-4, + 1.18527E-4, + 1.13071E-4, + 1.31499E-4, + 1.17175E-4, + 1.14046E-4, + 1.16308E-4, + 1.14324E-4, + 1.18464E-4, + 1.12672E-4, + 1.13939E-4, + 1.50435E-4, + 1.15078E-4, + 1.16755E-4, + 1.18728E-4, + 1.13627E-4, + 1.17352E-4, + 1.12587E-4, + 1.14673E-4, + 1.17991E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 1.924638649999999E-4, + "scoreError" : 1.5392262632764065E-5, + "scoreConfidence" : [ + 1.7707160236723584E-4, + 2.0785612763276397E-4 + ], + "scorePercentiles" : { + "0.0" : 1.4645E-4, + "50.0" : 1.529845E-4, + "90.0" : 2.246841E-4, + "95.0" : 4.1552684999999904E-4, + "99.0" : 4.3108221E-4, + "99.9" : 4.33634E-4, + "99.99" : 4.33634E-4, + "99.999" : 4.33634E-4, + "99.9999" : 4.33634E-4, + "100.0" : 4.33634E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 4.33634E-4, + 4.2494E-4, + 2.24887E-4, + 2.17664E-4, + 2.20388E-4, + 2.14184E-4, + 2.14931E-4, + 2.22858E-4, + 2.21678E-4, + 2.21808E-4, + 2.1793E-4, + 2.16118E-4, + 2.15917E-4, + 2.21341E-4, + 2.20529E-4, + 2.26088E-4, + 2.76256E-4, + 1.54925E-4, + 1.51669E-4, + 1.53364E-4, + 1.50836E-4, + 1.51073E-4, + 1.56809E-4, + 1.509E-4, + 1.51181E-4, + 1.50864E-4, + 1.51891E-4, + 1.50041E-4, + 1.50731E-4, + 1.51156E-4, + 1.51047E-4, + 1.51181E-4, + 1.51164E-4, + 1.51131E-4, + 1.53064E-4, + 1.5131E-4, + 1.51829E-4, + 1.51748E-4, + 1.50999E-4, + 1.52264E-4 + ], + [ + 4.30509E-4, + 4.31088E-4, + 2.25501E-4, + 2.21115E-4, + 2.15446E-4, + 2.22444E-4, + 2.19883E-4, + 2.20315E-4, + 2.19017E-4, + 2.18239E-4, + 2.16508E-4, + 2.16767E-4, + 2.17822E-4, + 2.17029E-4, + 2.18181E-4, + 2.19814E-4, + 3.05731E-4, + 1.56433E-4, + 1.52905E-4, + 1.5405E-4, + 1.5197E-4, + 1.51511E-4, + 1.54897E-4, + 1.51703E-4, + 1.50501E-4, + 1.50879E-4, + 1.5231E-4, + 1.50466E-4, + 1.51541E-4, + 1.51388E-4, + 1.51212E-4, + 1.50856E-4, + 1.50873E-4, + 1.5003E-4, + 1.50461E-4, + 1.523E-4, + 1.52079E-4, + 1.51277E-4, + 1.87098E-4, + 1.52115E-4 + ], + [ + 4.2105E-4, + 4.27078E-4, + 2.25541E-4, + 2.20828E-4, + 2.22206E-4, + 2.12617E-4, + 2.17591E-4, + 2.17479E-4, + 2.13776E-4, + 2.17028E-4, + 2.14738E-4, + 2.13765E-4, + 2.18875E-4, + 2.18388E-4, + 2.14951E-4, + 2.12465E-4, + 3.05972E-4, + 1.57435E-4, + 1.52371E-4, + 1.54E-4, + 1.51993E-4, + 1.51339E-4, + 1.50864E-4, + 1.52379E-4, + 1.50738E-4, + 1.51849E-4, + 1.50727E-4, + 1.51006E-4, + 1.51283E-4, + 1.50373E-4, + 1.50402E-4, + 1.66798E-4, + 1.50966E-4, + 1.50851E-4, + 1.50586E-4, + 1.50145E-4, + 1.51848E-4, + 1.51597E-4, + 1.52343E-4, + 1.51509E-4 + ], + [ + 4.2028E-4, + 4.2232E-4, + 2.221E-4, + 2.18527E-4, + 2.18995E-4, + 2.15753E-4, + 2.14495E-4, + 2.18304E-4, + 2.12229E-4, + 2.17727E-4, + 2.18181E-4, + 2.14046E-4, + 2.14084E-4, + 2.20282E-4, + 2.18294E-4, + 2.20869E-4, + 3.01397E-4, + 1.58429E-4, + 1.52419E-4, + 1.54313E-4, + 1.52092E-4, + 1.51971E-4, + 1.50716E-4, + 1.50565E-4, + 1.51498E-4, + 1.50993E-4, + 1.51807E-4, + 1.50697E-4, + 1.52131E-4, + 1.5106E-4, + 1.51042E-4, + 1.51118E-4, + 1.51914E-4, + 1.5063E-4, + 1.51197E-4, + 1.50803E-4, + 1.52086E-4, + 1.52574E-4, + 1.5139E-4, + 1.51836E-4 + ], + [ + 4.199E-4, + 4.21169E-4, + 2.27449E-4, + 2.21039E-4, + 2.12186E-4, + 2.10767E-4, + 2.09048E-4, + 2.14919E-4, + 2.13261E-4, + 2.16644E-4, + 2.15155E-4, + 2.17899E-4, + 2.15935E-4, + 2.15655E-4, + 2.20665E-4, + 2.15339E-4, + 3.32437E-4, + 1.52502E-4, + 1.49326E-4, + 1.51792E-4, + 1.47731E-4, + 1.47449E-4, + 1.53314E-4, + 1.47112E-4, + 1.47034E-4, + 1.46734E-4, + 1.4794E-4, + 1.46937E-4, + 1.47104E-4, + 1.48377E-4, + 1.47364E-4, + 1.86805E-4, + 1.47278E-4, + 1.46781E-4, + 1.4645E-4, + 1.46513E-4, + 1.48468E-4, + 1.48901E-4, + 1.48329E-4, + 1.47559E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.002571081605, + "scoreError" : 0.0010528150851568773, + "scoreConfidence" : [ + 0.0015182665198431226, + 0.0036238966901568775 + ], + "scorePercentiles" : { + "0.0" : 0.001157877, + "50.0" : 0.0011908885, + "90.0" : 0.0018675251, + "95.0" : 0.0180821838, + "99.0" : 0.0184251219, + "99.9" : 0.018575664, + "99.99" : 0.018575664, + "99.999" : 0.018575664, + "99.9999" : 0.018575664, + "100.0" : 0.018575664 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001188078, + 0.001191262, + 0.001230655, + 0.001837945, + 0.001849608, + 0.018083927, + 0.001186499, + 0.001189172, + 0.001188895, + 0.001189416, + 0.001189389, + 0.01771084, + 0.001164439, + 0.001164031, + 0.001168695, + 0.001159943, + 0.001165228, + 0.001169185, + 0.001777501, + 0.001811485, + 0.001808443, + 0.001837083, + 0.001793541, + 0.018425185, + 0.001165735, + 0.001164132, + 0.001172833, + 0.001166353, + 0.001169515, + 0.001167233, + 0.001165456, + 0.001209669, + 0.001170588, + 0.001167185, + 0.00120385, + 0.001168708, + 0.001175402, + 0.001167981, + 0.001170859, + 0.001197912 + ], + [ + 0.001165889, + 0.001172591, + 0.001206109, + 0.001833887, + 0.001867653, + 0.018339798, + 0.001167368, + 0.001166535, + 0.001167409, + 0.001165948, + 0.001161205, + 0.018201594, + 0.001164472, + 0.001165751, + 0.001165168, + 0.001167527, + 0.001169952, + 0.001165047, + 0.001808291, + 0.001803094, + 0.001797288, + 0.001840105, + 0.001795799, + 0.018192652, + 0.001159807, + 0.001201298, + 0.00116856, + 0.001166161, + 0.001168206, + 0.001170415, + 0.001158753, + 0.001165479, + 0.001166256, + 0.001218467, + 0.001196406, + 0.001161945, + 0.001192445, + 0.00119186, + 0.001193405, + 0.001191772 + ], + [ + 0.001169327, + 0.001161232, + 0.001208152, + 0.001808193, + 0.001860676, + 0.018418875, + 0.001163875, + 0.00115817, + 0.001166192, + 0.001167505, + 0.001157877, + 0.01824885, + 0.00117062, + 0.001162399, + 0.001168353, + 0.001164236, + 0.001212095, + 0.00116488, + 0.001817892, + 0.001866374, + 0.001870828, + 0.001836517, + 0.001844997, + 0.01823695, + 0.001187311, + 0.001226774, + 0.001193187, + 0.001193558, + 0.001196195, + 0.0011864, + 0.001160859, + 0.001169405, + 0.001169073, + 0.001243814, + 0.001196924, + 0.001161564, + 0.001165597, + 0.00116375, + 0.001172462, + 0.001165386 + ], + [ + 0.001195798, + 0.001192974, + 0.001256421, + 0.001843589, + 0.001877434, + 0.018047139, + 0.001192534, + 0.001187909, + 0.001194221, + 0.001194767, + 0.001186486, + 0.01782113, + 0.001188467, + 0.001164103, + 0.001169093, + 0.001168683, + 0.001167199, + 0.001170063, + 0.001797513, + 0.001814231, + 0.001791607, + 0.001804389, + 0.001824786, + 0.018575664, + 0.001161485, + 0.001164604, + 0.001172049, + 0.001170147, + 0.001168011, + 0.001161284, + 0.001161737, + 0.001249748, + 0.001168737, + 0.001167263, + 0.001195367, + 0.001163486, + 0.001170369, + 0.001167075, + 0.001169355, + 0.001167566 + ], + [ + 0.001193088, + 0.001195988, + 0.001233901, + 0.001839296, + 0.001866032, + 0.018049063, + 0.001192319, + 0.001186831, + 0.001191494, + 0.001188183, + 0.001186944, + 0.017849051, + 0.001202051, + 0.001209072, + 0.001246946, + 0.001293249, + 0.001222799, + 0.001194139, + 0.00184582, + 0.00186113, + 0.001875978, + 0.001850583, + 0.00189348, + 0.018218331, + 0.001188109, + 0.001193858, + 0.001196885, + 0.001191407, + 0.001411511, + 0.001186684, + 0.001186729, + 0.001234516, + 0.001192172, + 0.001197548, + 0.001226317, + 0.001188741, + 0.001190515, + 0.001190242, + 0.001193323, + 0.001193966 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.018934058250000007, + "scoreError" : 0.007464157084038221, + "scoreConfidence" : [ + 0.011469901165961787, + 0.026398215334038227 + ], + "scorePercentiles" : { + "0.0" : 0.010043578, + "50.0" : 0.0105508255, + "90.0" : 0.0117502443, + "95.0" : 0.13731859759999998, + "99.0" : 0.14130487378, + "99.9" : 0.143638802, + "99.99" : 0.143638802, + "99.999" : 0.143638802, + "99.9999" : 0.143638802, + "100.0" : 0.143638802 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.010890662, + 0.140151972, + 0.010657398, + 0.011262281, + 0.010181611, + 0.010309932, + 0.010883881, + 0.011285999, + 0.010169471, + 0.010443645, + 0.139052778, + 0.010695463, + 0.010379092, + 0.011118059, + 0.010507199, + 0.010121987, + 0.010501209, + 0.010243036, + 0.010517823, + 0.010369009, + 0.010513457, + 0.010043578, + 0.010339599, + 0.010442173, + 0.010432139, + 0.010443254, + 0.010272965, + 0.01046462, + 0.010170369, + 0.010635188, + 0.133373539, + 0.010627301, + 0.010526895, + 0.010356594, + 0.010402861, + 0.010064688, + 0.010460305, + 0.010449581, + 0.010669285, + 0.010318169 + ], + [ + 0.010843633, + 0.139680795, + 0.010593333, + 0.010091995, + 0.010338562, + 0.011112462, + 0.010848374, + 0.010989673, + 0.010338104, + 0.01060677, + 0.14097142, + 0.01086922, + 0.010596168, + 0.010346098, + 0.010397119, + 0.010288422, + 0.010306609, + 0.010394416, + 0.01061827, + 0.010341051, + 0.010848969, + 0.132194412, + 0.010614742, + 0.010517957, + 0.010272304, + 0.010368477, + 0.010099045, + 0.010620146, + 0.010552433, + 0.010346289, + 0.010692158, + 0.010825035, + 0.010504801, + 0.010534912, + 0.010086298, + 0.010508138, + 0.01012584, + 0.010338709, + 0.010324335, + 0.010589123 + ], + [ + 0.011099876, + 0.141308242, + 0.011918732, + 0.010611027, + 0.010669855, + 0.010947354, + 0.010988497, + 0.01102686, + 0.010172363, + 0.0108023, + 0.143638802, + 0.010511751, + 0.010653828, + 0.010368099, + 0.010554757, + 0.01034625, + 0.010568067, + 0.010867928, + 0.010486898, + 0.01055273, + 0.010423856, + 0.13615579, + 0.010352563, + 0.010378211, + 0.010476463, + 0.010666208, + 0.01018948, + 0.010556796, + 0.010626531, + 0.010496947, + 0.01036796, + 0.0104094, + 0.010377237, + 0.010280531, + 0.010360107, + 0.010543471, + 0.011018736, + 0.010303659, + 0.010500283, + 0.010408966 + ], + [ + 0.010859257, + 0.139214631, + 0.010678422, + 0.010543896, + 0.010844033, + 0.011214235, + 0.010839694, + 0.010531584, + 0.010327768, + 0.010720826, + 0.13843499, + 0.010478928, + 0.010489273, + 0.010208301, + 0.010552355, + 0.010370722, + 0.010446921, + 0.01040147, + 0.010625456, + 0.011753154, + 0.014000535, + 0.137379798, + 0.011377838, + 0.010891303, + 0.011099745, + 0.010406588, + 0.010599419, + 0.010412704, + 0.010723655, + 0.010551619, + 0.010718734, + 0.01038377, + 0.011139392, + 0.011724057, + 0.012163269, + 0.010931401, + 0.012143749, + 0.012532155, + 0.010166564, + 0.012323542 + ], + [ + 0.010849279, + 0.010812317, + 0.010602696, + 0.010371685, + 0.010468987, + 0.010635896, + 0.010897843, + 0.010550032, + 0.010604142, + 0.010489492, + 0.010391517, + 0.010685929, + 0.010514689, + 0.010682262, + 0.13829516, + 0.010594125, + 0.010476497, + 0.010255843, + 0.010603466, + 0.01064522, + 0.010520216, + 0.010617019, + 0.010488072, + 0.010939101, + 0.010710177, + 0.010400433, + 0.010795933, + 0.010459709, + 0.010554849, + 0.010279635, + 0.010491318, + 0.010431794, + 0.010343304, + 0.010881872, + 0.010554362, + 0.010591141, + 0.01040035, + 0.010429605, + 0.01042451, + 0.010592325 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.9052169500000002E-4, + "scoreError" : 2.7547829291905938E-5, + "scoreConfidence" : [ + 1.629738657080941E-4, + 2.1806952429190594E-4 + ], + "scorePercentiles" : { + "0.0" : 5.3141E-5, + "50.0" : 2.11595E-4, + "90.0" : 3.72638E-4, + "95.0" : 3.766676E-4, + "99.0" : 3.8457736E-4, + "99.9" : 3.85111E-4, + "99.99" : 3.85111E-4, + "99.999" : 3.85111E-4, + "99.9999" : 3.85111E-4, + "100.0" : 3.85111E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 3.60746E-4, + 3.67177E-4, + 3.67358E-4, + 3.7108E-4, + 3.71896E-4, + 3.74889E-4, + 3.66121E-4, + 3.74577E-4, + 2.66106E-4, + 2.39226E-4, + 2.32587E-4, + 2.09297E-4, + 2.06759E-4, + 2.09003E-4, + 2.11583E-4, + 2.23038E-4, + 2.12274E-4, + 2.11821E-4, + 2.09513E-4, + 2.09596E-4, + 2.10205E-4, + 2.12298E-4, + 2.14582E-4, + 2.0699E-4, + 2.12983E-4, + 2.07753E-4, + 5.3141E-5, + 6.1188E-5, + 5.8461E-5, + 5.7467E-5, + 5.8146E-5, + 5.9758E-5, + 1.01072E-4, + 5.8105E-5, + 6.2723E-5, + 6.0051E-5, + 6.1328E-5, + 5.3637E-5, + 5.4863E-5, + 5.5791E-5 + ], + [ + 3.65172E-4, + 3.67335E-4, + 3.6833E-4, + 3.6609E-4, + 3.7262E-4, + 3.71512E-4, + 3.64787E-4, + 3.77097E-4, + 2.54396E-4, + 2.38001E-4, + 2.38525E-4, + 2.15279E-4, + 2.13404E-4, + 2.14338E-4, + 2.09323E-4, + 2.21139E-4, + 2.14328E-4, + 2.12972E-4, + 2.16617E-4, + 2.13395E-4, + 2.1268E-4, + 2.09735E-4, + 2.08471E-4, + 2.09817E-4, + 2.13448E-4, + 5.8257E-5, + 5.5265E-5, + 5.9269E-5, + 5.7324E-5, + 7.15E-5, + 5.593E-5, + 5.5758E-5, + 6.2807E-5, + 5.5827E-5, + 5.4885E-5, + 5.6901E-5, + 5.7377E-5, + 5.8372E-5, + 5.6279E-5, + 5.5838E-5 + ], + [ + 3.79694E-4, + 3.85111E-4, + 3.81636E-4, + 3.76735E-4, + 3.76065E-4, + 3.77756E-4, + 3.76009E-4, + 3.82732E-4, + 2.6535E-4, + 2.43337E-4, + 2.40984E-4, + 2.1817E-4, + 2.22207E-4, + 2.16119E-4, + 2.14129E-4, + 2.28595E-4, + 2.14333E-4, + 2.17067E-4, + 2.17253E-4, + 2.17719E-4, + 2.26893E-4, + 2.1363E-4, + 2.14247E-4, + 2.21815E-4, + 2.18884E-4, + 5.7994E-5, + 6.0388E-5, + 5.9324E-5, + 5.6329E-5, + 5.7763E-5, + 5.5829E-5, + 5.7771E-5, + 5.7835E-5, + 5.9872E-5, + 5.565E-5, + 5.6268E-5, + 5.4287E-5, + 5.5521E-5, + 5.5479E-5, + 5.7642E-5 + ], + [ + 3.72588E-4, + 3.68375E-4, + 3.66744E-4, + 3.75528E-4, + 3.76451E-4, + 3.75938E-4, + 3.68161E-4, + 3.84596E-4, + 2.58794E-4, + 2.4048E-4, + 2.35542E-4, + 2.16133E-4, + 2.107E-4, + 2.12586E-4, + 2.08138E-4, + 2.24001E-4, + 2.08348E-4, + 2.0789E-4, + 2.11577E-4, + 2.17214E-4, + 2.13768E-4, + 2.17073E-4, + 2.12514E-4, + 2.10956E-4, + 2.14312E-4, + 5.689E-5, + 6.1772E-5, + 6.0345E-5, + 5.5863E-5, + 5.4377E-5, + 5.4461E-5, + 5.6986E-5, + 5.433E-5, + 5.441E-5, + 5.9089E-5, + 6.2678E-5, + 5.6693E-5, + 5.6323E-5, + 5.7283E-5, + 6.1755E-5 + ], + [ + 3.67905E-4, + 3.77365E-4, + 3.68683E-4, + 3.76489E-4, + 3.7264E-4, + 3.69392E-4, + 3.74516E-4, + 3.76677E-4, + 2.54456E-4, + 2.36135E-4, + 2.36032E-4, + 2.08606E-4, + 2.07682E-4, + 2.11607E-4, + 2.11419E-4, + 2.17608E-4, + 2.15595E-4, + 2.10668E-4, + 2.16198E-4, + 2.18802E-4, + 2.1289E-4, + 2.12323E-4, + 2.0961E-4, + 2.08193E-4, + 2.09313E-4, + 5.3953E-5, + 5.6015E-5, + 5.5414E-5, + 6.1445E-5, + 6.3981E-5, + 5.4364E-5, + 7.7555E-5, + 5.4628E-5, + 6.0446E-5, + 6.0762E-5, + 5.7906E-5, + 5.6569E-5, + 5.6267E-5, + 6.5496E-5, + 5.7061E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 7.919515550000008E-4, + "scoreError" : 6.223901722385885E-4, + "scoreConfidence" : [ + 1.6956138276141223E-4, + 0.0014143417272385892 + ], + "scorePercentiles" : { + "0.0" : 2.37854E-4, + "50.0" : 2.578155E-4, + "90.0" : 5.924103E-4, + "95.0" : 6.104163499999999E-4, + "99.0" : 0.017180825309999998, + "99.9" : 0.017547936, + "99.99" : 0.017547936, + "99.999" : 0.017547936, + "99.9999" : 0.017547936, + "100.0" : 0.017547936 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 5.79169E-4, + 5.73815E-4, + 5.74743E-4, + 5.71308E-4, + 3.33532E-4, + 2.95759E-4, + 2.42035E-4, + 2.59563E-4, + 2.39029E-4, + 2.55591E-4, + 2.43074E-4, + 2.3994E-4, + 2.42381E-4, + 2.55361E-4, + 2.42967E-4, + 2.42919E-4, + 0.017181289, + 2.45332E-4, + 2.38902E-4, + 2.41059E-4, + 2.54968E-4, + 3.35883E-4, + 2.44177E-4, + 2.42874E-4, + 2.40738E-4, + 2.56167E-4, + 2.46552E-4, + 2.44013E-4, + 2.41284E-4, + 2.38142E-4, + 3.32196E-4, + 5.8856E-4, + 5.79742E-4, + 5.77785E-4, + 5.72692E-4, + 5.84772E-4, + 5.91827E-4, + 5.97253E-4, + 5.78537E-4, + 5.81585E-4 + ], + [ + 5.84676E-4, + 5.83998E-4, + 5.82069E-4, + 5.91896E-4, + 3.35313E-4, + 3.15796E-4, + 2.54385E-4, + 2.56324E-4, + 2.52793E-4, + 2.55798E-4, + 2.38656E-4, + 2.4034E-4, + 2.39197E-4, + 2.41397E-4, + 2.41412E-4, + 2.43419E-4, + 0.01713492, + 2.61629E-4, + 2.55213E-4, + 2.42581E-4, + 2.56337E-4, + 2.52097E-4, + 2.41571E-4, + 2.57034E-4, + 2.4335E-4, + 2.62296E-4, + 2.53328E-4, + 2.45816E-4, + 2.40263E-4, + 2.44291E-4, + 3.58803E-4, + 5.94283E-4, + 6.04265E-4, + 5.73459E-4, + 6.06395E-4, + 5.8669E-4, + 5.8452E-4, + 5.88489E-4, + 5.95837E-4, + 5.93658E-4 + ], + [ + 5.81471E-4, + 5.93994E-4, + 5.63732E-4, + 5.70232E-4, + 3.61764E-4, + 3.04608E-4, + 2.40384E-4, + 2.66735E-4, + 2.38051E-4, + 2.38728E-4, + 2.39348E-4, + 2.55107E-4, + 2.5627E-4, + 2.55601E-4, + 2.42375E-4, + 4.73984E-4, + 0.016920146, + 2.48704E-4, + 2.41457E-4, + 2.42302E-4, + 2.43827E-4, + 2.57123E-4, + 3.71763E-4, + 2.43448E-4, + 2.42364E-4, + 2.58412E-4, + 2.49123E-4, + 2.44912E-4, + 2.41301E-4, + 2.44236E-4, + 3.53793E-4, + 5.82392E-4, + 5.79367E-4, + 5.91198E-4, + 5.81489E-4, + 5.75985E-4, + 5.89827E-4, + 5.82444E-4, + 5.66644E-4, + 5.95509E-4 + ], + [ + 5.87964E-4, + 5.77984E-4, + 5.64089E-4, + 5.76472E-4, + 4.62947E-4, + 2.77819E-4, + 2.52479E-4, + 2.56731E-4, + 2.38743E-4, + 2.54736E-4, + 2.39741E-4, + 2.51926E-4, + 2.52343E-4, + 2.54767E-4, + 2.40669E-4, + 2.38177E-4, + 0.017547936, + 2.78466E-4, + 2.54636E-4, + 2.57932E-4, + 2.40724E-4, + 2.6469E-4, + 2.57699E-4, + 2.38805E-4, + 2.55282E-4, + 2.39216E-4, + 2.4741E-4, + 2.54897E-4, + 2.4191E-4, + 2.55574E-4, + 5.65289E-4, + 5.8754E-4, + 5.65922E-4, + 5.78222E-4, + 5.65458E-4, + 5.81047E-4, + 5.72746E-4, + 5.73491E-4, + 5.67877E-4, + 5.80498E-4 + ], + [ + 6.10628E-4, + 6.35885E-4, + 6.11403E-4, + 6.25235E-4, + 2.87257E-4, + 2.93135E-4, + 2.41625E-4, + 2.4161E-4, + 2.39815E-4, + 2.41357E-4, + 2.40968E-4, + 2.3845E-4, + 2.56148E-4, + 2.55064E-4, + 2.42472E-4, + 2.4123E-4, + 0.017106261, + 2.63859E-4, + 2.56698E-4, + 2.57478E-4, + 2.4088E-4, + 2.4218E-4, + 2.54247E-4, + 2.56916E-4, + 2.54826E-4, + 4.79977E-4, + 2.70194E-4, + 2.60027E-4, + 2.37854E-4, + 2.56355E-4, + 3.48245E-4, + 6.12313E-4, + 5.9344E-4, + 5.87812E-4, + 5.87461E-4, + 5.81146E-4, + 5.92457E-4, + 5.90151E-4, + 5.72149E-4, + 5.9199E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.004144344479999999, + "scoreError" : 0.003119424338248426, + "scoreConfidence" : [ + 0.001024920141751573, + 0.007263768818248426 + ], + "scorePercentiles" : { + "0.0" : 0.002206665, + "50.0" : 0.0026110465, + "90.0" : 0.0057495673, + "95.0" : 0.0065984667999999976, + "99.0" : 0.00742134581, + "99.9" : 0.18900029, + "99.99" : 0.18900029, + "99.999" : 0.18900029, + "99.9999" : 0.18900029, + "100.0" : 0.18900029 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.002262267, + 0.002628417, + 0.003681065, + 0.002385086, + 0.002244276, + 0.005750807, + 0.004345829, + 0.002275, + 0.002351713, + 0.002314392, + 0.00455161, + 0.005653723, + 0.002643549, + 0.002704678, + 0.00262816, + 0.002645288, + 0.00282946, + 0.006270428, + 0.007127719, + 0.003227388, + 0.002206788, + 0.00234738, + 0.002216778, + 0.002348509, + 0.002625198, + 0.002213632, + 0.004256462, + 0.002341972, + 0.002244304, + 0.002375673, + 0.002211398, + 0.002450263, + 0.002269248, + 0.002320633, + 0.004662205, + 0.00596484, + 0.002397389, + 0.003898681, + 0.00393618, + 0.002358217 + ], + [ + 0.002466753, + 0.002493581, + 0.003173184, + 0.002389774, + 0.002376692, + 0.00576197, + 0.00385513, + 0.002400971, + 0.00248342, + 0.00226452, + 0.003558733, + 0.005521726, + 0.002740647, + 0.00286486, + 0.002630601, + 0.002636529, + 0.002513481, + 0.005552421, + 0.006119326, + 0.00355021, + 0.002215302, + 0.002223889, + 0.002220301, + 0.002442276, + 0.002612322, + 0.002372783, + 0.004189212, + 0.002383294, + 0.002223949, + 0.002248344, + 0.002256294, + 0.002570282, + 0.002394303, + 0.002276744, + 0.003193541, + 0.006123177, + 0.002639965, + 0.003015564, + 0.004137371, + 0.002216958 + ], + [ + 0.002273392, + 0.002631759, + 0.003266557, + 0.002346596, + 0.002282935, + 0.005474676, + 0.003882156, + 0.002291541, + 0.002440547, + 0.00229346, + 0.002970206, + 0.004135194, + 0.002372888, + 0.002219801, + 0.002218448, + 0.002464727, + 0.002545079, + 0.00573841, + 0.007405289, + 0.004735203, + 0.002593267, + 0.002625808, + 0.002656078, + 0.002666458, + 0.002567444, + 0.002506541, + 0.004097112, + 0.002387042, + 0.002213812, + 0.002370082, + 0.002362104, + 0.00259431, + 0.002369572, + 0.002407316, + 0.002431526, + 0.006379336, + 0.002797721, + 0.002938148, + 0.007344875, + 0.002394328 + ], + [ + 0.002501285, + 0.002310605, + 0.003683124, + 0.002287606, + 0.002222295, + 0.005771337, + 0.003612682, + 0.002506957, + 0.00241991, + 0.002326161, + 0.002698688, + 0.18900029, + 0.002234404, + 0.002360535, + 0.00232246, + 0.002259736, + 0.002477597, + 0.005676528, + 0.00661, + 0.004600242, + 0.002561841, + 0.002801411, + 0.002642838, + 0.002528224, + 0.002561247, + 0.002297108, + 0.004165432, + 0.002385132, + 0.002206665, + 0.002381108, + 0.002986947, + 0.002822636, + 0.002534991, + 0.002634864, + 0.002550625, + 0.005710169, + 0.003011942, + 0.006866306, + 0.007123112, + 0.00245847 + ], + [ + 0.002474574, + 0.002526883, + 0.00328726, + 0.002251801, + 0.002328413, + 0.006028199, + 0.003674762, + 0.00242738, + 0.002266154, + 0.002583256, + 0.002928467, + 0.005442842, + 0.002788584, + 0.002690464, + 0.002651459, + 0.002805371, + 0.002735269, + 0.007319739, + 0.007421508, + 0.004590612, + 0.002733468, + 0.002824289, + 0.002625477, + 0.002569264, + 0.002650283, + 0.002452617, + 0.005445862, + 0.002612008, + 0.002675603, + 0.002832361, + 0.002843605, + 0.002610085, + 0.002500805, + 0.002386464, + 0.002384479, + 0.005878867, + 0.0030155, + 0.003474235, + 0.007292458, + 0.00255591 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.460003780135, + "scoreError" : 0.2372513992373334, + "scoreConfidence" : [ + 0.22275238089766658, + 0.6972551793723334 + ], + "scorePercentiles" : { + "0.0" : 0.023200632, + "50.0" : 0.0260964485, + "90.0" : 1.7662338435, + "95.0" : 2.4836163858499996, + "99.0" : 4.856327799870003, + "99.9" : 5.014103322, + "99.99" : 5.014103322, + "99.999" : 5.014103322, + "99.9999" : 5.014103322, + "100.0" : 5.014103322 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.025135005, + 0.033465488, + 0.024857311, + 0.02492689, + 0.034385502, + 0.025003503, + 1.364798848, + 2.338667653, + 1.735159095, + 0.027108967, + 0.026209806, + 0.024536683, + 0.024917452, + 0.033903174, + 0.023797908, + 0.025002536, + 0.029124043, + 4.052022169, + 1.592580669, + 0.023942734, + 0.025283336, + 0.027176785, + 0.0249701, + 0.024309351, + 0.025077728, + 0.034659918, + 0.026362051, + 0.02448573, + 1.416744514, + 2.450618881, + 1.761972492, + 0.026288805, + 0.025001047, + 0.030125583, + 0.02488333, + 0.023717047, + 0.024042201, + 0.031057362, + 0.024267377, + 4.17186011 + ], + [ + 0.037861315, + 0.02526194, + 0.025940166, + 0.030071024, + 0.024820272, + 0.024433422, + 0.031624083, + 0.025228023, + 1.303062954, + 2.290713074, + 1.655305723, + 0.025344335, + 0.025724, + 0.02496371, + 0.02686097, + 0.032778189, + 0.023627056, + 0.024888355, + 0.029996588, + 0.024999779, + 4.441392057, + 1.663619313, + 0.023768381, + 0.026909655, + 0.028853253, + 0.025178453, + 0.023666705, + 0.026230357, + 0.032626488, + 0.024551603, + 3.868308562, + 1.569222713, + 1.666615424, + 0.024693246, + 0.023756954, + 0.025680779, + 0.02981733, + 0.024812304, + 0.023598908, + 0.024929314 + ], + [ + 0.038293636, + 0.023200632, + 0.024991227, + 0.032851745, + 0.026013211, + 0.024976407, + 0.032808954, + 0.024776518, + 0.025137443, + 2.142189244, + 5.014103322, + 0.028812147, + 0.024531851, + 0.024995596, + 0.031077829, + 0.024960899, + 0.024089807, + 0.032668975, + 0.024937861, + 0.025581829, + 1.5691347, + 2.554014967, + 0.026121495, + 0.024486979, + 0.024116193, + 0.023567849, + 0.024909399, + 0.03541515, + 0.024166147, + 0.025375051, + 0.025114686, + 2.08411544, + 2.473512449, + 0.024736377, + 0.02746773, + 0.025497245, + 0.023840137, + 0.024800958, + 0.033905253, + 0.027147702 + ], + [ + 0.042132738, + 0.026071402, + 0.027115027, + 0.031885224, + 0.024000123, + 0.024889513, + 0.031348771, + 0.025085403, + 1.281877909, + 2.231596079, + 1.689872643, + 0.02531562, + 0.026682022, + 0.023922738, + 0.024917184, + 0.033886562, + 0.024593199, + 0.024864707, + 0.029376442, + 1.804205775, + 3.84911276, + 1.703671453, + 0.023985019, + 0.027145049, + 0.028780904, + 0.023621643, + 0.024308906, + 0.025239984, + 0.032758891, + 0.025493383, + 0.024220569, + 1.530824265, + 1.657561004, + 0.024006061, + 0.02624767, + 0.02682613, + 0.032415213, + 0.024269372, + 0.024731897, + 0.025154065 + ], + [ + 0.037693408, + 0.027188227, + 0.025582912, + 0.03157872, + 0.023648565, + 0.025133045, + 0.031864789, + 0.026530352, + 0.024773714, + 2.116632792, + 4.86051907, + 0.027911705, + 0.024139274, + 0.025434202, + 0.029711926, + 0.026188593, + 0.025419472, + 0.032057549, + 0.024120565, + 0.024937626, + 1.490264903, + 2.484148172, + 1.766707327, + 0.027162333, + 0.027033083, + 0.024470158, + 0.023684642, + 0.024909488, + 0.038947022, + 0.024302864, + 0.025002225, + 1.498058832, + 2.495217078, + 0.02619442, + 0.025033964, + 0.029717561, + 0.025233283, + 0.024412055, + 0.025141582, + 0.033404209 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults.txt b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults.txt new file mode 100644 index 0000000000000000000000000000000000000000..39026135d2d4f218e985932a81e4ad92d9aa20b5 --- /dev/null +++ b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults.txt @@ -0,0 +1,33 @@ +[info] Benchmark (collection) (size) Mode Cnt Score Error Units +[info] CollectionBenchmark.drop Vector 10000 ss 200 ≈ 10â»âµ s/op +[info] CollectionBenchmark.drop Vector 100000 ss 200 ≈ 10â»âµ s/op +[info] CollectionBenchmark.drop Vector 1000000 ss 200 ≈ 10â»âµ s/op +[info] CollectionBenchmark.drop Vector 10000000 ss 200 ≈ 10â»âµ s/op +[info] CollectionBenchmark.drop Array 10000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.drop Array 100000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.drop Array 1000000 ss 200 0.003 ± 0.001 s/op +[info] CollectionBenchmark.drop Array 10000000 ss 200 0.019 ± 0.002 s/op +[info] CollectionBenchmark.drop ArrayBuffer 10000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.drop ArrayBuffer 100000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.drop ArrayBuffer 1000000 ss 200 0.002 ± 0.001 s/op +[info] CollectionBenchmark.drop ArrayBuffer 10000000 ss 200 0.017 ± 0.007 s/op +[info] CollectionBenchmark.drop List 10000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.drop List 100000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.drop List 1000000 ss 200 0.002 ± 0.001 s/op +[info] CollectionBenchmark.drop List 10000000 ss 200 0.024 ± 0.001 s/op +[info] CollectionBenchmark.take Vector 10000 ss 200 ≈ 10â»âµ s/op +[info] CollectionBenchmark.take Vector 100000 ss 200 ≈ 10â»âµ s/op +[info] CollectionBenchmark.take Vector 1000000 ss 200 ≈ 10â»âµ s/op +[info] CollectionBenchmark.take Vector 10000000 ss 200 ≈ 10â»âµ s/op +[info] CollectionBenchmark.take Array 10000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.take Array 100000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.take Array 1000000 ss 200 0.003 ± 0.001 s/op +[info] CollectionBenchmark.take Array 10000000 ss 200 0.018 ± 0.002 s/op +[info] CollectionBenchmark.take ArrayBuffer 10000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.take ArrayBuffer 100000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.take ArrayBuffer 1000000 ss 200 0.003 ± 0.001 s/op +[info] CollectionBenchmark.take ArrayBuffer 10000000 ss 200 0.019 ± 0.007 s/op +[info] CollectionBenchmark.take List 10000 ss 200 ≈ 10â»â´ s/op +[info] CollectionBenchmark.take List 100000 ss 200 0.001 ± 0.001 s/op +[info] CollectionBenchmark.take List 1000000 ss 200 0.004 ± 0.003 s/op +[info] CollectionBenchmark.take List 10000000 ss 200 0.460 ± 0.237 s/op diff --git a/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_drop.json b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_drop.json new file mode 100644 index 0000000000000000000000000000000000000000..92c013f9bf9332ac24618b3b15947caa44259ea4 --- /dev/null +++ b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_drop.json @@ -0,0 +1,4132 @@ +[ + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 9.52124E-6, + "scoreError" : 4.75693155604712E-7, + "scoreConfidence" : [ + 9.04554684439529E-6, + 9.996933155604712E-6 + ], + "scorePercentiles" : { + "0.0" : 6.392E-6, + "50.0" : 9.1705E-6, + "90.0" : 1.15963E-5, + "95.0" : 1.2772349999999998E-5, + "99.0" : 1.570258E-5, + "99.9" : 2.3767E-5, + "99.99" : 2.3767E-5, + "99.999" : 2.3767E-5, + "99.9999" : 2.3767E-5, + "100.0" : 2.3767E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.3054E-5, + 1.1318E-5, + 1.1598E-5, + 1.0372E-5, + 1.4158E-5, + 1.239E-5, + 1.1564E-5, + 1.1317E-5, + 1.1174E-5, + 1.0574E-5, + 1.1772E-5, + 1.1135E-5, + 1.1614E-5, + 1.2782E-5, + 1.1541E-5, + 1.0783E-5, + 1.0465E-5, + 1.5661E-5, + 1.1037E-5, + 1.0981E-5, + 1.2782E-5, + 1.0636E-5, + 1.2589E-5, + 1.017E-5, + 9.445E-6, + 9.215E-6, + 9.908E-6, + 8.713E-6, + 8.059E-6, + 8.073E-6, + 7.85E-6, + 7.778E-6, + 8.741E-6, + 1.0966E-5, + 8.766E-6, + 7.809E-6, + 8.891E-6, + 1.1935E-5, + 8.945E-6, + 8.239E-6 + ], + [ + 1.2019E-5, + 1.0365E-5, + 1.0897E-5, + 1.0394E-5, + 1.0088E-5, + 1.0766E-5, + 1.0752E-5, + 1.0332E-5, + 1.1344E-5, + 1.0225E-5, + 1.0969E-5, + 1.1254E-5, + 1.0684E-5, + 1.0766E-5, + 1.291E-5, + 9.842E-6, + 1.0311E-5, + 1.5703E-5, + 1.0058E-5, + 9.582E-6, + 1.1525E-5, + 9.052E-6, + 8.89E-6, + 1.081E-5, + 8.859E-6, + 1.05E-5, + 9.651E-6, + 7.777E-6, + 7.331E-6, + 8.23E-6, + 7.908E-6, + 8.341E-6, + 8.63E-6, + 8.275E-6, + 9.55E-6, + 8.395E-6, + 8.499E-6, + 1.2254E-5, + 7.798E-6, + 8.514E-6 + ], + [ + 9.93E-6, + 1.0113E-5, + 9.133E-6, + 9.49E-6, + 8.946E-6, + 1.1474E-5, + 9.196E-6, + 9.428E-6, + 8.952E-6, + 8.389E-6, + 9.304E-6, + 9.877E-6, + 9.181E-6, + 8.739E-6, + 1.113E-5, + 8.816E-6, + 8.981E-6, + 1.3894E-5, + 8.781E-6, + 8.725E-6, + 1.0912E-5, + 7.88E-6, + 9.389E-6, + 9.939E-6, + 8.142E-6, + 8.113E-6, + 8.033E-6, + 7.261E-6, + 6.484E-6, + 6.646E-6, + 6.392E-6, + 6.556E-6, + 6.396E-6, + 7.767E-6, + 9.403E-6, + 7.771E-6, + 7.841E-6, + 1.1258E-5, + 7.149E-6, + 7.789E-6 + ], + [ + 1.1581E-5, + 1.0122E-5, + 9.561E-6, + 9.67E-6, + 1.124E-5, + 9.248E-6, + 9.496E-6, + 9.191E-6, + 8.541E-6, + 8.252E-6, + 8.918E-6, + 9.422E-6, + 9.919E-6, + 1.1713E-5, + 9.335E-6, + 8.968E-6, + 9.754E-6, + 1.298E-5, + 1.0346E-5, + 9.16E-6, + 1.2202E-5, + 8.557E-6, + 1.1102E-5, + 9.505E-6, + 9.211E-6, + 8.307E-6, + 7.795E-6, + 7.46E-6, + 7.291E-6, + 7.867E-6, + 7.922E-6, + 7.444E-6, + 6.652E-6, + 9.276E-6, + 6.964E-6, + 6.895E-6, + 8.144E-6, + 1.1163E-5, + 7.135E-6, + 8.1E-6 + ], + [ + 1.1132E-5, + 9.059E-6, + 9.094E-6, + 8.96E-6, + 1.1023E-5, + 9.153E-6, + 8.813E-6, + 8.768E-6, + 9.004E-6, + 8.685E-6, + 8.638E-6, + 9.696E-6, + 9.098E-6, + 1.0794E-5, + 9.034E-6, + 9.098E-6, + 8.638E-6, + 2.3767E-5, + 8.245E-6, + 8.031E-6, + 1.131E-5, + 9.129E-6, + 9.896E-6, + 7.941E-6, + 8.402E-6, + 7.52E-6, + 7.474E-6, + 7.865E-6, + 7.048E-6, + 7.877E-6, + 6.861E-6, + 6.671E-6, + 6.64E-6, + 8.652E-6, + 6.625E-6, + 6.687E-6, + 8.011E-6, + 1.1579E-5, + 7.509E-6, + 6.962E-6 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 1.0312219999999994E-5, + "scoreError" : 8.267534493701422E-7, + "scoreConfidence" : [ + 9.485466550629852E-6, + 1.1138973449370136E-5 + ], + "scorePercentiles" : { + "0.0" : 6.958E-6, + "50.0" : 9.676999999999999E-6, + "90.0" : 1.27767E-5, + "95.0" : 1.4859149999999996E-5, + "99.0" : 3.110289000000002E-5, + "99.9" : 3.6256E-5, + "99.99" : 3.6256E-5, + "99.999" : 3.6256E-5, + "99.9999" : 3.6256E-5, + "100.0" : 3.6256E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.1513E-5, + 1.158E-5, + 1.2738E-5, + 1.1324E-5, + 1.1024E-5, + 1.0314E-5, + 1.2049E-5, + 9.994E-6, + 9.77E-6, + 9.718E-6, + 1.2072E-5, + 9.869E-6, + 9.583E-6, + 1.1593E-5, + 1.0687E-5, + 8.549E-6, + 1.1297E-5, + 1.6101E-5, + 9.475E-6, + 8.494E-6, + 8.142E-6, + 8.801E-6, + 8.547E-6, + 8.249E-6, + 8.666E-6, + 8.036E-6, + 1.1453E-5, + 8.74E-6, + 8.449E-6, + 7.813E-6, + 7.979E-6, + 1.4672E-5, + 8.504E-6, + 1.3733E-5, + 8.458E-6, + 7.188E-6, + 8.136E-6, + 1.2424E-5, + 8.008E-6, + 7.866E-6 + ], + [ + 1.1663E-5, + 9.914E-6, + 1.0249E-5, + 1.0391E-5, + 1.2078E-5, + 1.074E-5, + 1.0071E-5, + 1.0131E-5, + 1.2167E-5, + 9.196E-6, + 9.637E-6, + 9.445E-6, + 9.605E-6, + 1.1862E-5, + 9.556E-6, + 9.472E-6, + 1.0887E-5, + 1.6005E-5, + 9.181E-6, + 8.589E-6, + 8.429E-6, + 9.964E-6, + 8.366E-6, + 8.465E-6, + 8.281E-6, + 8.489E-6, + 1.2274E-5, + 8.272E-6, + 8.242E-6, + 7.993E-6, + 8.726E-6, + 1.7282E-5, + 1.4266E-5, + 8.111E-6, + 8.074E-6, + 8.501E-6, + 8.327E-6, + 1.2781E-5, + 8.046E-6, + 7.205E-6 + ], + [ + 1.0594E-5, + 1.0602E-5, + 1.1151E-5, + 1.0725E-5, + 1.0226E-5, + 9.848E-6, + 1.0273E-5, + 1.0781E-5, + 1.01E-5, + 9.737E-6, + 9.896E-6, + 1.0044E-5, + 9.563E-6, + 1.271E-5, + 1.0142E-5, + 8.452E-6, + 9.93E-6, + 3.1127E-5, + 2.4219E-5, + 8.514E-6, + 8.502E-6, + 8.434E-6, + 8.297E-6, + 8.676E-6, + 7.741E-6, + 8.407E-6, + 1.2601E-5, + 8.245E-6, + 7.77E-6, + 8.205E-6, + 7.714E-6, + 3.6256E-5, + 8.23E-6, + 1.3686E-5, + 8.171E-6, + 6.958E-6, + 8.304E-6, + 1.2727E-5, + 7.706E-6, + 7.684E-6 + ], + [ + 1.187E-5, + 1.1117E-5, + 1.0839E-5, + 1.0092E-5, + 1.0298E-5, + 1.0152E-5, + 1.0277E-5, + 9.636E-6, + 9.725E-6, + 1.0413E-5, + 1.0307E-5, + 1.0587E-5, + 9.717E-6, + 1.3259E-5, + 8.652E-6, + 8.337E-6, + 1.0417E-5, + 1.4869E-5, + 1.1492E-5, + 8.532E-6, + 9.344E-6, + 8.102E-6, + 9.096E-6, + 8.569E-6, + 8.335E-6, + 8.705E-6, + 1.2063E-5, + 8.527E-6, + 8.568E-6, + 7.832E-6, + 8.408E-6, + 1.6453E-5, + 8.891E-6, + 1.3782E-5, + 8.091E-6, + 8.178E-6, + 8.611E-6, + 1.2121E-5, + 7.906E-6, + 8.007E-6 + ], + [ + 1.2209E-5, + 1.0556E-5, + 1.2835E-5, + 1.066E-5, + 1.0288E-5, + 1.0472E-5, + 1.0613E-5, + 9.825E-6, + 9.856E-6, + 1.0295E-5, + 1.0321E-5, + 1.0286E-5, + 9.548E-6, + 1.2951E-5, + 1.0239E-5, + 8.438E-6, + 1.0773E-5, + 2.8716E-5, + 1.0977E-5, + 1.0229E-5, + 8.65E-6, + 8.304E-6, + 8.027E-6, + 8.564E-6, + 8.202E-6, + 8.498E-6, + 1.2563E-5, + 8.46E-6, + 8.042E-6, + 8.353E-6, + 8.668E-6, + 1.7366E-5, + 8.231E-6, + 1.3029E-5, + 7.152E-6, + 8.245E-6, + 8.56E-6, + 1.1558E-5, + 8.062E-6, + 8.157E-6 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 1.3031209999999994E-5, + "scoreError" : 8.839573714000302E-7, + "scoreConfidence" : [ + 1.2147252628599964E-5, + 1.3915167371400024E-5 + ], + "scorePercentiles" : { + "0.0" : 8.203E-6, + "50.0" : 1.21425E-5, + "90.0" : 1.81526E-5, + "95.0" : 2.1064299999999987E-5, + "99.0" : 2.440447E-5, + "99.9" : 2.4566E-5, + "99.99" : 2.4566E-5, + "99.999" : 2.4566E-5, + "99.9999" : 2.4566E-5, + "100.0" : 2.4566E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.7701E-5, + 1.1699E-5, + 1.2014E-5, + 1.1548E-5, + 1.4038E-5, + 1.4886E-5, + 1.5881E-5, + 1.146E-5, + 1.1463E-5, + 1.1346E-5, + 1.0746E-5, + 1.0914E-5, + 1.1587E-5, + 1.8863E-5, + 1.1978E-5, + 1.0185E-5, + 1.1309E-5, + 9.262E-6, + 9.124E-6, + 9.331E-6, + 1.2438E-5, + 1.4078E-5, + 1.3865E-5, + 1.4558E-5, + 1.3723E-5, + 1.4404E-5, + 2.3557E-5, + 1.0411E-5, + 9.361E-6, + 9.998E-6, + 9.784E-6, + 1.6717E-5, + 1.5624E-5, + 9.708E-6, + 8.536E-6, + 9.959E-6, + 8.962E-6, + 1.428E-5, + 9.007E-6, + 1.5873E-5 + ], + [ + 1.8041E-5, + 1.2819E-5, + 1.1652E-5, + 1.1744E-5, + 1.4823E-5, + 1.4952E-5, + 1.6583E-5, + 1.2186E-5, + 1.1793E-5, + 1.1364E-5, + 2.0044E-5, + 9.636E-6, + 9.083E-6, + 2.1821E-5, + 1.1991E-5, + 2.1118E-5, + 1.9486E-5, + 1.1048E-5, + 1.0744E-5, + 9.471E-6, + 1.1353E-5, + 1.4114E-5, + 1.3409E-5, + 1.4314E-5, + 1.4267E-5, + 1.4798E-5, + 2.3343E-5, + 1.0669E-5, + 9.136E-6, + 9.09E-6, + 9.017E-6, + 1.588E-5, + 1.5669E-5, + 9.315E-6, + 8.34E-6, + 8.93E-6, + 8.685E-6, + 1.3809E-5, + 8.203E-6, + 1.5728E-5 + ], + [ + 1.845E-5, + 1.2526E-5, + 1.2513E-5, + 1.2933E-5, + 1.5615E-5, + 1.5752E-5, + 1.6849E-5, + 1.2718E-5, + 1.3193E-5, + 1.2676E-5, + 1.9199E-5, + 1.1066E-5, + 8.987E-6, + 2.1134E-5, + 1.2154E-5, + 8.878E-6, + 1.2427E-5, + 9.599E-6, + 9.156E-6, + 8.953E-6, + 1.1739E-5, + 1.4886E-5, + 1.6949E-5, + 1.489E-5, + 1.4275E-5, + 1.5618E-5, + 2.4566E-5, + 1.1709E-5, + 8.981E-6, + 8.74E-6, + 1.1851E-5, + 1.9375E-5, + 1.5406E-5, + 8.727E-6, + 8.781E-6, + 8.7E-6, + 8.263E-6, + 1.4209E-5, + 8.537E-6, + 1.5678E-5 + ], + [ + 1.9232E-5, + 1.2008E-5, + 1.1993E-5, + 1.2104E-5, + 1.7975E-5, + 1.5551E-5, + 1.6566E-5, + 1.3063E-5, + 1.1643E-5, + 1.1146E-5, + 1.9735E-5, + 9.955E-6, + 9.22E-6, + 2.1364E-5, + 1.1568E-5, + 1.2322E-5, + 1.2289E-5, + 9.873E-6, + 9.347E-6, + 8.457E-6, + 9.202E-6, + 1.6277E-5, + 1.424E-5, + 1.3797E-5, + 1.3853E-5, + 1.6402E-5, + 2.4253E-5, + 1.0871E-5, + 1.034E-5, + 1.0604E-5, + 9.664E-6, + 1.7323E-5, + 1.588E-5, + 9.792E-6, + 9.43E-6, + 1.1936E-5, + 1.0693E-5, + 1.616E-5, + 9.555E-6, + 1.688E-5 + ], + [ + 1.7725E-5, + 1.2499E-5, + 1.2218E-5, + 1.2131E-5, + 1.54E-5, + 1.6504E-5, + 1.6562E-5, + 1.3237E-5, + 1.232E-5, + 1.2309E-5, + 1.9721E-5, + 1.102E-5, + 9.1E-6, + 2.2408E-5, + 1.0961E-5, + 9.623E-6, + 1.2E-5, + 9.676E-6, + 9.806E-6, + 9.293E-6, + 9.387E-6, + 1.5296E-5, + 1.4621E-5, + 1.5034E-5, + 1.4067E-5, + 1.3953E-5, + 2.4406E-5, + 1.0681E-5, + 1.0082E-5, + 9.953E-6, + 9.756E-6, + 1.8165E-5, + 1.5343E-5, + 8.411E-6, + 8.748E-6, + 8.788E-6, + 8.804E-6, + 1.3542E-5, + 8.441E-6, + 1.6384E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 1.7532130000000003E-5, + "scoreError" : 1.1958193186467489E-6, + "scoreConfidence" : [ + 1.6336310681353254E-5, + 1.8727949318646752E-5 + ], + "scorePercentiles" : { + "0.0" : 1.0746E-5, + "50.0" : 1.77505E-5, + "90.0" : 2.24916E-5, + "95.0" : 2.72908E-5, + "99.0" : 3.354428E-5, + "99.9" : 4.8553E-5, + "99.99" : 4.8553E-5, + "99.999" : 4.8553E-5, + "99.9999" : 4.8553E-5, + "100.0" : 4.8553E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 2.0305E-5, + 1.9105E-5, + 1.9004E-5, + 1.5399E-5, + 1.9714E-5, + 1.7885E-5, + 1.9478E-5, + 1.4212E-5, + 1.7924E-5, + 1.5369E-5, + 2.4777E-5, + 1.7033E-5, + 1.7798E-5, + 1.2474E-5, + 1.9047E-5, + 1.2282E-5, + 1.7743E-5, + 1.8719E-5, + 1.5024E-5, + 1.7678E-5, + 1.6763E-5, + 1.7473E-5, + 1.1969E-5, + 2.9778E-5, + 1.996E-5, + 1.1451E-5, + 4.8553E-5, + 1.1291E-5, + 1.6628E-5, + 1.2264E-5, + 1.7898E-5, + 1.1253E-5, + 1.0746E-5, + 1.855E-5, + 1.3291E-5, + 1.6626E-5, + 1.2992E-5, + 1.6369E-5, + 1.2328E-5, + 1.2569E-5 + ], + [ + 2.1961E-5, + 2.0498E-5, + 1.4835E-5, + 1.9224E-5, + 3.3551E-5, + 1.4979E-5, + 1.9223E-5, + 1.7718E-5, + 1.2044E-5, + 2.3624E-5, + 1.4161E-5, + 1.8739E-5, + 1.3821E-5, + 1.8868E-5, + 1.1367E-5, + 1.9402E-5, + 1.4091E-5, + 1.2833E-5, + 1.8522E-5, + 1.2709E-5, + 2.704E-5, + 3.2312E-5, + 1.9812E-5, + 2.0853E-5, + 1.8535E-5, + 1.9354E-5, + 1.8393E-5, + 1.8784E-5, + 1.3046E-5, + 1.8715E-5, + 1.2055E-5, + 1.1652E-5, + 1.7463E-5, + 1.2338E-5, + 1.7967E-5, + 1.1218E-5, + 1.8738E-5, + 1.258E-5, + 1.2703E-5, + 1.755E-5 + ], + [ + 2.0854E-5, + 2.0375E-5, + 1.8077E-5, + 2.0268E-5, + 2.0678E-5, + 1.6746E-5, + 2.1464E-5, + 1.6583E-5, + 1.7724E-5, + 1.6638E-5, + 2.5192E-5, + 1.3111E-5, + 1.42E-5, + 1.8642E-5, + 1.9203E-5, + 1.8283E-5, + 1.5303E-5, + 1.8525E-5, + 1.3203E-5, + 1.9368E-5, + 1.8474E-5, + 1.3311E-5, + 1.8885E-5, + 1.8896E-5, + 3.1831E-5, + 1.2299E-5, + 3.2879E-5, + 1.168E-5, + 1.0983E-5, + 1.7881E-5, + 1.6021E-5, + 1.7758E-5, + 1.2961E-5, + 1.849E-5, + 1.2843E-5, + 1.3996E-5, + 1.7565E-5, + 1.3715E-5, + 1.7292E-5, + 1.2063E-5 + ], + [ + 2.2105E-5, + 1.9375E-5, + 1.4141E-5, + 2.208E-5, + 1.8335E-5, + 1.518E-5, + 2.0287E-5, + 1.7282E-5, + 1.9898E-5, + 1.7155E-5, + 1.4924E-5, + 1.9789E-5, + 1.2374E-5, + 1.9818E-5, + 1.459E-5, + 1.9022E-5, + 1.3612E-5, + 1.2619E-5, + 1.8861E-5, + 1.6878E-5, + 2.7304E-5, + 1.3258E-5, + 1.8716E-5, + 2.4441E-5, + 2.2849E-5, + 1.8338E-5, + 2.6444E-5, + 1.7943E-5, + 1.1324E-5, + 1.8109E-5, + 1.1837E-5, + 1.217E-5, + 1.6849E-5, + 1.2167E-5, + 1.7939E-5, + 1.1703E-5, + 1.8008E-5, + 2.7648E-5, + 1.7262E-5, + 1.1975E-5 + ], + [ + 2.2516E-5, + 2.2272E-5, + 2.2534E-5, + 1.8038E-5, + 2.0077E-5, + 2.1546E-5, + 1.5422E-5, + 2.1843E-5, + 1.2691E-5, + 2.6435E-5, + 1.5268E-5, + 1.9946E-5, + 1.2724E-5, + 1.8577E-5, + 1.4354E-5, + 1.2928E-5, + 1.9172E-5, + 1.2862E-5, + 1.896E-5, + 1.2351E-5, + 2.7411E-5, + 1.2093E-5, + 1.1757E-5, + 3.2641E-5, + 1.8696E-5, + 1.9098E-5, + 1.968E-5, + 1.8298E-5, + 1.3455E-5, + 1.1636E-5, + 1.866E-5, + 1.2936E-5, + 1.7517E-5, + 1.2136E-5, + 1.911E-5, + 1.4028E-5, + 1.2447E-5, + 1.8216E-5, + 1.5333E-5, + 1.8893E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.1144723499999989E-4, + "scoreError" : 1.1058793358501485E-5, + "scoreConfidence" : [ + 1.0038844164149841E-4, + 1.2250602835850137E-4 + ], + "scorePercentiles" : { + "0.0" : 5.7016E-5, + "50.0" : 1.45703E-4, + "90.0" : 1.597454E-4, + "95.0" : 1.6436925E-4, + "99.0" : 1.7420876000000002E-4, + "99.9" : 2.07914E-4, + "99.99" : 2.07914E-4, + "99.999" : 2.07914E-4, + "99.9999" : 2.07914E-4, + "100.0" : 2.07914E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.72304E-4, + 1.67911E-4, + 1.55196E-4, + 1.53195E-4, + 1.60621E-4, + 1.55215E-4, + 1.55227E-4, + 1.56133E-4, + 1.5369E-4, + 1.59786E-4, + 1.55942E-4, + 1.56158E-4, + 1.56785E-4, + 1.56749E-4, + 1.6172E-4, + 1.55615E-4, + 1.55021E-4, + 1.55684E-4, + 1.60043E-4, + 1.61992E-4, + 7.0253E-5, + 6.3163E-5, + 5.9484E-5, + 5.9629E-5, + 6.3695E-5, + 6.1474E-5, + 5.9301E-5, + 5.992E-5, + 6.3813E-5, + 6.4601E-5, + 6.1235E-5, + 5.7016E-5, + 6.0039E-5, + 6.0477E-5, + 5.9862E-5, + 6.5156E-5, + 6.2693E-5, + 6.7376E-5, + 6.1506E-5, + 6.4506E-5 + ], + [ + 1.74228E-4, + 1.64414E-4, + 1.56095E-4, + 1.51202E-4, + 1.5938E-4, + 1.50959E-4, + 1.51477E-4, + 1.5426E-4, + 1.5339E-4, + 1.54813E-4, + 1.54039E-4, + 1.55465E-4, + 1.56357E-4, + 1.51921E-4, + 1.56928E-4, + 1.54485E-4, + 1.58881E-4, + 1.52511E-4, + 1.55134E-4, + 1.57349E-4, + 1.40447E-4, + 6.411E-5, + 5.9396E-5, + 6.2892E-5, + 6.5923E-5, + 6.3789E-5, + 6.2649E-5, + 6.1297E-5, + 6.338E-5, + 6.4422E-5, + 6.9216E-5, + 7.026E-5, + 6.8288E-5, + 7.6116E-5, + 6.1955E-5, + 6.5637E-5, + 6.1686E-5, + 6.8285E-5, + 7.2524E-5, + 6.4846E-5 + ], + [ + 1.7067E-4, + 1.65651E-4, + 1.52661E-4, + 1.50977E-4, + 1.53092E-4, + 1.53146E-4, + 1.51284E-4, + 1.55318E-4, + 1.53782E-4, + 1.51287E-4, + 1.61462E-4, + 1.53462E-4, + 1.5406E-4, + 1.55853E-4, + 1.54704E-4, + 1.53947E-4, + 1.52416E-4, + 1.51976E-4, + 1.55539E-4, + 1.58258E-4, + 1.10125E-4, + 6.5484E-5, + 5.9492E-5, + 5.8506E-5, + 6.1445E-5, + 6.0726E-5, + 6.0171E-5, + 5.8945E-5, + 6.5792E-5, + 5.9667E-5, + 6.6712E-5, + 5.818E-5, + 6.6583E-5, + 5.9511E-5, + 5.9473E-5, + 6.32E-5, + 5.9153E-5, + 6.4371E-5, + 5.9452E-5, + 6.1028E-5 + ], + [ + 1.68734E-4, + 1.71234E-4, + 1.53154E-4, + 1.54617E-4, + 1.54028E-4, + 1.57453E-4, + 1.53551E-4, + 1.55169E-4, + 1.54088E-4, + 1.53981E-4, + 1.53111E-4, + 1.59078E-4, + 1.60794E-4, + 1.55266E-4, + 1.52786E-4, + 1.55195E-4, + 1.5476E-4, + 1.59012E-4, + 1.52918E-4, + 1.54E-4, + 1.13562E-4, + 6.7098E-5, + 6.1534E-5, + 5.8947E-5, + 5.9787E-5, + 6.5946E-5, + 6.677E-5, + 5.9298E-5, + 5.9656E-5, + 5.9555E-5, + 6.5343E-5, + 5.8898E-5, + 6.3709E-5, + 5.9689E-5, + 5.9902E-5, + 6.2573E-5, + 6.3671E-5, + 6.5813E-5, + 6.1154E-5, + 6.2908E-5 + ], + [ + 1.67636E-4, + 1.63519E-4, + 1.56595E-4, + 1.62045E-4, + 1.5114E-4, + 1.52722E-4, + 1.52159E-4, + 1.53283E-4, + 1.5202E-4, + 1.50965E-4, + 1.52861E-4, + 1.51466E-4, + 1.535E-4, + 1.52793E-4, + 1.58481E-4, + 1.51922E-4, + 1.51959E-4, + 2.07914E-4, + 1.53874E-4, + 1.62573E-4, + 1.06989E-4, + 1.20139E-4, + 5.8099E-5, + 6.3582E-5, + 5.7902E-5, + 9.0699E-5, + 6.5559E-5, + 6.0289E-5, + 6.7203E-5, + 5.9788E-5, + 6.1242E-5, + 6.2963E-5, + 5.8111E-5, + 6.011E-5, + 6.3339E-5, + 6.539E-5, + 5.7328E-5, + 9.2792E-5, + 5.943E-5, + 6.2171E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 2.55179115E-4, + "scoreError" : 3.1801450215650774E-5, + "scoreConfidence" : [ + 2.2337766478434923E-4, + 2.8698056521565075E-4 + ], + "scorePercentiles" : { + "0.0" : 1.63584E-4, + "50.0" : 1.73804E-4, + "90.0" : 4.875742E-4, + "95.0" : 4.9233455E-4, + "99.0" : 5.054576800000001E-4, + "99.9" : 5.18162E-4, + "99.99" : 5.18162E-4, + "99.999" : 5.18162E-4, + "99.9999" : 5.18162E-4, + "100.0" : 5.18162E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 4.69814E-4, + 4.66001E-4, + 4.90263E-4, + 4.83266E-4, + 4.77248E-4, + 4.75294E-4, + 5.18162E-4, + 4.82859E-4, + 4.82676E-4, + 4.94289E-4, + 3.38816E-4, + 2.9707E-4, + 1.89404E-4, + 1.7874E-4, + 1.74514E-4, + 1.73767E-4, + 1.76197E-4, + 1.79912E-4, + 1.85214E-4, + 2.01282E-4, + 1.9707E-4, + 1.96374E-4, + 2.01486E-4, + 2.00322E-4, + 2.05622E-4, + 2.04221E-4, + 2.10117E-4, + 1.94349E-4, + 1.92845E-4, + 1.91404E-4, + 1.98886E-4, + 1.92362E-4, + 2.35001E-4, + 1.83801E-4, + 1.63637E-4, + 1.64196E-4, + 1.64627E-4, + 1.68615E-4, + 1.64896E-4, + 1.63584E-4 + ], + [ + 4.70961E-4, + 4.73608E-4, + 4.89021E-4, + 4.92405E-4, + 4.81514E-4, + 4.81305E-4, + 4.79127E-4, + 4.90761E-4, + 4.80958E-4, + 4.82943E-4, + 1.83919E-4, + 1.72683E-4, + 1.70773E-4, + 1.70708E-4, + 2.07872E-4, + 1.67075E-4, + 1.68207E-4, + 1.69573E-4, + 1.67872E-4, + 1.67649E-4, + 1.73841E-4, + 1.68009E-4, + 1.66324E-4, + 1.69324E-4, + 1.72411E-4, + 1.69353E-4, + 1.67896E-4, + 1.67347E-4, + 1.79782E-4, + 1.68463E-4, + 1.68493E-4, + 1.67867E-4, + 1.82353E-4, + 1.68972E-4, + 1.6794E-4, + 1.68081E-4, + 1.65634E-4, + 1.73629E-4, + 1.67111E-4, + 1.66074E-4 + ], + [ + 4.79347E-4, + 4.81852E-4, + 4.86665E-4, + 4.90996E-4, + 4.82579E-4, + 4.77953E-4, + 4.79949E-4, + 4.82669E-4, + 4.92498E-4, + 4.7828E-4, + 2.4163E-4, + 1.71169E-4, + 1.68482E-4, + 1.9724E-4, + 1.67666E-4, + 1.66023E-4, + 1.69169E-4, + 1.67253E-4, + 1.66721E-4, + 1.69939E-4, + 1.725E-4, + 1.66913E-4, + 1.6588E-4, + 1.6566E-4, + 1.68495E-4, + 1.67994E-4, + 1.68789E-4, + 1.67576E-4, + 1.68139E-4, + 1.72393E-4, + 1.69919E-4, + 1.68377E-4, + 1.84671E-4, + 1.67739E-4, + 1.66777E-4, + 1.67156E-4, + 1.67266E-4, + 1.76223E-4, + 1.67388E-4, + 1.67255E-4 + ], + [ + 4.78435E-4, + 4.74247E-4, + 4.78663E-4, + 4.89756E-4, + 4.86712E-4, + 4.90375E-4, + 4.81261E-4, + 4.88117E-4, + 4.8767E-4, + 4.82233E-4, + 2.22277E-4, + 1.71539E-4, + 1.69622E-4, + 1.70652E-4, + 1.70406E-4, + 1.67369E-4, + 1.68473E-4, + 1.68708E-4, + 1.69104E-4, + 1.68687E-4, + 1.71794E-4, + 1.66954E-4, + 1.69363E-4, + 1.67856E-4, + 1.80825E-4, + 1.69824E-4, + 1.69472E-4, + 1.67282E-4, + 1.6959E-4, + 1.67191E-4, + 1.66411E-4, + 1.8128E-4, + 1.81413E-4, + 1.69638E-4, + 1.71267E-4, + 1.68301E-4, + 1.66623E-4, + 1.73987E-4, + 1.68168E-4, + 1.6645E-4 + ], + [ + 4.77783E-4, + 4.89708E-4, + 4.98561E-4, + 4.89785E-4, + 4.99858E-4, + 5.0551E-4, + 4.81543E-4, + 4.94473E-4, + 5.00278E-4, + 4.94226E-4, + 2.31001E-4, + 1.75226E-4, + 1.70128E-4, + 2.11101E-4, + 1.69455E-4, + 1.69622E-4, + 1.69364E-4, + 1.69646E-4, + 1.69039E-4, + 1.7109E-4, + 2.17562E-4, + 1.6694E-4, + 1.69472E-4, + 1.68692E-4, + 1.69388E-4, + 1.72158E-4, + 1.67787E-4, + 1.70844E-4, + 1.67531E-4, + 1.696E-4, + 1.81916E-4, + 1.70215E-4, + 1.95457E-4, + 1.81038E-4, + 1.76022E-4, + 1.74252E-4, + 1.94783E-4, + 2.06366E-4, + 1.90443E-4, + 1.88734E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.0025111448600000008, + "scoreError" : 3.413240734944437E-4, + "scoreConfidence" : [ + 0.002169820786505557, + 0.0028524689334944444 + ], + "scorePercentiles" : { + "0.0" : 0.001533834, + "50.0" : 0.0015960599999999998, + "90.0" : 0.004735151, + "95.0" : 0.0047711137, + "99.0" : 0.005409003780000005, + "99.9" : 0.007415289, + "99.99" : 0.007415289, + "99.999" : 0.007415289, + "99.9999" : 0.007415289, + "100.0" : 0.007415289 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001606733, + 0.004668471, + 0.004689762, + 0.001578157, + 0.001578219, + 0.001572034, + 0.001605855, + 0.001614956, + 0.001586255, + 0.001582068, + 0.001573246, + 0.001595203, + 0.004719663, + 0.004745299, + 0.004619791, + 0.004568319, + 0.001583052, + 0.00154875, + 0.001543738, + 0.001711218, + 0.001588839, + 0.001534018, + 0.001533834, + 0.001539024, + 0.001540677, + 0.001568416, + 0.001546305, + 0.001571916, + 0.001587221, + 0.001575262, + 0.0015771, + 0.001582438, + 0.001599251, + 0.001600072, + 0.002736418, + 0.00472825, + 0.004720962, + 0.00477169, + 0.004743895, + 0.004761516 + ], + [ + 0.001601144, + 0.004705643, + 0.004720799, + 0.001582594, + 0.001579686, + 0.00157747, + 0.001574876, + 0.001615191, + 0.001599481, + 0.001581197, + 0.001611557, + 0.001595867, + 0.004721589, + 0.0047705, + 0.00472395, + 0.004735522, + 0.001611829, + 0.001581148, + 0.001599294, + 0.001600055, + 0.00160255, + 0.001578724, + 0.001570322, + 0.001557443, + 0.0015404, + 0.001580706, + 0.001549512, + 0.00154161, + 0.001545848, + 0.001543452, + 0.001543932, + 0.001544103, + 0.001541606, + 0.001541332, + 0.002699202, + 0.004634181, + 0.004603522, + 0.004643915, + 0.00467205, + 0.004754974 + ], + [ + 0.001568945, + 0.004624836, + 0.004687159, + 0.001554116, + 0.001601489, + 0.001550261, + 0.001603436, + 0.00161326, + 0.001586279, + 0.001579238, + 0.001583683, + 0.001613788, + 0.004771146, + 0.004822154, + 0.004694494, + 0.00469159, + 0.001610654, + 0.001578352, + 0.001536564, + 0.001554347, + 0.001591453, + 0.001541334, + 0.001559631, + 0.001542248, + 0.001539038, + 0.001580713, + 0.00153994, + 0.002033616, + 0.00154284, + 0.001828756, + 0.00154439, + 0.001555188, + 0.001540213, + 0.001537399, + 0.002636448, + 0.004672907, + 0.004743641, + 0.004737168, + 0.004796059, + 0.00491616 + ], + [ + 0.001601446, + 0.004759075, + 0.007415289, + 0.002134026, + 0.001589728, + 0.001578225, + 0.001584776, + 0.001616313, + 0.001585174, + 0.001603429, + 0.001563601, + 0.001601965, + 0.004713263, + 0.004727506, + 0.004731812, + 0.004687223, + 0.001620178, + 0.001594548, + 0.001573887, + 0.001587389, + 0.001572911, + 0.001571173, + 0.001571445, + 0.00158127, + 0.001574942, + 0.001624171, + 0.001606328, + 0.001597723, + 0.001582975, + 0.001571619, + 0.001573502, + 0.001578201, + 0.001576189, + 0.001591389, + 0.003353914, + 0.004677412, + 0.00471393, + 0.004808844, + 0.00487805, + 0.005413982 + ], + [ + 0.001621912, + 0.004652049, + 0.004705901, + 0.001590531, + 0.001589109, + 0.00157325, + 0.00159001, + 0.001616484, + 0.001621392, + 0.001607012, + 0.001574148, + 0.001596767, + 0.004717198, + 0.004687621, + 0.004711427, + 0.004697882, + 0.00160378, + 0.001583252, + 0.001588393, + 0.001588235, + 0.001581598, + 0.001568512, + 0.001590737, + 0.001596253, + 0.001580081, + 0.001617834, + 0.001584403, + 0.001584483, + 0.001595291, + 0.001578295, + 0.001590058, + 0.00161959, + 0.001582825, + 0.002177614, + 0.004718055, + 0.004722744, + 0.004767414, + 0.00471165, + 0.004804816, + 0.004669941 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.01842779793499999, + "scoreError" : 0.001762047444700974, + "scoreConfidence" : [ + 0.016665750490299017, + 0.020189845379700963 + ], + "scorePercentiles" : { + "0.0" : 0.014879851, + "50.0" : 0.015533652, + "90.0" : 0.0216740172, + "95.0" : 0.04443578139999993, + "99.0" : 0.04697062417, + "99.9" : 0.047708844, + "99.99" : 0.047708844, + "99.999" : 0.047708844, + "99.9999" : 0.047708844, + "100.0" : 0.047708844 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.019715242, + 0.016262469, + 0.015898438, + 0.044736588, + 0.021109665, + 0.015231639, + 0.016199602, + 0.038591326, + 0.015544384, + 0.015249318, + 0.015430339, + 0.046972515, + 0.020255935, + 0.015457, + 0.015290209, + 0.016832884, + 0.022143258, + 0.015182579, + 0.015158036, + 0.015150406, + 0.015393553, + 0.02127114, + 0.015441777, + 0.015030968, + 0.015980989, + 0.015309038, + 0.015164094, + 0.01549493, + 0.015638461, + 0.015387764, + 0.022582533, + 0.015982421, + 0.015397968, + 0.015242642, + 0.015082663, + 0.038720456, + 0.015176836, + 0.015541561, + 0.015806165, + 0.015391163 + ], + [ + 0.019213233, + 0.015195522, + 0.015177655, + 0.046783432, + 0.021161785, + 0.015463449, + 0.017045831, + 0.034617162, + 0.015594621, + 0.015312445, + 0.017553194, + 0.04632445, + 0.0196296, + 0.015081282, + 0.015313376, + 0.016447151, + 0.021678178, + 0.015341918, + 0.015255193, + 0.015968863, + 0.015660955, + 0.021258483, + 0.015577509, + 0.01526688, + 0.015495193, + 0.01545285, + 0.015125996, + 0.015279208, + 0.015314566, + 0.01522762, + 0.02037686, + 0.015775232, + 0.015488139, + 0.015354816, + 0.015156306, + 0.021076139, + 0.015395694, + 0.01555339, + 0.01529134, + 0.015296001 + ], + [ + 0.019592638, + 0.015238246, + 0.015329181, + 0.045512597, + 0.02140102, + 0.015219329, + 0.016337343, + 0.036605119, + 0.015391838, + 0.015248626, + 0.015542861, + 0.045028004, + 0.020059904, + 0.016019962, + 0.015427614, + 0.017071832, + 0.020319731, + 0.015232384, + 0.015259331, + 0.015942386, + 0.015525743, + 0.015913033, + 0.015420185, + 0.015106084, + 0.015115159, + 0.015690638, + 0.016046806, + 0.015863496, + 0.01577689, + 0.01536436, + 0.02163657, + 0.015382715, + 0.015585163, + 0.014966764, + 0.014999291, + 0.014923374, + 0.0154487, + 0.015640759, + 0.015409534, + 0.015542755 + ], + [ + 0.019310537, + 0.015430374, + 0.015640914, + 0.045640089, + 0.021222739, + 0.015141192, + 0.016010943, + 0.033801735, + 0.015423721, + 0.015090101, + 0.015581642, + 0.046159284, + 0.020032631, + 0.01547753, + 0.015045585, + 0.016564397, + 0.020553577, + 0.015341819, + 0.015926177, + 0.015221855, + 0.015316898, + 0.015490555, + 0.015283564, + 0.015182818, + 0.015210287, + 0.015729992, + 0.016114304, + 0.015927454, + 0.015702963, + 0.015208285, + 0.021909728, + 0.015386038, + 0.019458675, + 0.016814371, + 0.015616497, + 0.014879851, + 0.015287016, + 0.016456219, + 0.01529192, + 0.015315094 + ], + [ + 0.019155198, + 0.015568396, + 0.016132828, + 0.047708844, + 0.021210017, + 0.015267597, + 0.016349676, + 0.036018824, + 0.01512888, + 0.01535029, + 0.015919348, + 0.045472057, + 0.019420036, + 0.015308105, + 0.015291027, + 0.017118402, + 0.020772175, + 0.015617184, + 0.015412754, + 0.015359281, + 0.015200059, + 0.015470744, + 0.015502219, + 0.015305056, + 0.015132738, + 0.016374836, + 0.016368097, + 0.015396714, + 0.015515947, + 0.015394844, + 0.020679651, + 0.015144463, + 0.01545266, + 0.015388377, + 0.015675925, + 0.014981293, + 0.015200143, + 0.015560107, + 0.015546011, + 0.015320977 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.1945109499999994E-4, + "scoreError" : 4.248637046125932E-6, + "scoreConfidence" : [ + 1.15202457953874E-4, + 1.2369973204612588E-4 + ], + "scorePercentiles" : { + "0.0" : 1.11062E-4, + "50.0" : 1.15004E-4, + "90.0" : 1.28183E-4, + "95.0" : 1.4650589999999988E-4, + "99.0" : 2.4359480000000024E-4, + "99.9" : 2.4919E-4, + "99.99" : 2.4919E-4, + "99.999" : 2.4919E-4, + "99.9999" : 2.4919E-4, + "100.0" : 2.4919E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.28441E-4, + 1.25861E-4, + 1.14082E-4, + 1.14078E-4, + 1.11775E-4, + 1.20328E-4, + 1.1627E-4, + 1.13987E-4, + 1.11973E-4, + 1.16889E-4, + 1.14472E-4, + 1.13196E-4, + 1.18362E-4, + 1.20518E-4, + 1.14462E-4, + 1.12581E-4, + 1.132E-4, + 1.12517E-4, + 1.19686E-4, + 1.15904E-4, + 1.12651E-4, + 1.15083E-4, + 1.12763E-4, + 1.13846E-4, + 1.14166E-4, + 1.12258E-4, + 2.4919E-4, + 1.12338E-4, + 1.49785E-4, + 1.1266E-4, + 1.36282E-4, + 1.49348E-4, + 1.13312E-4, + 1.11842E-4, + 1.13452E-4, + 1.1202E-4, + 1.22234E-4, + 1.1666E-4, + 1.16645E-4, + 1.16424E-4 + ], + [ + 1.31012E-4, + 1.22621E-4, + 1.12085E-4, + 1.13548E-4, + 1.12025E-4, + 1.18983E-4, + 1.14035E-4, + 1.13266E-4, + 1.14386E-4, + 1.14522E-4, + 1.13665E-4, + 1.11838E-4, + 1.14663E-4, + 1.12898E-4, + 1.11989E-4, + 1.16904E-4, + 1.11896E-4, + 1.12955E-4, + 1.12901E-4, + 1.12588E-4, + 1.11927E-4, + 1.16011E-4, + 1.15946E-4, + 1.12593E-4, + 1.1466E-4, + 1.16718E-4, + 1.17772E-4, + 1.12702E-4, + 1.15023E-4, + 1.14194E-4, + 1.19849E-4, + 1.20717E-4, + 1.12553E-4, + 1.12553E-4, + 1.1303E-4, + 1.16869E-4, + 1.17187E-4, + 1.14603E-4, + 1.15199E-4, + 1.17736E-4 + ], + [ + 1.33692E-4, + 1.22601E-4, + 1.14912E-4, + 1.13942E-4, + 1.13615E-4, + 1.15213E-4, + 1.15624E-4, + 1.15942E-4, + 1.12152E-4, + 1.14096E-4, + 1.11908E-4, + 1.12333E-4, + 1.16662E-4, + 1.1346E-4, + 1.12671E-4, + 1.13163E-4, + 1.18387E-4, + 1.18417E-4, + 1.12483E-4, + 1.14786E-4, + 1.12839E-4, + 1.13588E-4, + 1.11707E-4, + 1.12395E-4, + 1.13599E-4, + 1.15276E-4, + 2.15954E-4, + 1.14606E-4, + 1.31619E-4, + 1.1462E-4, + 1.18439E-4, + 2.05213E-4, + 1.17625E-4, + 1.14597E-4, + 1.14075E-4, + 1.12E-4, + 1.16725E-4, + 1.16922E-4, + 1.13214E-4, + 1.47044E-4 + ], + [ + 1.3184E-4, + 1.30622E-4, + 1.14128E-4, + 1.19215E-4, + 1.16979E-4, + 1.15385E-4, + 1.18962E-4, + 1.16605E-4, + 1.17861E-4, + 1.15574E-4, + 1.11883E-4, + 1.15425E-4, + 1.2091E-4, + 1.14322E-4, + 1.17386E-4, + 1.1508E-4, + 1.16107E-4, + 1.14068E-4, + 1.18263E-4, + 1.13638E-4, + 1.11924E-4, + 1.16643E-4, + 1.16718E-4, + 1.16807E-4, + 1.1349E-4, + 1.16919E-4, + 2.43874E-4, + 1.14857E-4, + 1.565E-4, + 1.19295E-4, + 1.13557E-4, + 1.85017E-4, + 1.14294E-4, + 1.15751E-4, + 1.12195E-4, + 1.12189E-4, + 1.16329E-4, + 1.2325E-4, + 1.16011E-4, + 1.15357E-4 + ], + [ + 1.28458E-4, + 1.34164E-4, + 1.12749E-4, + 1.14419E-4, + 1.11668E-4, + 1.13399E-4, + 1.17476E-4, + 1.15368E-4, + 1.15843E-4, + 1.14757E-4, + 1.11062E-4, + 1.15072E-4, + 1.14985E-4, + 1.16623E-4, + 1.14082E-4, + 1.12051E-4, + 1.18155E-4, + 1.16196E-4, + 1.11781E-4, + 1.16917E-4, + 1.16234E-4, + 1.18527E-4, + 1.13071E-4, + 1.31499E-4, + 1.17175E-4, + 1.14046E-4, + 1.16308E-4, + 1.14324E-4, + 1.18464E-4, + 1.12672E-4, + 1.13939E-4, + 1.50435E-4, + 1.15078E-4, + 1.16755E-4, + 1.18728E-4, + 1.13627E-4, + 1.17352E-4, + 1.12587E-4, + 1.14673E-4, + 1.17991E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 1.924638649999999E-4, + "scoreError" : 1.5392262632764065E-5, + "scoreConfidence" : [ + 1.7707160236723584E-4, + 2.0785612763276397E-4 + ], + "scorePercentiles" : { + "0.0" : 1.4645E-4, + "50.0" : 1.529845E-4, + "90.0" : 2.246841E-4, + "95.0" : 4.1552684999999904E-4, + "99.0" : 4.3108221E-4, + "99.9" : 4.33634E-4, + "99.99" : 4.33634E-4, + "99.999" : 4.33634E-4, + "99.9999" : 4.33634E-4, + "100.0" : 4.33634E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 4.33634E-4, + 4.2494E-4, + 2.24887E-4, + 2.17664E-4, + 2.20388E-4, + 2.14184E-4, + 2.14931E-4, + 2.22858E-4, + 2.21678E-4, + 2.21808E-4, + 2.1793E-4, + 2.16118E-4, + 2.15917E-4, + 2.21341E-4, + 2.20529E-4, + 2.26088E-4, + 2.76256E-4, + 1.54925E-4, + 1.51669E-4, + 1.53364E-4, + 1.50836E-4, + 1.51073E-4, + 1.56809E-4, + 1.509E-4, + 1.51181E-4, + 1.50864E-4, + 1.51891E-4, + 1.50041E-4, + 1.50731E-4, + 1.51156E-4, + 1.51047E-4, + 1.51181E-4, + 1.51164E-4, + 1.51131E-4, + 1.53064E-4, + 1.5131E-4, + 1.51829E-4, + 1.51748E-4, + 1.50999E-4, + 1.52264E-4 + ], + [ + 4.30509E-4, + 4.31088E-4, + 2.25501E-4, + 2.21115E-4, + 2.15446E-4, + 2.22444E-4, + 2.19883E-4, + 2.20315E-4, + 2.19017E-4, + 2.18239E-4, + 2.16508E-4, + 2.16767E-4, + 2.17822E-4, + 2.17029E-4, + 2.18181E-4, + 2.19814E-4, + 3.05731E-4, + 1.56433E-4, + 1.52905E-4, + 1.5405E-4, + 1.5197E-4, + 1.51511E-4, + 1.54897E-4, + 1.51703E-4, + 1.50501E-4, + 1.50879E-4, + 1.5231E-4, + 1.50466E-4, + 1.51541E-4, + 1.51388E-4, + 1.51212E-4, + 1.50856E-4, + 1.50873E-4, + 1.5003E-4, + 1.50461E-4, + 1.523E-4, + 1.52079E-4, + 1.51277E-4, + 1.87098E-4, + 1.52115E-4 + ], + [ + 4.2105E-4, + 4.27078E-4, + 2.25541E-4, + 2.20828E-4, + 2.22206E-4, + 2.12617E-4, + 2.17591E-4, + 2.17479E-4, + 2.13776E-4, + 2.17028E-4, + 2.14738E-4, + 2.13765E-4, + 2.18875E-4, + 2.18388E-4, + 2.14951E-4, + 2.12465E-4, + 3.05972E-4, + 1.57435E-4, + 1.52371E-4, + 1.54E-4, + 1.51993E-4, + 1.51339E-4, + 1.50864E-4, + 1.52379E-4, + 1.50738E-4, + 1.51849E-4, + 1.50727E-4, + 1.51006E-4, + 1.51283E-4, + 1.50373E-4, + 1.50402E-4, + 1.66798E-4, + 1.50966E-4, + 1.50851E-4, + 1.50586E-4, + 1.50145E-4, + 1.51848E-4, + 1.51597E-4, + 1.52343E-4, + 1.51509E-4 + ], + [ + 4.2028E-4, + 4.2232E-4, + 2.221E-4, + 2.18527E-4, + 2.18995E-4, + 2.15753E-4, + 2.14495E-4, + 2.18304E-4, + 2.12229E-4, + 2.17727E-4, + 2.18181E-4, + 2.14046E-4, + 2.14084E-4, + 2.20282E-4, + 2.18294E-4, + 2.20869E-4, + 3.01397E-4, + 1.58429E-4, + 1.52419E-4, + 1.54313E-4, + 1.52092E-4, + 1.51971E-4, + 1.50716E-4, + 1.50565E-4, + 1.51498E-4, + 1.50993E-4, + 1.51807E-4, + 1.50697E-4, + 1.52131E-4, + 1.5106E-4, + 1.51042E-4, + 1.51118E-4, + 1.51914E-4, + 1.5063E-4, + 1.51197E-4, + 1.50803E-4, + 1.52086E-4, + 1.52574E-4, + 1.5139E-4, + 1.51836E-4 + ], + [ + 4.199E-4, + 4.21169E-4, + 2.27449E-4, + 2.21039E-4, + 2.12186E-4, + 2.10767E-4, + 2.09048E-4, + 2.14919E-4, + 2.13261E-4, + 2.16644E-4, + 2.15155E-4, + 2.17899E-4, + 2.15935E-4, + 2.15655E-4, + 2.20665E-4, + 2.15339E-4, + 3.32437E-4, + 1.52502E-4, + 1.49326E-4, + 1.51792E-4, + 1.47731E-4, + 1.47449E-4, + 1.53314E-4, + 1.47112E-4, + 1.47034E-4, + 1.46734E-4, + 1.4794E-4, + 1.46937E-4, + 1.47104E-4, + 1.48377E-4, + 1.47364E-4, + 1.86805E-4, + 1.47278E-4, + 1.46781E-4, + 1.4645E-4, + 1.46513E-4, + 1.48468E-4, + 1.48901E-4, + 1.48329E-4, + 1.47559E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.002571081605, + "scoreError" : 0.0010528150851568773, + "scoreConfidence" : [ + 0.0015182665198431226, + 0.0036238966901568775 + ], + "scorePercentiles" : { + "0.0" : 0.001157877, + "50.0" : 0.0011908885, + "90.0" : 0.0018675251, + "95.0" : 0.0180821838, + "99.0" : 0.0184251219, + "99.9" : 0.018575664, + "99.99" : 0.018575664, + "99.999" : 0.018575664, + "99.9999" : 0.018575664, + "100.0" : 0.018575664 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001188078, + 0.001191262, + 0.001230655, + 0.001837945, + 0.001849608, + 0.018083927, + 0.001186499, + 0.001189172, + 0.001188895, + 0.001189416, + 0.001189389, + 0.01771084, + 0.001164439, + 0.001164031, + 0.001168695, + 0.001159943, + 0.001165228, + 0.001169185, + 0.001777501, + 0.001811485, + 0.001808443, + 0.001837083, + 0.001793541, + 0.018425185, + 0.001165735, + 0.001164132, + 0.001172833, + 0.001166353, + 0.001169515, + 0.001167233, + 0.001165456, + 0.001209669, + 0.001170588, + 0.001167185, + 0.00120385, + 0.001168708, + 0.001175402, + 0.001167981, + 0.001170859, + 0.001197912 + ], + [ + 0.001165889, + 0.001172591, + 0.001206109, + 0.001833887, + 0.001867653, + 0.018339798, + 0.001167368, + 0.001166535, + 0.001167409, + 0.001165948, + 0.001161205, + 0.018201594, + 0.001164472, + 0.001165751, + 0.001165168, + 0.001167527, + 0.001169952, + 0.001165047, + 0.001808291, + 0.001803094, + 0.001797288, + 0.001840105, + 0.001795799, + 0.018192652, + 0.001159807, + 0.001201298, + 0.00116856, + 0.001166161, + 0.001168206, + 0.001170415, + 0.001158753, + 0.001165479, + 0.001166256, + 0.001218467, + 0.001196406, + 0.001161945, + 0.001192445, + 0.00119186, + 0.001193405, + 0.001191772 + ], + [ + 0.001169327, + 0.001161232, + 0.001208152, + 0.001808193, + 0.001860676, + 0.018418875, + 0.001163875, + 0.00115817, + 0.001166192, + 0.001167505, + 0.001157877, + 0.01824885, + 0.00117062, + 0.001162399, + 0.001168353, + 0.001164236, + 0.001212095, + 0.00116488, + 0.001817892, + 0.001866374, + 0.001870828, + 0.001836517, + 0.001844997, + 0.01823695, + 0.001187311, + 0.001226774, + 0.001193187, + 0.001193558, + 0.001196195, + 0.0011864, + 0.001160859, + 0.001169405, + 0.001169073, + 0.001243814, + 0.001196924, + 0.001161564, + 0.001165597, + 0.00116375, + 0.001172462, + 0.001165386 + ], + [ + 0.001195798, + 0.001192974, + 0.001256421, + 0.001843589, + 0.001877434, + 0.018047139, + 0.001192534, + 0.001187909, + 0.001194221, + 0.001194767, + 0.001186486, + 0.01782113, + 0.001188467, + 0.001164103, + 0.001169093, + 0.001168683, + 0.001167199, + 0.001170063, + 0.001797513, + 0.001814231, + 0.001791607, + 0.001804389, + 0.001824786, + 0.018575664, + 0.001161485, + 0.001164604, + 0.001172049, + 0.001170147, + 0.001168011, + 0.001161284, + 0.001161737, + 0.001249748, + 0.001168737, + 0.001167263, + 0.001195367, + 0.001163486, + 0.001170369, + 0.001167075, + 0.001169355, + 0.001167566 + ], + [ + 0.001193088, + 0.001195988, + 0.001233901, + 0.001839296, + 0.001866032, + 0.018049063, + 0.001192319, + 0.001186831, + 0.001191494, + 0.001188183, + 0.001186944, + 0.017849051, + 0.001202051, + 0.001209072, + 0.001246946, + 0.001293249, + 0.001222799, + 0.001194139, + 0.00184582, + 0.00186113, + 0.001875978, + 0.001850583, + 0.00189348, + 0.018218331, + 0.001188109, + 0.001193858, + 0.001196885, + 0.001191407, + 0.001411511, + 0.001186684, + 0.001186729, + 0.001234516, + 0.001192172, + 0.001197548, + 0.001226317, + 0.001188741, + 0.001190515, + 0.001190242, + 0.001193323, + 0.001193966 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.018934058250000007, + "scoreError" : 0.007464157084038221, + "scoreConfidence" : [ + 0.011469901165961787, + 0.026398215334038227 + ], + "scorePercentiles" : { + "0.0" : 0.010043578, + "50.0" : 0.0105508255, + "90.0" : 0.0117502443, + "95.0" : 0.13731859759999998, + "99.0" : 0.14130487378, + "99.9" : 0.143638802, + "99.99" : 0.143638802, + "99.999" : 0.143638802, + "99.9999" : 0.143638802, + "100.0" : 0.143638802 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.010890662, + 0.140151972, + 0.010657398, + 0.011262281, + 0.010181611, + 0.010309932, + 0.010883881, + 0.011285999, + 0.010169471, + 0.010443645, + 0.139052778, + 0.010695463, + 0.010379092, + 0.011118059, + 0.010507199, + 0.010121987, + 0.010501209, + 0.010243036, + 0.010517823, + 0.010369009, + 0.010513457, + 0.010043578, + 0.010339599, + 0.010442173, + 0.010432139, + 0.010443254, + 0.010272965, + 0.01046462, + 0.010170369, + 0.010635188, + 0.133373539, + 0.010627301, + 0.010526895, + 0.010356594, + 0.010402861, + 0.010064688, + 0.010460305, + 0.010449581, + 0.010669285, + 0.010318169 + ], + [ + 0.010843633, + 0.139680795, + 0.010593333, + 0.010091995, + 0.010338562, + 0.011112462, + 0.010848374, + 0.010989673, + 0.010338104, + 0.01060677, + 0.14097142, + 0.01086922, + 0.010596168, + 0.010346098, + 0.010397119, + 0.010288422, + 0.010306609, + 0.010394416, + 0.01061827, + 0.010341051, + 0.010848969, + 0.132194412, + 0.010614742, + 0.010517957, + 0.010272304, + 0.010368477, + 0.010099045, + 0.010620146, + 0.010552433, + 0.010346289, + 0.010692158, + 0.010825035, + 0.010504801, + 0.010534912, + 0.010086298, + 0.010508138, + 0.01012584, + 0.010338709, + 0.010324335, + 0.010589123 + ], + [ + 0.011099876, + 0.141308242, + 0.011918732, + 0.010611027, + 0.010669855, + 0.010947354, + 0.010988497, + 0.01102686, + 0.010172363, + 0.0108023, + 0.143638802, + 0.010511751, + 0.010653828, + 0.010368099, + 0.010554757, + 0.01034625, + 0.010568067, + 0.010867928, + 0.010486898, + 0.01055273, + 0.010423856, + 0.13615579, + 0.010352563, + 0.010378211, + 0.010476463, + 0.010666208, + 0.01018948, + 0.010556796, + 0.010626531, + 0.010496947, + 0.01036796, + 0.0104094, + 0.010377237, + 0.010280531, + 0.010360107, + 0.010543471, + 0.011018736, + 0.010303659, + 0.010500283, + 0.010408966 + ], + [ + 0.010859257, + 0.139214631, + 0.010678422, + 0.010543896, + 0.010844033, + 0.011214235, + 0.010839694, + 0.010531584, + 0.010327768, + 0.010720826, + 0.13843499, + 0.010478928, + 0.010489273, + 0.010208301, + 0.010552355, + 0.010370722, + 0.010446921, + 0.01040147, + 0.010625456, + 0.011753154, + 0.014000535, + 0.137379798, + 0.011377838, + 0.010891303, + 0.011099745, + 0.010406588, + 0.010599419, + 0.010412704, + 0.010723655, + 0.010551619, + 0.010718734, + 0.01038377, + 0.011139392, + 0.011724057, + 0.012163269, + 0.010931401, + 0.012143749, + 0.012532155, + 0.010166564, + 0.012323542 + ], + [ + 0.010849279, + 0.010812317, + 0.010602696, + 0.010371685, + 0.010468987, + 0.010635896, + 0.010897843, + 0.010550032, + 0.010604142, + 0.010489492, + 0.010391517, + 0.010685929, + 0.010514689, + 0.010682262, + 0.13829516, + 0.010594125, + 0.010476497, + 0.010255843, + 0.010603466, + 0.01064522, + 0.010520216, + 0.010617019, + 0.010488072, + 0.010939101, + 0.010710177, + 0.010400433, + 0.010795933, + 0.010459709, + 0.010554849, + 0.010279635, + 0.010491318, + 0.010431794, + 0.010343304, + 0.010881872, + 0.010554362, + 0.010591141, + 0.01040035, + 0.010429605, + 0.01042451, + 0.010592325 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.9052169500000002E-4, + "scoreError" : 2.7547829291905938E-5, + "scoreConfidence" : [ + 1.629738657080941E-4, + 2.1806952429190594E-4 + ], + "scorePercentiles" : { + "0.0" : 5.3141E-5, + "50.0" : 2.11595E-4, + "90.0" : 3.72638E-4, + "95.0" : 3.766676E-4, + "99.0" : 3.8457736E-4, + "99.9" : 3.85111E-4, + "99.99" : 3.85111E-4, + "99.999" : 3.85111E-4, + "99.9999" : 3.85111E-4, + "100.0" : 3.85111E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 3.60746E-4, + 3.67177E-4, + 3.67358E-4, + 3.7108E-4, + 3.71896E-4, + 3.74889E-4, + 3.66121E-4, + 3.74577E-4, + 2.66106E-4, + 2.39226E-4, + 2.32587E-4, + 2.09297E-4, + 2.06759E-4, + 2.09003E-4, + 2.11583E-4, + 2.23038E-4, + 2.12274E-4, + 2.11821E-4, + 2.09513E-4, + 2.09596E-4, + 2.10205E-4, + 2.12298E-4, + 2.14582E-4, + 2.0699E-4, + 2.12983E-4, + 2.07753E-4, + 5.3141E-5, + 6.1188E-5, + 5.8461E-5, + 5.7467E-5, + 5.8146E-5, + 5.9758E-5, + 1.01072E-4, + 5.8105E-5, + 6.2723E-5, + 6.0051E-5, + 6.1328E-5, + 5.3637E-5, + 5.4863E-5, + 5.5791E-5 + ], + [ + 3.65172E-4, + 3.67335E-4, + 3.6833E-4, + 3.6609E-4, + 3.7262E-4, + 3.71512E-4, + 3.64787E-4, + 3.77097E-4, + 2.54396E-4, + 2.38001E-4, + 2.38525E-4, + 2.15279E-4, + 2.13404E-4, + 2.14338E-4, + 2.09323E-4, + 2.21139E-4, + 2.14328E-4, + 2.12972E-4, + 2.16617E-4, + 2.13395E-4, + 2.1268E-4, + 2.09735E-4, + 2.08471E-4, + 2.09817E-4, + 2.13448E-4, + 5.8257E-5, + 5.5265E-5, + 5.9269E-5, + 5.7324E-5, + 7.15E-5, + 5.593E-5, + 5.5758E-5, + 6.2807E-5, + 5.5827E-5, + 5.4885E-5, + 5.6901E-5, + 5.7377E-5, + 5.8372E-5, + 5.6279E-5, + 5.5838E-5 + ], + [ + 3.79694E-4, + 3.85111E-4, + 3.81636E-4, + 3.76735E-4, + 3.76065E-4, + 3.77756E-4, + 3.76009E-4, + 3.82732E-4, + 2.6535E-4, + 2.43337E-4, + 2.40984E-4, + 2.1817E-4, + 2.22207E-4, + 2.16119E-4, + 2.14129E-4, + 2.28595E-4, + 2.14333E-4, + 2.17067E-4, + 2.17253E-4, + 2.17719E-4, + 2.26893E-4, + 2.1363E-4, + 2.14247E-4, + 2.21815E-4, + 2.18884E-4, + 5.7994E-5, + 6.0388E-5, + 5.9324E-5, + 5.6329E-5, + 5.7763E-5, + 5.5829E-5, + 5.7771E-5, + 5.7835E-5, + 5.9872E-5, + 5.565E-5, + 5.6268E-5, + 5.4287E-5, + 5.5521E-5, + 5.5479E-5, + 5.7642E-5 + ], + [ + 3.72588E-4, + 3.68375E-4, + 3.66744E-4, + 3.75528E-4, + 3.76451E-4, + 3.75938E-4, + 3.68161E-4, + 3.84596E-4, + 2.58794E-4, + 2.4048E-4, + 2.35542E-4, + 2.16133E-4, + 2.107E-4, + 2.12586E-4, + 2.08138E-4, + 2.24001E-4, + 2.08348E-4, + 2.0789E-4, + 2.11577E-4, + 2.17214E-4, + 2.13768E-4, + 2.17073E-4, + 2.12514E-4, + 2.10956E-4, + 2.14312E-4, + 5.689E-5, + 6.1772E-5, + 6.0345E-5, + 5.5863E-5, + 5.4377E-5, + 5.4461E-5, + 5.6986E-5, + 5.433E-5, + 5.441E-5, + 5.9089E-5, + 6.2678E-5, + 5.6693E-5, + 5.6323E-5, + 5.7283E-5, + 6.1755E-5 + ], + [ + 3.67905E-4, + 3.77365E-4, + 3.68683E-4, + 3.76489E-4, + 3.7264E-4, + 3.69392E-4, + 3.74516E-4, + 3.76677E-4, + 2.54456E-4, + 2.36135E-4, + 2.36032E-4, + 2.08606E-4, + 2.07682E-4, + 2.11607E-4, + 2.11419E-4, + 2.17608E-4, + 2.15595E-4, + 2.10668E-4, + 2.16198E-4, + 2.18802E-4, + 2.1289E-4, + 2.12323E-4, + 2.0961E-4, + 2.08193E-4, + 2.09313E-4, + 5.3953E-5, + 5.6015E-5, + 5.5414E-5, + 6.1445E-5, + 6.3981E-5, + 5.4364E-5, + 7.7555E-5, + 5.4628E-5, + 6.0446E-5, + 6.0762E-5, + 5.7906E-5, + 5.6569E-5, + 5.6267E-5, + 6.5496E-5, + 5.7061E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 7.919515550000008E-4, + "scoreError" : 6.223901722385885E-4, + "scoreConfidence" : [ + 1.6956138276141223E-4, + 0.0014143417272385892 + ], + "scorePercentiles" : { + "0.0" : 2.37854E-4, + "50.0" : 2.578155E-4, + "90.0" : 5.924103E-4, + "95.0" : 6.104163499999999E-4, + "99.0" : 0.017180825309999998, + "99.9" : 0.017547936, + "99.99" : 0.017547936, + "99.999" : 0.017547936, + "99.9999" : 0.017547936, + "100.0" : 0.017547936 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 5.79169E-4, + 5.73815E-4, + 5.74743E-4, + 5.71308E-4, + 3.33532E-4, + 2.95759E-4, + 2.42035E-4, + 2.59563E-4, + 2.39029E-4, + 2.55591E-4, + 2.43074E-4, + 2.3994E-4, + 2.42381E-4, + 2.55361E-4, + 2.42967E-4, + 2.42919E-4, + 0.017181289, + 2.45332E-4, + 2.38902E-4, + 2.41059E-4, + 2.54968E-4, + 3.35883E-4, + 2.44177E-4, + 2.42874E-4, + 2.40738E-4, + 2.56167E-4, + 2.46552E-4, + 2.44013E-4, + 2.41284E-4, + 2.38142E-4, + 3.32196E-4, + 5.8856E-4, + 5.79742E-4, + 5.77785E-4, + 5.72692E-4, + 5.84772E-4, + 5.91827E-4, + 5.97253E-4, + 5.78537E-4, + 5.81585E-4 + ], + [ + 5.84676E-4, + 5.83998E-4, + 5.82069E-4, + 5.91896E-4, + 3.35313E-4, + 3.15796E-4, + 2.54385E-4, + 2.56324E-4, + 2.52793E-4, + 2.55798E-4, + 2.38656E-4, + 2.4034E-4, + 2.39197E-4, + 2.41397E-4, + 2.41412E-4, + 2.43419E-4, + 0.01713492, + 2.61629E-4, + 2.55213E-4, + 2.42581E-4, + 2.56337E-4, + 2.52097E-4, + 2.41571E-4, + 2.57034E-4, + 2.4335E-4, + 2.62296E-4, + 2.53328E-4, + 2.45816E-4, + 2.40263E-4, + 2.44291E-4, + 3.58803E-4, + 5.94283E-4, + 6.04265E-4, + 5.73459E-4, + 6.06395E-4, + 5.8669E-4, + 5.8452E-4, + 5.88489E-4, + 5.95837E-4, + 5.93658E-4 + ], + [ + 5.81471E-4, + 5.93994E-4, + 5.63732E-4, + 5.70232E-4, + 3.61764E-4, + 3.04608E-4, + 2.40384E-4, + 2.66735E-4, + 2.38051E-4, + 2.38728E-4, + 2.39348E-4, + 2.55107E-4, + 2.5627E-4, + 2.55601E-4, + 2.42375E-4, + 4.73984E-4, + 0.016920146, + 2.48704E-4, + 2.41457E-4, + 2.42302E-4, + 2.43827E-4, + 2.57123E-4, + 3.71763E-4, + 2.43448E-4, + 2.42364E-4, + 2.58412E-4, + 2.49123E-4, + 2.44912E-4, + 2.41301E-4, + 2.44236E-4, + 3.53793E-4, + 5.82392E-4, + 5.79367E-4, + 5.91198E-4, + 5.81489E-4, + 5.75985E-4, + 5.89827E-4, + 5.82444E-4, + 5.66644E-4, + 5.95509E-4 + ], + [ + 5.87964E-4, + 5.77984E-4, + 5.64089E-4, + 5.76472E-4, + 4.62947E-4, + 2.77819E-4, + 2.52479E-4, + 2.56731E-4, + 2.38743E-4, + 2.54736E-4, + 2.39741E-4, + 2.51926E-4, + 2.52343E-4, + 2.54767E-4, + 2.40669E-4, + 2.38177E-4, + 0.017547936, + 2.78466E-4, + 2.54636E-4, + 2.57932E-4, + 2.40724E-4, + 2.6469E-4, + 2.57699E-4, + 2.38805E-4, + 2.55282E-4, + 2.39216E-4, + 2.4741E-4, + 2.54897E-4, + 2.4191E-4, + 2.55574E-4, + 5.65289E-4, + 5.8754E-4, + 5.65922E-4, + 5.78222E-4, + 5.65458E-4, + 5.81047E-4, + 5.72746E-4, + 5.73491E-4, + 5.67877E-4, + 5.80498E-4 + ], + [ + 6.10628E-4, + 6.35885E-4, + 6.11403E-4, + 6.25235E-4, + 2.87257E-4, + 2.93135E-4, + 2.41625E-4, + 2.4161E-4, + 2.39815E-4, + 2.41357E-4, + 2.40968E-4, + 2.3845E-4, + 2.56148E-4, + 2.55064E-4, + 2.42472E-4, + 2.4123E-4, + 0.017106261, + 2.63859E-4, + 2.56698E-4, + 2.57478E-4, + 2.4088E-4, + 2.4218E-4, + 2.54247E-4, + 2.56916E-4, + 2.54826E-4, + 4.79977E-4, + 2.70194E-4, + 2.60027E-4, + 2.37854E-4, + 2.56355E-4, + 3.48245E-4, + 6.12313E-4, + 5.9344E-4, + 5.87812E-4, + 5.87461E-4, + 5.81146E-4, + 5.92457E-4, + 5.90151E-4, + 5.72149E-4, + 5.9199E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.004144344479999999, + "scoreError" : 0.003119424338248426, + "scoreConfidence" : [ + 0.001024920141751573, + 0.007263768818248426 + ], + "scorePercentiles" : { + "0.0" : 0.002206665, + "50.0" : 0.0026110465, + "90.0" : 0.0057495673, + "95.0" : 0.0065984667999999976, + "99.0" : 0.00742134581, + "99.9" : 0.18900029, + "99.99" : 0.18900029, + "99.999" : 0.18900029, + "99.9999" : 0.18900029, + "100.0" : 0.18900029 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.002262267, + 0.002628417, + 0.003681065, + 0.002385086, + 0.002244276, + 0.005750807, + 0.004345829, + 0.002275, + 0.002351713, + 0.002314392, + 0.00455161, + 0.005653723, + 0.002643549, + 0.002704678, + 0.00262816, + 0.002645288, + 0.00282946, + 0.006270428, + 0.007127719, + 0.003227388, + 0.002206788, + 0.00234738, + 0.002216778, + 0.002348509, + 0.002625198, + 0.002213632, + 0.004256462, + 0.002341972, + 0.002244304, + 0.002375673, + 0.002211398, + 0.002450263, + 0.002269248, + 0.002320633, + 0.004662205, + 0.00596484, + 0.002397389, + 0.003898681, + 0.00393618, + 0.002358217 + ], + [ + 0.002466753, + 0.002493581, + 0.003173184, + 0.002389774, + 0.002376692, + 0.00576197, + 0.00385513, + 0.002400971, + 0.00248342, + 0.00226452, + 0.003558733, + 0.005521726, + 0.002740647, + 0.00286486, + 0.002630601, + 0.002636529, + 0.002513481, + 0.005552421, + 0.006119326, + 0.00355021, + 0.002215302, + 0.002223889, + 0.002220301, + 0.002442276, + 0.002612322, + 0.002372783, + 0.004189212, + 0.002383294, + 0.002223949, + 0.002248344, + 0.002256294, + 0.002570282, + 0.002394303, + 0.002276744, + 0.003193541, + 0.006123177, + 0.002639965, + 0.003015564, + 0.004137371, + 0.002216958 + ], + [ + 0.002273392, + 0.002631759, + 0.003266557, + 0.002346596, + 0.002282935, + 0.005474676, + 0.003882156, + 0.002291541, + 0.002440547, + 0.00229346, + 0.002970206, + 0.004135194, + 0.002372888, + 0.002219801, + 0.002218448, + 0.002464727, + 0.002545079, + 0.00573841, + 0.007405289, + 0.004735203, + 0.002593267, + 0.002625808, + 0.002656078, + 0.002666458, + 0.002567444, + 0.002506541, + 0.004097112, + 0.002387042, + 0.002213812, + 0.002370082, + 0.002362104, + 0.00259431, + 0.002369572, + 0.002407316, + 0.002431526, + 0.006379336, + 0.002797721, + 0.002938148, + 0.007344875, + 0.002394328 + ], + [ + 0.002501285, + 0.002310605, + 0.003683124, + 0.002287606, + 0.002222295, + 0.005771337, + 0.003612682, + 0.002506957, + 0.00241991, + 0.002326161, + 0.002698688, + 0.18900029, + 0.002234404, + 0.002360535, + 0.00232246, + 0.002259736, + 0.002477597, + 0.005676528, + 0.00661, + 0.004600242, + 0.002561841, + 0.002801411, + 0.002642838, + 0.002528224, + 0.002561247, + 0.002297108, + 0.004165432, + 0.002385132, + 0.002206665, + 0.002381108, + 0.002986947, + 0.002822636, + 0.002534991, + 0.002634864, + 0.002550625, + 0.005710169, + 0.003011942, + 0.006866306, + 0.007123112, + 0.00245847 + ], + [ + 0.002474574, + 0.002526883, + 0.00328726, + 0.002251801, + 0.002328413, + 0.006028199, + 0.003674762, + 0.00242738, + 0.002266154, + 0.002583256, + 0.002928467, + 0.005442842, + 0.002788584, + 0.002690464, + 0.002651459, + 0.002805371, + 0.002735269, + 0.007319739, + 0.007421508, + 0.004590612, + 0.002733468, + 0.002824289, + 0.002625477, + 0.002569264, + 0.002650283, + 0.002452617, + 0.005445862, + 0.002612008, + 0.002675603, + 0.002832361, + 0.002843605, + 0.002610085, + 0.002500805, + 0.002386464, + 0.002384479, + 0.005878867, + 0.0030155, + 0.003474235, + 0.007292458, + 0.00255591 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.take", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.460003780135, + "scoreError" : 0.2372513992373334, + "scoreConfidence" : [ + 0.22275238089766658, + 0.6972551793723334 + ], + "scorePercentiles" : { + "0.0" : 0.023200632, + "50.0" : 0.0260964485, + "90.0" : 1.7662338435, + "95.0" : 2.4836163858499996, + "99.0" : 4.856327799870003, + "99.9" : 5.014103322, + "99.99" : 5.014103322, + "99.999" : 5.014103322, + "99.9999" : 5.014103322, + "100.0" : 5.014103322 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.025135005, + 0.033465488, + 0.024857311, + 0.02492689, + 0.034385502, + 0.025003503, + 1.364798848, + 2.338667653, + 1.735159095, + 0.027108967, + 0.026209806, + 0.024536683, + 0.024917452, + 0.033903174, + 0.023797908, + 0.025002536, + 0.029124043, + 4.052022169, + 1.592580669, + 0.023942734, + 0.025283336, + 0.027176785, + 0.0249701, + 0.024309351, + 0.025077728, + 0.034659918, + 0.026362051, + 0.02448573, + 1.416744514, + 2.450618881, + 1.761972492, + 0.026288805, + 0.025001047, + 0.030125583, + 0.02488333, + 0.023717047, + 0.024042201, + 0.031057362, + 0.024267377, + 4.17186011 + ], + [ + 0.037861315, + 0.02526194, + 0.025940166, + 0.030071024, + 0.024820272, + 0.024433422, + 0.031624083, + 0.025228023, + 1.303062954, + 2.290713074, + 1.655305723, + 0.025344335, + 0.025724, + 0.02496371, + 0.02686097, + 0.032778189, + 0.023627056, + 0.024888355, + 0.029996588, + 0.024999779, + 4.441392057, + 1.663619313, + 0.023768381, + 0.026909655, + 0.028853253, + 0.025178453, + 0.023666705, + 0.026230357, + 0.032626488, + 0.024551603, + 3.868308562, + 1.569222713, + 1.666615424, + 0.024693246, + 0.023756954, + 0.025680779, + 0.02981733, + 0.024812304, + 0.023598908, + 0.024929314 + ], + [ + 0.038293636, + 0.023200632, + 0.024991227, + 0.032851745, + 0.026013211, + 0.024976407, + 0.032808954, + 0.024776518, + 0.025137443, + 2.142189244, + 5.014103322, + 0.028812147, + 0.024531851, + 0.024995596, + 0.031077829, + 0.024960899, + 0.024089807, + 0.032668975, + 0.024937861, + 0.025581829, + 1.5691347, + 2.554014967, + 0.026121495, + 0.024486979, + 0.024116193, + 0.023567849, + 0.024909399, + 0.03541515, + 0.024166147, + 0.025375051, + 0.025114686, + 2.08411544, + 2.473512449, + 0.024736377, + 0.02746773, + 0.025497245, + 0.023840137, + 0.024800958, + 0.033905253, + 0.027147702 + ], + [ + 0.042132738, + 0.026071402, + 0.027115027, + 0.031885224, + 0.024000123, + 0.024889513, + 0.031348771, + 0.025085403, + 1.281877909, + 2.231596079, + 1.689872643, + 0.02531562, + 0.026682022, + 0.023922738, + 0.024917184, + 0.033886562, + 0.024593199, + 0.024864707, + 0.029376442, + 1.804205775, + 3.84911276, + 1.703671453, + 0.023985019, + 0.027145049, + 0.028780904, + 0.023621643, + 0.024308906, + 0.025239984, + 0.032758891, + 0.025493383, + 0.024220569, + 1.530824265, + 1.657561004, + 0.024006061, + 0.02624767, + 0.02682613, + 0.032415213, + 0.024269372, + 0.024731897, + 0.025154065 + ], + [ + 0.037693408, + 0.027188227, + 0.025582912, + 0.03157872, + 0.023648565, + 0.025133045, + 0.031864789, + 0.026530352, + 0.024773714, + 2.116632792, + 4.86051907, + 0.027911705, + 0.024139274, + 0.025434202, + 0.029711926, + 0.026188593, + 0.025419472, + 0.032057549, + 0.024120565, + 0.024937626, + 1.490264903, + 2.484148172, + 1.766707327, + 0.027162333, + 0.027033083, + 0.024470158, + 0.023684642, + 0.024909488, + 0.038947022, + 0.024302864, + 0.025002225, + 1.498058832, + 2.495217078, + 0.02619442, + 0.025033964, + 0.029717561, + 0.025233283, + 0.024412055, + 0.025141582, + 0.033404209 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_drop.png b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_drop.png new file mode 100644 index 0000000000000000000000000000000000000000..1baef7b7b57e4a378fe5ec1b274cf5e6c00d9480 Binary files /dev/null and b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_drop.png differ diff --git a/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_take.json b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_take.json new file mode 100644 index 0000000000000000000000000000000000000000..281eaae253e48aa9cb71bce1d91c061a922cc133 --- /dev/null +++ b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_take.json @@ -0,0 +1,4132 @@ +[ + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.3138780000000006E-5, + "scoreError" : 1.528127842192391E-6, + "scoreConfidence" : [ + 1.1610652157807614E-5, + 1.4666907842192397E-5 + ], + "scorePercentiles" : { + "0.0" : 6.417E-6, + "50.0" : 1.0846499999999999E-5, + "90.0" : 2.1913700000000007E-5, + "95.0" : 3.0361999999999964E-5, + "99.0" : 3.877779000000002E-5, + "99.9" : 4.271E-5, + "99.99" : 4.271E-5, + "99.999" : 4.271E-5, + "99.9999" : 4.271E-5, + "100.0" : 4.271E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.0306E-5, + 9.856E-6, + 9.549E-6, + 9.725E-6, + 8.996E-6, + 9.291E-6, + 9.531E-6, + 9.606E-6, + 1.0886E-5, + 1.1025E-5, + 1.0233E-5, + 1.0611E-5, + 1.452E-5, + 1.0263E-5, + 1.4691E-5, + 1.075E-5, + 1.4091E-5, + 1.3805E-5, + 9.645E-6, + 1.3027E-5, + 1.5055E-5, + 9.623E-6, + 1.0055E-5, + 9.553E-6, + 9.76E-6, + 8.182E-6, + 7.954E-6, + 9.106E-6, + 1.0187E-5, + 8.079E-6, + 8.994E-6, + 8.199E-6, + 8.628E-6, + 1.0725E-5, + 9.59E-6, + 8.075E-6, + 1.2181E-5, + 4.271E-5, + 9.506E-6, + 1.4042E-5 + ], + [ + 1.433E-5, + 1.4074E-5, + 1.5759E-5, + 1.1535E-5, + 1.0959E-5, + 1.4021E-5, + 1.452E-5, + 1.6772E-5, + 1.0264E-5, + 1.4797E-5, + 1.075E-5, + 1.6043E-5, + 2.7417E-5, + 1.5585E-5, + 3.0517E-5, + 1.1777E-5, + 1.1615E-5, + 3.1193E-5, + 3.3444E-5, + 1.2913E-5, + 1.5243E-5, + 3.7173E-5, + 9.412E-6, + 1.0145E-5, + 3.6325E-5, + 7.672E-6, + 7.176E-6, + 9.216E-6, + 3.4192E-5, + 1.3987E-5, + 2.2034E-5, + 7.566E-6, + 7.717E-6, + 1.0716E-5, + 1.0879E-5, + 2.2625E-5, + 1.2431E-5, + 2.0191E-5, + 1.133E-5, + 1.108E-5 + ], + [ + 1.8399E-5, + 1.8937E-5, + 2.0831E-5, + 1.863E-5, + 1.2124E-5, + 1.6012E-5, + 1.4496E-5, + 1.359E-5, + 1.2414E-5, + 1.3463E-5, + 1.3907E-5, + 1.7746E-5, + 1.6589E-5, + 1.1352E-5, + 1.1967E-5, + 1.1069E-5, + 1.5535E-5, + 2.7037E-5, + 1.3044E-5, + 1.2464E-5, + 2.454E-5, + 1.1621E-5, + 1.6172E-5, + 1.2906E-5, + 1.3601E-5, + 2.2422E-5, + 1.1522E-5, + 1.2671E-5, + 1.7785E-5, + 1.3904E-5, + 1.422E-5, + 1.4986E-5, + 1.4666E-5, + 1.4135E-5, + 1.2964E-5, + 1.5253E-5, + 1.4946E-5, + 2.3892E-5, + 1.3321E-5, + 1.2976E-5 + ], + [ + 1.0836E-5, + 9.783E-6, + 9.625E-6, + 9.758E-6, + 9.362E-6, + 9.159E-6, + 1.0604E-5, + 9.923E-6, + 9.577E-6, + 8.597E-6, + 9.215E-6, + 1.0216E-5, + 3.239E-5, + 1.0253E-5, + 1.062E-5, + 1.0587E-5, + 1.0857E-5, + 1.1998E-5, + 2.3706E-5, + 9.751E-6, + 1.5493E-5, + 9.656E-6, + 9.869E-6, + 2.5335E-5, + 8.625E-6, + 7.898E-6, + 2.2052E-5, + 3.5788E-5, + 9.673E-6, + 8.262E-6, + 8.042E-6, + 7.949E-6, + 7.327E-6, + 6.783E-6, + 6.417E-6, + 7.957E-6, + 8.223E-6, + 1.261E-5, + 7.431E-6, + 8.913E-6 + ], + [ + 1.181E-5, + 1.0401E-5, + 9.595E-6, + 1.0438E-5, + 9.703E-6, + 9.85E-6, + 1.1082E-5, + 1.0794E-5, + 1.1058E-5, + 1.1085E-5, + 1.018E-5, + 1.008E-5, + 1.0231E-5, + 9.602E-6, + 9.811E-6, + 9.628E-6, + 1.082E-5, + 1.139E-5, + 3.8794E-5, + 9.979E-6, + 1.7579E-5, + 1.3581E-5, + 1.0044E-5, + 9.086E-6, + 8.007E-6, + 7.865E-6, + 7.832E-6, + 7.794E-6, + 7.127E-6, + 1.1444E-5, + 1.0192E-5, + 8.82E-6, + 7.868E-6, + 7.727E-6, + 1.0464E-5, + 9.907E-6, + 9.264E-6, + 1.4598E-5, + 8.577E-6, + 8.414E-6 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 1.1416414999999992E-5, + "scoreError" : 1.014676800120889E-6, + "scoreConfidence" : [ + 1.0401738199879103E-5, + 1.2431091800120882E-5 + ], + "scorePercentiles" : { + "0.0" : 6.331E-6, + "50.0" : 1.04425E-5, + "90.0" : 1.61839E-5, + "95.0" : 1.8340299999999998E-5, + "99.0" : 3.658052000000006E-5, + "99.9" : 4.0758E-5, + "99.99" : 4.0758E-5, + "99.999" : 4.0758E-5, + "99.9999" : 4.0758E-5, + "100.0" : 4.0758E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.6654E-5, + 1.3017E-5, + 1.1719E-5, + 1.1473E-5, + 1.2789E-5, + 1.7562E-5, + 1.1402E-5, + 1.0957E-5, + 1.1022E-5, + 1.0857E-5, + 1.9211E-5, + 1.0053E-5, + 8.794E-6, + 1.4189E-5, + 8.799E-6, + 8.428E-6, + 8.875E-6, + 1.5506E-5, + 1.2279E-5, + 1.0776E-5, + 1.0253E-5, + 1.0816E-5, + 9.789E-6, + 8.917E-6, + 9.142E-6, + 1.0466E-5, + 9.732E-6, + 9.131E-6, + 9.337E-6, + 9.131E-6, + 9.259E-6, + 2.0806E-5, + 9.287E-6, + 1.297E-5, + 1.6724E-5, + 6.561E-6, + 6.727E-6, + 1.3086E-5, + 7.039E-6, + 6.768E-6 + ], + [ + 1.3694E-5, + 1.2035E-5, + 1.2569E-5, + 1.1748E-5, + 1.1688E-5, + 1.8348E-5, + 1.0778E-5, + 1.0423E-5, + 1.0763E-5, + 1.0834E-5, + 1.87E-5, + 1.0053E-5, + 9.602E-6, + 1.6502E-5, + 1.006E-5, + 1.0053E-5, + 1.0125E-5, + 1.9536E-5, + 1.1442E-5, + 1.434E-5, + 1.0998E-5, + 1.1131E-5, + 1.0462E-5, + 1.0604E-5, + 9.104E-6, + 9.271E-6, + 9.19E-6, + 8.833E-6, + 8.281E-6, + 8.246E-6, + 8.847E-6, + 1.5516E-5, + 9.373E-6, + 1.3942E-5, + 8.46E-6, + 1.5949E-5, + 6.548E-6, + 1.1795E-5, + 7.333E-6, + 6.785E-6 + ], + [ + 1.5676E-5, + 1.1669E-5, + 1.1585E-5, + 1.0984E-5, + 1.1836E-5, + 1.6963E-5, + 1.1479E-5, + 1.1389E-5, + 1.0249E-5, + 1.0889E-5, + 1.919E-5, + 9.701E-6, + 8.523E-6, + 1.5889E-5, + 8.579E-6, + 9.033E-6, + 8.968E-6, + 1.621E-5, + 1.2278E-5, + 1.2375E-5, + 1.3013E-5, + 1.3077E-5, + 1.097E-5, + 9.595E-6, + 8.89E-6, + 1.0333E-5, + 9.281E-6, + 8.809E-6, + 8.543E-6, + 8.466E-6, + 8.679E-6, + 3.6649E-5, + 8.804E-6, + 1.3674E-5, + 8.851E-6, + 1.7827E-5, + 6.865E-6, + 1.1414E-5, + 7.07E-6, + 6.331E-6 + ], + [ + 1.3575E-5, + 1.2263E-5, + 1.2486E-5, + 1.1627E-5, + 1.1402E-5, + 1.8194E-5, + 1.1049E-5, + 1.2736E-5, + 1.0321E-5, + 1.0403E-5, + 1.9206E-5, + 1.1677E-5, + 8.518E-6, + 1.4557E-5, + 8.344E-6, + 1.0052E-5, + 8.284E-6, + 2.9801E-5, + 1.3209E-5, + 1.0858E-5, + 1.187E-5, + 1.21E-5, + 9.484E-6, + 1.0836E-5, + 8.927E-6, + 8.457E-6, + 8.169E-6, + 8.153E-6, + 8.491E-6, + 8.244E-6, + 9.443E-6, + 4.0758E-5, + 9.821E-6, + 1.5875E-5, + 7.868E-6, + 1.5702E-5, + 7.29E-6, + 1.1847E-5, + 6.395E-6, + 6.682E-6 + ], + [ + 1.4617E-5, + 1.1494E-5, + 1.2513E-5, + 1.2272E-5, + 1.2321E-5, + 1.1178E-5, + 1.053E-5, + 9.885E-6, + 9.174E-6, + 8.963E-6, + 9.52E-6, + 9.518E-6, + 9.188E-6, + 1.5553E-5, + 8.849E-6, + 9.332E-6, + 8.904E-6, + 1.483E-5, + 1.3121E-5, + 1.0955E-5, + 1.0317E-5, + 9.472E-6, + 9.188E-6, + 9.114E-6, + 9.825E-6, + 8.84E-6, + 9.089E-6, + 8.939E-6, + 8.698E-6, + 8.959E-6, + 8.458E-6, + 1.753E-5, + 8.547E-6, + 1.4813E-5, + 1.6901E-5, + 6.454E-6, + 8.099E-6, + 1.2578E-5, + 7.504E-6, + 7.397E-6 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 1.7079950000000002E-5, + "scoreError" : 1.533958144309828E-6, + "scoreConfidence" : [ + 1.5545991855690175E-5, + 1.861390814430983E-5 + ], + "scorePercentiles" : { + "0.0" : 8.727E-6, + "50.0" : 1.6804E-5, + "90.0" : 2.2987900000000004E-5, + "95.0" : 2.7795449999999978E-5, + "99.0" : 4.326946000000005E-5, + "99.9" : 6.49E-5, + "99.99" : 6.49E-5, + "99.999" : 6.49E-5, + "99.9999" : 6.49E-5, + "100.0" : 6.49E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.865E-5, + 1.4176E-5, + 1.2085E-5, + 1.985E-5, + 1.8564E-5, + 2.0125E-5, + 1.7305E-5, + 1.2902E-5, + 1.2124E-5, + 1.2728E-5, + 2.1187E-5, + 1.712E-5, + 2.0204E-5, + 2.3808E-5, + 1.2106E-5, + 9.674E-6, + 1.3812E-5, + 1.1189E-5, + 1.078E-5, + 1.6107E-5, + 1.6141E-5, + 1.634E-5, + 1.6702E-5, + 1.7796E-5, + 2.8103E-5, + 1.7964E-5, + 1.8142E-5, + 1.8601E-5, + 1.8233E-5, + 1.2647E-5, + 1.0267E-5, + 2.8344E-5, + 6.49E-5, + 1.0525E-5, + 1.0465E-5, + 1.7655E-5, + 2.4205E-5, + 3.0908E-5, + 1.2201E-5, + 1.9579E-5 + ], + [ + 1.8915E-5, + 1.9728E-5, + 2.7886E-5, + 1.681E-5, + 2.2082E-5, + 1.9644E-5, + 1.7536E-5, + 1.3776E-5, + 1.5386E-5, + 1.2743E-5, + 3.3006E-5, + 1.8311E-5, + 1.5069E-5, + 2.3226E-5, + 1.099E-5, + 1.0257E-5, + 1.8135E-5, + 1.1136E-5, + 1.3838E-5, + 1.9804E-5, + 1.4276E-5, + 1.7409E-5, + 1.7645E-5, + 1.9279E-5, + 2.171E-5, + 1.9192E-5, + 1.7333E-5, + 1.7551E-5, + 1.8161E-5, + 1.2162E-5, + 9.588E-6, + 1.8601E-5, + 2.1937E-5, + 1.0501E-5, + 1.0836E-5, + 1.9379E-5, + 1.5538E-5, + 2.0169E-5, + 1.1876E-5, + 2.2114E-5 + ], + [ + 2.0445E-5, + 1.4899E-5, + 1.8062E-5, + 2.1044E-5, + 1.9048E-5, + 1.9583E-5, + 1.6992E-5, + 1.2378E-5, + 1.2473E-5, + 1.3341E-5, + 2.0901E-5, + 1.5406E-5, + 1.869E-5, + 2.2447E-5, + 1.096E-5, + 9.352E-6, + 1.3414E-5, + 1.0932E-5, + 1.0431E-5, + 1.5892E-5, + 1.6572E-5, + 1.6655E-5, + 1.9955E-5, + 1.5727E-5, + 2.6068E-5, + 1.8046E-5, + 1.8818E-5, + 1.6798E-5, + 1.1591E-5, + 1.1544E-5, + 1.0005E-5, + 1.8357E-5, + 1.6075E-5, + 9.906E-6, + 8.727E-6, + 1.7084E-5, + 3.7672E-5, + 2.6075E-5, + 1.0989E-5, + 1.8849E-5 + ], + [ + 2.4467E-5, + 1.9172E-5, + 1.3165E-5, + 1.1442E-5, + 1.7395E-5, + 1.8077E-5, + 1.8158E-5, + 1.448E-5, + 1.293E-5, + 1.8391E-5, + 3.4903E-5, + 1.1582E-5, + 1.0108E-5, + 2.0751E-5, + 1.1295E-5, + 9.838E-6, + 1.5063E-5, + 1.5686E-5, + 1.5577E-5, + 1.328E-5, + 1.1568E-5, + 1.4959E-5, + 2.145E-5, + 1.65E-5, + 1.9852E-5, + 1.9204E-5, + 2.5608E-5, + 1.9705E-5, + 1.2544E-5, + 1.3588E-5, + 1.2074E-5, + 4.3326E-5, + 3.7287E-5, + 1.4171E-5, + 1.0878E-5, + 1.0789E-5, + 1.2042E-5, + 2.0437E-5, + 8.902E-6, + 1.9202E-5 + ], + [ + 2.0716E-5, + 1.3362E-5, + 1.316E-5, + 2.1045E-5, + 1.7549E-5, + 2.3048E-5, + 1.9364E-5, + 1.4374E-5, + 1.9262E-5, + 1.7986E-5, + 2.1837E-5, + 1.0662E-5, + 9.555E-6, + 2.3244E-5, + 9.565E-6, + 9.179E-6, + 1.5604E-5, + 1.1877E-5, + 1.0271E-5, + 9.376E-6, + 1.7637E-5, + 1.6278E-5, + 1.5403E-5, + 1.7018E-5, + 2.383E-5, + 1.8466E-5, + 2.1881E-5, + 1.5502E-5, + 1.5892E-5, + 1.6405E-5, + 1.0665E-5, + 2.0993E-5, + 1.7465E-5, + 1.7627E-5, + 1.5455E-5, + 1.1864E-5, + 9.329E-6, + 2.104E-5, + 1.354E-5, + 1.8866E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 2.3917775000000005E-5, + "scoreError" : 2.491666467469601E-6, + "scoreConfidence" : [ + 2.1426108532530403E-5, + 2.6409441467469607E-5 + ], + "scorePercentiles" : { + "0.0" : 1.1722E-5, + "50.0" : 1.97965E-5, + "90.0" : 3.643310000000001E-5, + "95.0" : 4.9687699999999995E-5, + "99.0" : 6.900151000000005E-5, + "99.9" : 7.0315E-5, + "99.99" : 7.0315E-5, + "99.999" : 7.0315E-5, + "99.9999" : 7.0315E-5, + "100.0" : 7.0315E-5 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 2.0593E-5, + 1.8681E-5, + 5.6965E-5, + 1.5403E-5, + 1.7759E-5, + 1.7654E-5, + 1.5704E-5, + 2.146E-5, + 4.0335E-5, + 1.7464E-5, + 2.6358E-5, + 1.3725E-5, + 1.7096E-5, + 1.3922E-5, + 1.8184E-5, + 2.261E-5, + 1.8253E-5, + 3.3349E-5, + 2.5654E-5, + 1.7554E-5, + 2.185E-5, + 1.7867E-5, + 1.2473E-5, + 4.9703E-5, + 1.9212E-5, + 2.717E-5, + 3.1677E-5, + 1.3409E-5, + 1.7809E-5, + 1.7148E-5, + 1.7418E-5, + 1.4257E-5, + 2.1667E-5, + 1.7816E-5, + 2.0151E-5, + 1.7644E-5, + 2.2059E-5, + 3.2066E-5, + 1.1722E-5, + 7.0315E-5 + ], + [ + 2.1382E-5, + 1.9227E-5, + 3.6581E-5, + 1.8911E-5, + 1.894E-5, + 2.7913E-5, + 1.9728E-5, + 2.3467E-5, + 1.7583E-5, + 2.0011E-5, + 2.6784E-5, + 1.3342E-5, + 5.0709E-5, + 1.7694E-5, + 1.4105E-5, + 1.7017E-5, + 1.4893E-5, + 1.7828E-5, + 1.4153E-5, + 2.5573E-5, + 1.8265E-5, + 1.3049E-5, + 1.7475E-5, + 4.5301E-5, + 3.1149E-5, + 2.5455E-5, + 3.458E-5, + 1.756E-5, + 2.097E-5, + 3.1833E-5, + 1.9236E-5, + 1.8219E-5, + 2.1735E-5, + 2.4847E-5, + 1.7501E-5, + 1.7259E-5, + 1.7074E-5, + 4.8644E-5, + 1.8588E-5, + 5.6464E-5 + ], + [ + 2.1407E-5, + 1.9064E-5, + 1.9948E-5, + 2.0065E-5, + 2.4212E-5, + 1.9004E-5, + 1.9788E-5, + 2.5098E-5, + 1.7104E-5, + 2.1445E-5, + 2.6279E-5, + 1.9397E-5, + 1.8535E-5, + 1.8057E-5, + 2.664E-5, + 1.8779E-5, + 2.0885E-5, + 1.8154E-5, + 1.3421E-5, + 1.928E-5, + 1.7229E-5, + 2.5607E-5, + 1.8135E-5, + 4.6308E-5, + 3.1053E-5, + 1.5233E-5, + 4.0409E-5, + 2.0336E-5, + 2.0828E-5, + 1.7164E-5, + 2.105E-5, + 1.7019E-5, + 4.2102E-5, + 1.776E-5, + 6.2518E-5, + 1.8331E-5, + 1.908E-5, + 6.9067E-5, + 1.7986E-5, + 5.1456E-5 + ], + [ + 2.0053E-5, + 1.8458E-5, + 5.8445E-5, + 2.1644E-5, + 1.9418E-5, + 1.9302E-5, + 2.2805E-5, + 1.9617E-5, + 1.9696E-5, + 2.4858E-5, + 2.7035E-5, + 2.5537E-5, + 1.9186E-5, + 2.968E-5, + 1.6965E-5, + 2.5135E-5, + 1.8229E-5, + 2.5491E-5, + 2.15E-5, + 1.91E-5, + 2.4663E-5, + 1.7372E-5, + 1.8933E-5, + 3.1951E-5, + 4.3288E-5, + 1.8748E-5, + 3.4067E-5, + 1.6063E-5, + 1.7276E-5, + 1.9508E-5, + 5.0394E-5, + 1.924E-5, + 1.8309E-5, + 2.1459E-5, + 2.4065E-5, + 1.724E-5, + 2.2478E-5, + 3.2269E-5, + 2.0226E-5, + 3.1833E-5 + ], + [ + 2.1356E-5, + 2.0004E-5, + 1.9901E-5, + 1.8612E-5, + 2.336E-5, + 1.8935E-5, + 1.9187E-5, + 2.5302E-5, + 1.8099E-5, + 3.1867E-5, + 2.6812E-5, + 2.4233E-5, + 1.7695E-5, + 1.7378E-5, + 3.5102E-5, + 1.7825E-5, + 2.3458E-5, + 1.942E-5, + 2.3688E-5, + 3.0584E-5, + 1.8507E-5, + 1.9984E-5, + 1.9354E-5, + 4.9397E-5, + 3.2538E-5, + 2.4161E-5, + 3.0751E-5, + 2.1821E-5, + 2.4078E-5, + 1.7775E-5, + 1.7291E-5, + 1.744E-5, + 1.8535E-5, + 1.7396E-5, + 1.9805E-5, + 2.4431E-5, + 1.7789E-5, + 3.3048E-5, + 1.7298E-5, + 4.9368E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.5085647500000002E-4, + "scoreError" : 1.6283513321888603E-5, + "scoreConfidence" : [ + 1.3457296167811142E-4, + 1.6713998832188862E-4 + ], + "scorePercentiles" : { + "0.0" : 5.9937E-5, + "50.0" : 1.507215E-4, + "90.0" : 2.4143620000000002E-4, + "95.0" : 2.7323774999999994E-4, + "99.0" : 3.462359500000002E-4, + "99.9" : 3.74866E-4, + "99.99" : 3.74866E-4, + "99.999" : 3.74866E-4, + "99.9999" : 3.74866E-4, + "100.0" : 3.74866E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 2.96103E-4, + 2.90326E-4, + 3.74866E-4, + 2.32002E-4, + 2.23338E-4, + 2.59337E-4, + 3.27718E-4, + 2.51324E-4, + 2.30297E-4, + 2.226E-4, + 2.15695E-4, + 2.84352E-4, + 2.69661E-4, + 2.894E-4, + 3.46423E-4, + 2.91646E-4, + 2.73426E-4, + 9.4104E-5, + 9.5189E-5, + 9.5513E-5, + 1.57373E-4, + 1.09877E-4, + 1.09571E-4, + 1.22852E-4, + 1.02446E-4, + 1.45621E-4, + 1.05996E-4, + 9.8675E-5, + 8.8976E-5, + 1.57332E-4, + 9.5813E-5, + 1.45647E-4, + 1.58024E-4, + 1.24387E-4, + 1.6942E-4, + 2.13988E-4, + 1.96796E-4, + 1.03669E-4, + 9.7939E-5, + 1.21009E-4 + ], + [ + 2.50161E-4, + 2.41946E-4, + 2.15894E-4, + 2.2472E-4, + 2.31422E-4, + 2.42668E-4, + 2.36848E-4, + 2.30434E-4, + 2.36251E-4, + 2.12868E-4, + 2.23064E-4, + 2.29196E-4, + 2.13802E-4, + 2.09846E-4, + 2.12585E-4, + 2.12838E-4, + 2.13157E-4, + 2.10605E-4, + 2.13486E-4, + 2.18151E-4, + 1.05701E-4, + 8.9845E-5, + 8.7E-5, + 9.1508E-5, + 9.0274E-5, + 8.4287E-5, + 9.7987E-5, + 9.667E-5, + 1.25444E-4, + 1.21743E-4, + 1.05537E-4, + 1.37435E-4, + 1.08287E-4, + 1.33981E-4, + 1.50147E-4, + 9.6558E-5, + 9.3621E-5, + 1.3326E-4, + 1.91238E-4, + 1.17037E-4 + ], + [ + 1.73246E-4, + 2.44601E-4, + 1.56392E-4, + 1.54849E-4, + 1.6071E-4, + 1.55554E-4, + 1.51201E-4, + 1.6041E-4, + 1.53309E-4, + 1.55217E-4, + 1.56053E-4, + 1.58912E-4, + 1.78742E-4, + 1.51613E-4, + 1.57757E-4, + 1.63444E-4, + 1.58163E-4, + 1.58691E-4, + 1.58962E-4, + 1.8399E-4, + 1.26128E-4, + 8.2229E-5, + 8.7124E-5, + 7.498E-5, + 7.1764E-5, + 1.1595E-4, + 6.632E-5, + 6.8115E-5, + 7.4938E-5, + 7.3374E-5, + 6.6485E-5, + 6.3362E-5, + 8.3412E-5, + 7.6246E-5, + 7.001E-5, + 6.4219E-5, + 6.4356E-5, + 6.5763E-5, + 6.5361E-5, + 6.5861E-5 + ], + [ + 2.28794E-4, + 2.34452E-4, + 2.15049E-4, + 2.22805E-4, + 2.17585E-4, + 2.09449E-4, + 2.12791E-4, + 2.15361E-4, + 2.67857E-4, + 2.34641E-4, + 2.11472E-4, + 2.10566E-4, + 2.05891E-4, + 2.24691E-4, + 2.29126E-4, + 2.21972E-4, + 2.2198E-4, + 2.45092E-4, + 2.50872E-4, + 1.14456E-4, + 1.1933E-4, + 1.00829E-4, + 9.0625E-5, + 9.16E-5, + 9.7443E-5, + 8.442E-5, + 9.2121E-5, + 1.07537E-4, + 1.08067E-4, + 1.04526E-4, + 1.0541E-4, + 1.42499E-4, + 1.0336E-4, + 1.06752E-4, + 9.0864E-5, + 8.7182E-5, + 9.629E-5, + 1.00735E-4, + 8.4317E-5, + 8.6513E-5 + ], + [ + 1.77265E-4, + 2.79867E-4, + 1.53898E-4, + 1.52042E-4, + 1.53111E-4, + 1.50489E-4, + 1.55037E-4, + 1.97783E-4, + 1.50192E-4, + 1.60868E-4, + 1.50954E-4, + 1.58274E-4, + 1.49605E-4, + 1.51062E-4, + 1.54843E-4, + 1.51172E-4, + 1.5676E-4, + 1.59973E-4, + 1.55097E-4, + 1.5654E-4, + 1.25145E-4, + 6.3165E-5, + 5.9937E-5, + 6.71E-5, + 6.1031E-5, + 6.4034E-5, + 6.329E-5, + 6.0872E-5, + 6.1405E-5, + 6.0613E-5, + 6.2358E-5, + 6.1443E-5, + 6.322E-5, + 6.2912E-5, + 9.8491E-5, + 6.4123E-5, + 6.1754E-5, + 6.7506E-5, + 6.7134E-5, + 6.1562E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 2.59396075E-4, + "scoreError" : 3.083245950291946E-5, + "scoreConfidence" : [ + 2.2856361549708054E-4, + 2.902285345029194E-4 + ], + "scorePercentiles" : { + "0.0" : 1.70802E-4, + "50.0" : 1.82025E-4, + "90.0" : 4.82823E-4, + "95.0" : 4.9065655E-4, + "99.0" : 5.067418599999999E-4, + "99.9" : 5.0721E-4, + "99.99" : 5.0721E-4, + "99.999" : 5.0721E-4, + "99.9999" : 5.0721E-4, + "100.0" : 5.0721E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 4.86472E-4, + 4.893E-4, + 4.8286E-4, + 4.80597E-4, + 4.92102E-4, + 4.92938E-4, + 5.05738E-4, + 5.02072E-4, + 5.0721E-4, + 4.99483E-4, + 2.01769E-4, + 1.8809E-4, + 1.89141E-4, + 1.86775E-4, + 1.84353E-4, + 1.9054E-4, + 1.83285E-4, + 1.82688E-4, + 1.81954E-4, + 1.82021E-4, + 1.87632E-4, + 1.82302E-4, + 1.8063E-4, + 1.81689E-4, + 1.8227E-4, + 1.83197E-4, + 1.82451E-4, + 1.82121E-4, + 1.8088E-4, + 1.81982E-4, + 1.81912E-4, + 2.05731E-4, + 2.36401E-4, + 1.85412E-4, + 1.83343E-4, + 1.80015E-4, + 2.17813E-4, + 1.82663E-4, + 1.82029E-4, + 1.83094E-4 + ], + [ + 4.80813E-4, + 4.7204E-4, + 4.79513E-4, + 4.72216E-4, + 4.89836E-4, + 4.90687E-4, + 5.06752E-4, + 4.95085E-4, + 4.89886E-4, + 4.85102E-4, + 2.23985E-4, + 1.78881E-4, + 1.73402E-4, + 1.77127E-4, + 1.72853E-4, + 1.7626E-4, + 1.73585E-4, + 1.71953E-4, + 1.71318E-4, + 1.83471E-4, + 1.76793E-4, + 1.73986E-4, + 1.71044E-4, + 1.7236E-4, + 1.72832E-4, + 1.75014E-4, + 1.7411E-4, + 1.72281E-4, + 1.73754E-4, + 1.71781E-4, + 1.73196E-4, + 2.19199E-4, + 1.83145E-4, + 1.72691E-4, + 1.71234E-4, + 1.7237E-4, + 1.73034E-4, + 1.73976E-4, + 2.98627E-4, + 1.76673E-4 + ], + [ + 4.87609E-4, + 4.94182E-4, + 4.73234E-4, + 4.75365E-4, + 4.7594E-4, + 4.86646E-4, + 4.82083E-4, + 4.8249E-4, + 4.79857E-4, + 4.90078E-4, + 2.66346E-4, + 1.80537E-4, + 1.74194E-4, + 1.77621E-4, + 1.75145E-4, + 1.89639E-4, + 1.74708E-4, + 1.74295E-4, + 1.78011E-4, + 1.78069E-4, + 2.3483E-4, + 1.8111E-4, + 1.7401E-4, + 1.79506E-4, + 1.78028E-4, + 1.78595E-4, + 1.80754E-4, + 1.78737E-4, + 1.80755E-4, + 1.81271E-4, + 1.83544E-4, + 1.85367E-4, + 2.24848E-4, + 1.8495E-4, + 1.86909E-4, + 1.81361E-4, + 1.79876E-4, + 1.80527E-4, + 1.77739E-4, + 1.79618E-4 + ], + [ + 4.73014E-4, + 4.85432E-4, + 4.77574E-4, + 4.78459E-4, + 4.76038E-4, + 4.76973E-4, + 4.77215E-4, + 4.70336E-4, + 4.71782E-4, + 4.81904E-4, + 1.8546E-4, + 1.76382E-4, + 1.74068E-4, + 1.75744E-4, + 1.75527E-4, + 2.20059E-4, + 1.73891E-4, + 1.7348E-4, + 1.73469E-4, + 1.73667E-4, + 2.19069E-4, + 1.71384E-4, + 1.71527E-4, + 1.74048E-4, + 1.75193E-4, + 1.73917E-4, + 1.84715E-4, + 1.77213E-4, + 2.27908E-4, + 1.72079E-4, + 1.74948E-4, + 1.9141E-4, + 2.32784E-4, + 1.78695E-4, + 1.76363E-4, + 1.76052E-4, + 1.90218E-4, + 1.91948E-4, + 1.89365E-4, + 1.74083E-4 + ], + [ + 4.7096E-4, + 4.74094E-4, + 4.71896E-4, + 4.74961E-4, + 4.70055E-4, + 4.65264E-4, + 4.72114E-4, + 4.65631E-4, + 4.68841E-4, + 4.70904E-4, + 1.85542E-4, + 1.76213E-4, + 1.77206E-4, + 1.89515E-4, + 1.71234E-4, + 1.7167E-4, + 1.7726E-4, + 1.70802E-4, + 1.72232E-4, + 1.77941E-4, + 2.16032E-4, + 1.72057E-4, + 1.73023E-4, + 1.72326E-4, + 1.79432E-4, + 1.76985E-4, + 1.75679E-4, + 1.71935E-4, + 1.73653E-4, + 1.72378E-4, + 1.73391E-4, + 2.78193E-4, + 3.42061E-4, + 1.80566E-4, + 1.76075E-4, + 1.77898E-4, + 1.74653E-4, + 1.77175E-4, + 1.78064E-4, + 1.75707E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.0026458188200000005, + "scoreError" : 3.724748475858348E-4, + "scoreConfidence" : [ + 0.002273343972414166, + 0.003018293667585835 + ], + "scorePercentiles" : { + "0.0" : 0.001561146, + "50.0" : 0.0016262675, + "90.0" : 0.0049115806, + "95.0" : 0.00555910225, + "99.0" : 0.006832986540000008, + "99.9" : 0.007407361, + "99.99" : 0.007407361, + "99.999" : 0.007407361, + "99.9999" : 0.007407361, + "100.0" : 0.007407361 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001641989, + 0.004912416, + 0.004903287, + 0.001617115, + 0.001619366, + 0.001613995, + 0.001676385, + 0.001629409, + 0.00162608, + 0.001864641, + 0.001618135, + 0.001632043, + 0.004851429, + 0.005116439, + 0.005561573, + 0.005649646, + 0.001846712, + 0.00176171, + 0.001614585, + 0.001615055, + 0.001622779, + 0.001614204, + 0.001612416, + 0.00161248, + 0.004507489, + 0.001632372, + 0.001722502, + 0.001615179, + 0.001654336, + 0.001649497, + 0.001611956, + 0.001614044, + 0.001613091, + 0.001609711, + 0.002826759, + 0.004901012, + 0.005666035, + 0.005591654, + 0.005512158, + 0.005741125 + ], + [ + 0.00163345, + 0.004802275, + 0.004785467, + 0.001621456, + 0.001610303, + 0.001612834, + 0.001614965, + 0.001645905, + 0.001653464, + 0.00161203, + 0.001612382, + 0.001624008, + 0.004908265, + 0.004888519, + 0.004829976, + 0.004805187, + 0.001649555, + 0.001614817, + 0.001611951, + 0.001613486, + 0.001618236, + 0.001608243, + 0.001615133, + 0.001615379, + 0.001628312, + 0.001625681, + 0.001589984, + 0.001576798, + 0.001584208, + 0.001569824, + 0.001581784, + 0.001578142, + 0.001574592, + 0.002159507, + 0.004664558, + 0.004729665, + 0.004685121, + 0.004625908, + 0.004683018, + 0.004702209 + ], + [ + 0.001625449, + 0.004858113, + 0.007407361, + 0.001616555, + 0.001614296, + 0.001617008, + 0.001621733, + 0.001623486, + 0.001617283, + 0.001616672, + 0.00161198, + 0.001642648, + 0.005140848, + 0.005567264, + 0.005499269, + 0.005610425, + 0.001803282, + 0.001777246, + 0.001610869, + 0.001619417, + 0.001619689, + 0.001611039, + 0.001606866, + 0.001615226, + 0.001615989, + 0.001630316, + 0.001623571, + 0.001614745, + 0.001616502, + 0.001614786, + 0.001612351, + 0.001609353, + 0.001617442, + 0.001610724, + 0.003370399, + 0.004803693, + 0.004763557, + 0.004848208, + 0.006842215, + 0.005919369 + ], + [ + 0.001644044, + 0.004732261, + 0.004887935, + 0.001620162, + 0.00161723, + 0.00161233, + 0.001614257, + 0.00163061, + 0.00161835, + 0.001619528, + 0.001613228, + 0.001691423, + 0.004803902, + 0.004773331, + 0.004810127, + 0.004911949, + 0.001630546, + 0.001617261, + 0.001612901, + 0.001617071, + 0.001618758, + 0.001663554, + 0.001641042, + 0.001615507, + 0.001613841, + 0.001618242, + 0.001613297, + 0.001610104, + 0.001612195, + 0.001613323, + 0.001619444, + 0.001704985, + 0.00161015, + 0.002455064, + 0.004734826, + 0.004789269, + 0.004838491, + 0.004786511, + 0.005494829, + 0.004816777 + ], + [ + 0.001640827, + 0.004883599, + 0.00499595, + 0.001687183, + 0.001645451, + 0.00161552, + 0.001658437, + 0.001632225, + 0.001634155, + 0.001615853, + 0.001612684, + 0.001636025, + 0.004746813, + 0.004777993, + 0.004745469, + 0.004774109, + 0.001631113, + 0.001612841, + 0.001614664, + 0.001736354, + 0.00160188, + 0.001576585, + 0.001577288, + 0.001576213, + 0.001577689, + 0.001626455, + 0.001580743, + 0.001576203, + 0.001585418, + 0.001563689, + 0.001574219, + 0.001561146, + 0.001569171, + 0.0015727, + 0.002657493, + 0.004719635, + 0.005111205, + 0.004839825, + 0.004721634, + 0.005012003 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.01944036752500001, + "scoreError" : 0.0019381122121999547, + "scoreConfidence" : [ + 0.017502255312800055, + 0.021378479737199963 + ], + "scorePercentiles" : { + "0.0" : 0.01523974, + "50.0" : 0.016154019999999998, + "90.0" : 0.023280079800000002, + "95.0" : 0.046250580949999995, + "99.0" : 0.05107119785000001, + "99.9" : 0.054351501, + "99.99" : 0.054351501, + "99.999" : 0.054351501, + "99.9999" : 0.054351501, + "100.0" : 0.054351501 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.023285255, + 0.019056768, + 0.016776287, + 0.049765291, + 0.023015583, + 0.019926291, + 0.018215213, + 0.016834235, + 0.016000594, + 0.015836394, + 0.046882215, + 0.020992505, + 0.016098945, + 0.015919999, + 0.017016053, + 0.016223944, + 0.016161293, + 0.01569701, + 0.015936185, + 0.051079189, + 0.02060172, + 0.017295859, + 0.016840949, + 0.01698633, + 0.026069844, + 0.016757343, + 0.016704543, + 0.016836108, + 0.016736268, + 0.018965545, + 0.016714361, + 0.016983304, + 0.016619996, + 0.01785725, + 0.021979449, + 0.01651567, + 0.016152594, + 0.016063125, + 0.016251083, + 0.015816024 + ], + [ + 0.019784133, + 0.015991615, + 0.015811729, + 0.04964564, + 0.020925672, + 0.016333648, + 0.017777693, + 0.016042455, + 0.016100485, + 0.016623085, + 0.054351501, + 0.021479846, + 0.015834385, + 0.015920176, + 0.017074862, + 0.017518005, + 0.016162474, + 0.016433867, + 0.016011741, + 0.034015804, + 0.021221246, + 0.016138216, + 0.016126501, + 0.015881345, + 0.016617567, + 0.015992622, + 0.016453851, + 0.01597812, + 0.017210091, + 0.021132102, + 0.015858972, + 0.015883547, + 0.015832342, + 0.016248872, + 0.021451876, + 0.01616388, + 0.015888662, + 0.016032366, + 0.016101763, + 0.015950045 + ], + [ + 0.019826907, + 0.021497944, + 0.016138521, + 0.046133388, + 0.01523974, + 0.015660681, + 0.017292616, + 0.020530061, + 0.016093722, + 0.016341592, + 0.046256749, + 0.015779173, + 0.015746837, + 0.015611975, + 0.016996482, + 0.021577572, + 0.016406715, + 0.015906409, + 0.015832185, + 0.047790678, + 0.015803975, + 0.015824113, + 0.01590215, + 0.016162937, + 0.020576014, + 0.016621113, + 0.015987491, + 0.016135071, + 0.015875201, + 0.015948024, + 0.01573033, + 0.015933253, + 0.016090119, + 0.015618277, + 0.016851979, + 0.016172898, + 0.015540249, + 0.015570229, + 0.021071741, + 0.01572953 + ], + [ + 0.019621863, + 0.015919892, + 0.016440668, + 0.050280074, + 0.021711794, + 0.016093709, + 0.01724701, + 0.035826263, + 0.015851675, + 0.015913959, + 0.016038233, + 0.046758066, + 0.02070723, + 0.01574927, + 0.016246158, + 0.017122535, + 0.023233503, + 0.015860918, + 0.01596954, + 0.016019641, + 0.015924273, + 0.021923375, + 0.016140562, + 0.015742958, + 0.015724884, + 0.015605384, + 0.015393075, + 0.015979804, + 0.015999877, + 0.015615426, + 0.02309493, + 0.015699285, + 0.016015774, + 0.015666012, + 0.015603293, + 0.040047375, + 0.015951989, + 0.016035861, + 0.016161315, + 0.016155446 + ], + [ + 0.020121387, + 0.016181212, + 0.015955852, + 0.044898494, + 0.021693182, + 0.018934402, + 0.017377916, + 0.037992385, + 0.016095523, + 0.015798176, + 0.015810421, + 0.04724581, + 0.021034915, + 0.015818319, + 0.01575796, + 0.017352917, + 0.023365077, + 0.015735665, + 0.015861822, + 0.015877459, + 0.015976077, + 0.022347404, + 0.015880306, + 0.015829057, + 0.015863335, + 0.015665955, + 0.015656946, + 0.015884199, + 0.015996495, + 0.015776377, + 0.0158899, + 0.015765194, + 0.016394123, + 0.015749898, + 0.015928707, + 0.031877486, + 0.015623018, + 0.0160642, + 0.016818973, + 0.015810005 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 1.1825934999999999E-4, + "scoreError" : 3.7452934349419985E-6, + "scoreConfidence" : [ + 1.14514056565058E-4, + 1.2200464343494198E-4 + ], + "scorePercentiles" : { + "0.0" : 1.10757E-4, + "50.0" : 1.15564E-4, + "90.0" : 1.2200210000000001E-4, + "95.0" : 1.3085164999999998E-4, + "99.0" : 2.1537974000000054E-4, + "99.9" : 3.01335E-4, + "99.99" : 3.01335E-4, + "99.999" : 3.01335E-4, + "99.9999" : 3.01335E-4, + "100.0" : 3.01335E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.36964E-4, + 1.26697E-4, + 1.15107E-4, + 1.14946E-4, + 1.16366E-4, + 1.14794E-4, + 1.16833E-4, + 1.14383E-4, + 1.14531E-4, + 1.20509E-4, + 1.26424E-4, + 1.1475E-4, + 1.15719E-4, + 1.14585E-4, + 1.20153E-4, + 1.16874E-4, + 1.13118E-4, + 1.16313E-4, + 1.18648E-4, + 1.17302E-4, + 1.13351E-4, + 1.11902E-4, + 1.13929E-4, + 1.13684E-4, + 1.17018E-4, + 1.1675E-4, + 1.15551E-4, + 1.16091E-4, + 1.49809E-4, + 1.16544E-4, + 1.1477E-4, + 1.16945E-4, + 1.18235E-4, + 1.17906E-4, + 1.33124E-4, + 1.14792E-4, + 1.21436E-4, + 1.19919E-4, + 1.18827E-4, + 1.16132E-4 + ], + [ + 1.29607E-4, + 1.27428E-4, + 1.14795E-4, + 1.18903E-4, + 1.12432E-4, + 1.11876E-4, + 1.14024E-4, + 1.15359E-4, + 1.14047E-4, + 1.12329E-4, + 1.17899E-4, + 1.12481E-4, + 1.20407E-4, + 1.13077E-4, + 1.13567E-4, + 1.11775E-4, + 1.11973E-4, + 1.12384E-4, + 1.16404E-4, + 1.18577E-4, + 1.15127E-4, + 1.16076E-4, + 1.12325E-4, + 1.14275E-4, + 1.12722E-4, + 1.16041E-4, + 1.15111E-4, + 1.13473E-4, + 1.19296E-4, + 1.16163E-4, + 1.15791E-4, + 1.18604E-4, + 1.16591E-4, + 1.16494E-4, + 1.14155E-4, + 1.16668E-4, + 1.14783E-4, + 1.18831E-4, + 1.15489E-4, + 1.18063E-4 + ], + [ + 1.28309E-4, + 1.29629E-4, + 1.14028E-4, + 1.12589E-4, + 1.12226E-4, + 1.15188E-4, + 1.18387E-4, + 1.13963E-4, + 1.14469E-4, + 1.17799E-4, + 1.12801E-4, + 1.12522E-4, + 1.12839E-4, + 1.14175E-4, + 1.13417E-4, + 1.12044E-4, + 1.18469E-4, + 1.1352E-4, + 1.12725E-4, + 1.18124E-4, + 1.13595E-4, + 1.13012E-4, + 1.13554E-4, + 1.17061E-4, + 1.15698E-4, + 1.16508E-4, + 1.15692E-4, + 1.16079E-4, + 1.19341E-4, + 1.19633E-4, + 1.15259E-4, + 1.13187E-4, + 1.13965E-4, + 1.12648E-4, + 1.15788E-4, + 1.15555E-4, + 1.13279E-4, + 1.17242E-4, + 1.12917E-4, + 1.13022E-4 + ], + [ + 1.30916E-4, + 3.01335E-4, + 1.16154E-4, + 1.12174E-4, + 1.15315E-4, + 1.15614E-4, + 1.14078E-4, + 1.15513E-4, + 1.15159E-4, + 1.13578E-4, + 1.13324E-4, + 1.17424E-4, + 1.1667E-4, + 1.15606E-4, + 1.17348E-4, + 1.15225E-4, + 1.18489E-4, + 1.14995E-4, + 1.15115E-4, + 1.17737E-4, + 1.15735E-4, + 1.12234E-4, + 1.1462E-4, + 1.13209E-4, + 1.14801E-4, + 1.15672E-4, + 1.55954E-4, + 1.3577E-4, + 1.14255E-4, + 1.14953E-4, + 1.18041E-4, + 1.16545E-4, + 1.14604E-4, + 1.15989E-4, + 1.13974E-4, + 1.15819E-4, + 1.23264E-4, + 1.16361E-4, + 1.15573E-4, + 1.14532E-4 + ], + [ + 1.34417E-4, + 1.25648E-4, + 1.13885E-4, + 1.17493E-4, + 1.13297E-4, + 1.13923E-4, + 1.22065E-4, + 1.14658E-4, + 1.14182E-4, + 1.12674E-4, + 1.12491E-4, + 1.1356E-4, + 1.12108E-4, + 1.13473E-4, + 1.15752E-4, + 1.10757E-4, + 1.15794E-4, + 1.1475E-4, + 1.14784E-4, + 1.17411E-4, + 1.1517E-4, + 1.1291E-4, + 1.14485E-4, + 1.17241E-4, + 1.16008E-4, + 1.18616E-4, + 2.1598E-4, + 1.12714E-4, + 1.32118E-4, + 1.13298E-4, + 1.14352E-4, + 1.20645E-4, + 1.17162E-4, + 1.1782E-4, + 1.16358E-4, + 1.16146E-4, + 1.15816E-4, + 1.23821E-4, + 1.18284E-4, + 1.18719E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 1.5134146500000016E-4, + "scoreError" : 1.6435579926037524E-5, + "scoreConfidence" : [ + 1.3490588507396263E-4, + 1.677770449260377E-4 + ], + "scorePercentiles" : { + "0.0" : 1.04726E-4, + "50.0" : 1.14947E-4, + "90.0" : 1.869011E-4, + "95.0" : 3.780382999999986E-4, + "99.0" : 4.2063475E-4, + "99.9" : 4.22929E-4, + "99.99" : 4.22929E-4, + "99.999" : 4.22929E-4, + "99.9999" : 4.22929E-4, + "100.0" : 4.22929E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 4.13967E-4, + 4.13698E-4, + 1.77167E-4, + 1.76215E-4, + 1.67389E-4, + 1.66302E-4, + 1.6835E-4, + 1.66028E-4, + 1.65342E-4, + 1.67569E-4, + 1.75149E-4, + 1.7219E-4, + 1.91097E-4, + 1.72024E-4, + 1.76005E-4, + 1.75809E-4, + 2.23988E-4, + 1.12063E-4, + 1.07176E-4, + 1.0732E-4, + 1.05318E-4, + 1.04887E-4, + 1.12351E-4, + 1.07378E-4, + 1.04956E-4, + 1.05532E-4, + 1.06885E-4, + 1.0545E-4, + 1.0754E-4, + 1.0572E-4, + 1.05747E-4, + 1.96382E-4, + 1.06411E-4, + 1.06938E-4, + 1.05E-4, + 1.04726E-4, + 1.06423E-4, + 1.05662E-4, + 1.07471E-4, + 1.05601E-4 + ], + [ + 4.08296E-4, + 4.14096E-4, + 1.78064E-4, + 1.72946E-4, + 1.76758E-4, + 1.6982E-4, + 1.73014E-4, + 1.66753E-4, + 1.73412E-4, + 1.72356E-4, + 1.75243E-4, + 1.72988E-4, + 1.7975E-4, + 1.77665E-4, + 1.76129E-4, + 1.76594E-4, + 2.25694E-4, + 1.1176E-4, + 1.08584E-4, + 1.08423E-4, + 1.08738E-4, + 1.05892E-4, + 1.05659E-4, + 1.06013E-4, + 1.05094E-4, + 1.0728E-4, + 1.05556E-4, + 1.05618E-4, + 1.05523E-4, + 1.05314E-4, + 1.05731E-4, + 1.05458E-4, + 1.06917E-4, + 1.05803E-4, + 1.05817E-4, + 1.06298E-4, + 1.0766E-4, + 1.10631E-4, + 1.06801E-4, + 1.06269E-4 + ], + [ + 4.2069E-4, + 4.10465E-4, + 1.79735E-4, + 1.74425E-4, + 1.73011E-4, + 1.68878E-4, + 1.68672E-4, + 1.6819E-4, + 1.68743E-4, + 1.66773E-4, + 1.77614E-4, + 1.79728E-4, + 1.86749E-4, + 1.732E-4, + 1.97363E-4, + 1.78578E-4, + 2.36807E-4, + 1.12527E-4, + 1.07354E-4, + 1.07592E-4, + 1.07189E-4, + 1.10403E-4, + 1.0499E-4, + 1.05679E-4, + 1.04946E-4, + 1.05131E-4, + 1.06265E-4, + 1.05279E-4, + 1.05178E-4, + 1.05384E-4, + 1.0662E-4, + 1.45345E-4, + 1.0615E-4, + 1.05693E-4, + 1.06253E-4, + 1.07317E-4, + 1.06977E-4, + 1.05911E-4, + 1.0939E-4, + 1.06713E-4 + ], + [ + 4.15165E-4, + 4.22929E-4, + 1.78008E-4, + 1.74847E-4, + 1.72696E-4, + 1.71024E-4, + 1.76709E-4, + 1.73445E-4, + 1.77065E-4, + 1.78445E-4, + 1.77974E-4, + 1.77119E-4, + 1.75281E-4, + 1.74882E-4, + 1.76603E-4, + 1.69674E-4, + 2.34166E-4, + 1.11425E-4, + 1.06844E-4, + 1.08257E-4, + 1.0539E-4, + 1.05462E-4, + 1.06082E-4, + 1.0627E-4, + 1.05892E-4, + 1.06212E-4, + 1.05924E-4, + 1.05924E-4, + 1.07109E-4, + 1.05422E-4, + 1.05866E-4, + 1.48209E-4, + 1.06762E-4, + 1.05157E-4, + 1.05337E-4, + 1.04838E-4, + 1.05424E-4, + 1.06436E-4, + 1.05889E-4, + 1.06622E-4 + ], + [ + 4.00278E-4, + 3.84252E-4, + 1.86918E-4, + 1.7957E-4, + 1.86163E-4, + 1.82831E-4, + 1.78159E-4, + 1.77871E-4, + 1.78445E-4, + 1.79782E-4, + 1.89607E-4, + 1.85787E-4, + 1.81017E-4, + 1.83881E-4, + 1.84659E-4, + 1.80629E-4, + 2.59978E-4, + 1.19643E-4, + 1.16418E-4, + 1.37143E-4, + 1.15646E-4, + 1.14332E-4, + 1.14904E-4, + 1.15154E-4, + 1.15015E-4, + 1.14518E-4, + 1.13656E-4, + 1.14576E-4, + 1.14663E-4, + 1.14469E-4, + 1.15284E-4, + 1.1499E-4, + 1.15045E-4, + 1.14572E-4, + 1.13848E-4, + 1.13216E-4, + 1.15034E-4, + 1.14685E-4, + 1.18894E-4, + 1.18426E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.0024601392450000004, + "scoreError" : 0.0010548092536902507, + "scoreConfidence" : [ + 0.0014053299913097496, + 0.003514948498690251 + ], + "scorePercentiles" : { + "0.0" : 0.001031204, + "50.0" : 0.0010644295000000002, + "90.0" : 0.0017554603, + "95.0" : 0.01783406405, + "99.0" : 0.018756401080000006, + "99.9" : 0.019435475, + "99.99" : 0.019435475, + "99.999" : 0.019435475, + "99.9999" : 0.019435475, + "100.0" : 0.019435475 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001072861, + 0.001078154, + 0.001102116, + 0.001737676, + 0.001748209, + 0.017896372, + 0.001063717, + 0.001061816, + 0.001060712, + 0.001063329, + 0.00105633, + 0.017834479, + 0.001035089, + 0.001034462, + 0.001038337, + 0.001034966, + 0.001039787, + 0.001040573, + 0.001714653, + 0.001746362, + 0.001734356, + 0.001714518, + 0.001699058, + 0.017861109, + 0.00103431, + 0.00103621, + 0.001039608, + 0.001036034, + 0.001039599, + 0.001031301, + 0.001040688, + 0.00112505, + 0.001203795, + 0.001039759, + 0.001074845, + 0.001035093, + 0.001041456, + 0.00103659, + 0.001250803, + 0.001210056 + ], + [ + 0.001064721, + 0.001078123, + 0.001112574, + 0.001724965, + 0.001756266, + 0.017962556, + 0.001061451, + 0.001063299, + 0.001062569, + 0.00106058, + 0.001055, + 0.017745105, + 0.001062002, + 0.001061004, + 0.001058914, + 0.001058813, + 0.001070598, + 0.00106206, + 0.001706192, + 0.001738778, + 0.00173548, + 0.001725894, + 0.00172879, + 0.01806904, + 0.00106191, + 0.001065488, + 0.001064487, + 0.001065245, + 0.001064361, + 0.001063011, + 0.001058151, + 0.001064581, + 0.001064548, + 0.001042095, + 0.001068396, + 0.001033948, + 0.001039619, + 0.001036321, + 0.001038144, + 0.001036995 + ], + [ + 0.001040736, + 0.001203414, + 0.001078115, + 0.001667255, + 0.001737603, + 0.01782618, + 0.001060841, + 0.001060625, + 0.001057795, + 0.001060147, + 0.001058504, + 0.017746356, + 0.001064521, + 0.001060336, + 0.001057498, + 0.00107789, + 0.001076477, + 0.001084607, + 0.001717115, + 0.001733872, + 0.001732883, + 0.001761166, + 0.002107207, + 0.019435475, + 0.001059113, + 0.001260692, + 0.001248574, + 0.00124398, + 0.001147893, + 0.001057169, + 0.001062513, + 0.001065647, + 0.00110032, + 0.001156575, + 0.001213692, + 0.001061069, + 0.001069345, + 0.001061417, + 0.001061963, + 0.001064388 + ], + [ + 0.001040893, + 0.001041342, + 0.001078708, + 0.0016595, + 0.001710196, + 0.018113621, + 0.001034693, + 0.001035923, + 0.00103999, + 0.001037507, + 0.001036075, + 0.017693007, + 0.001063687, + 0.001061428, + 0.001067295, + 0.001060865, + 0.001067075, + 0.001063779, + 0.001695695, + 0.001773727, + 0.001714052, + 0.001727551, + 0.001738919, + 0.018437728, + 0.001037539, + 0.0010409, + 0.001051733, + 0.001038868, + 0.001040719, + 0.001047051, + 0.001040525, + 0.001262258, + 0.00103945, + 0.001037713, + 0.001070787, + 0.00103948, + 0.001042968, + 0.001062222, + 0.001066581, + 0.001063244 + ], + [ + 0.001040035, + 0.001078096, + 0.001080195, + 0.001670866, + 0.001699854, + 0.017967355, + 0.001033334, + 0.001035129, + 0.001031445, + 0.001037198, + 0.001031204, + 0.017751549, + 0.00104476, + 0.001032935, + 0.00103648, + 0.001034922, + 0.001039896, + 0.001037799, + 0.001656975, + 0.001692586, + 0.001728575, + 0.001841332, + 0.001742335, + 0.01875962, + 0.001057969, + 0.001065187, + 0.001067789, + 0.001074635, + 0.001065806, + 0.00107072, + 0.001062706, + 0.001063995, + 0.00106211, + 0.001064471, + 0.001104204, + 0.001084798, + 0.001043676, + 0.001109279, + 0.001034171, + 0.001039284 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.017118883294999995, + "scoreError" : 0.006629950539653628, + "scoreConfidence" : [ + 0.010488932755346366, + 0.02374883383465362 + ], + "scorePercentiles" : { + "0.0" : 0.010169741, + "50.0" : 0.0106741645, + "90.0" : 0.011109742, + "95.0" : 0.12600573709999868, + "99.0" : 0.14272167963, + "99.9" : 0.146324271, + "99.99" : 0.146324271, + "99.999" : 0.146324271, + "99.9999" : 0.146324271, + "100.0" : 0.146324271 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.010860657, + 0.141912459, + 0.010502557, + 0.010257646, + 0.010531558, + 0.010725375, + 0.010851223, + 0.010974195, + 0.010766343, + 0.010912489, + 0.141483319, + 0.010566327, + 0.01082226, + 0.010504381, + 0.010713519, + 0.010992787, + 0.011080375, + 0.010434018, + 0.010904795, + 0.010749555, + 0.010613462, + 0.133977192, + 0.011299381, + 0.010880943, + 0.010403146, + 0.010518319, + 0.010169741, + 0.011442237, + 0.010566656, + 0.010320025, + 0.010649807, + 0.010431594, + 0.010631924, + 0.010587802, + 0.010289876, + 0.010805241, + 0.010300966, + 0.011965285, + 0.010339106, + 0.010384316 + ], + [ + 0.011112766, + 0.011421263, + 0.010713608, + 0.011060613, + 0.010686825, + 0.010532701, + 0.010902187, + 0.010885258, + 0.010547931, + 0.010480179, + 0.010634922, + 0.010660365, + 0.010404303, + 0.010668593, + 0.010615362, + 0.010599695, + 0.010802789, + 0.010984443, + 0.010630458, + 0.010600906, + 0.010560614, + 0.010588959, + 0.010338695, + 0.010602888, + 0.010621062, + 0.010599502, + 0.010722882, + 0.01045618, + 0.010669671, + 0.010486405, + 0.010803767, + 0.131935026, + 0.010629166, + 0.010627758, + 0.010580396, + 0.010514398, + 0.010649863, + 0.010624128, + 0.010716672, + 0.010590243 + ], + [ + 0.010984691, + 0.142727264, + 0.011337156, + 0.011317687, + 0.010439877, + 0.010646833, + 0.010980504, + 0.010740781, + 0.010539889, + 0.010728374, + 0.142168827, + 0.010769838, + 0.010451219, + 0.013349248, + 0.011282461, + 0.010829311, + 0.010724094, + 0.010528761, + 0.010589168, + 0.010676708, + 0.010663738, + 0.134666133, + 0.010756881, + 0.010453349, + 0.010436474, + 0.010715887, + 0.010322129, + 0.010730989, + 0.010553881, + 0.011148916, + 0.010976642, + 0.010580572, + 0.010783126, + 0.010420527, + 0.010782135, + 0.010478048, + 0.010572517, + 0.010620726, + 0.010623551, + 0.011082526 + ], + [ + 0.010886405, + 0.010573641, + 0.011020508, + 0.010416943, + 0.010680921, + 0.010689526, + 0.01087156, + 0.010677344, + 0.0107125, + 0.010757008, + 0.01085479, + 0.010617031, + 0.010456257, + 0.010698293, + 0.010671883, + 0.010699871, + 0.010684861, + 0.010739043, + 0.010793895, + 0.010687273, + 0.010727872, + 0.010775868, + 0.010771738, + 0.010753789, + 0.010478884, + 0.010479863, + 0.010632363, + 0.010685959, + 0.010785581, + 0.010539363, + 0.010773312, + 0.010568506, + 0.010756559, + 0.010694645, + 0.010747223, + 0.010685147, + 0.010302887, + 0.01088228, + 0.010742906, + 0.010852103 + ], + [ + 0.010912664, + 0.146324271, + 0.01048435, + 0.010504689, + 0.010580496, + 0.010409538, + 0.010954114, + 0.010676446, + 0.010645088, + 0.010666726, + 0.141123486, + 0.010718236, + 0.010473838, + 0.010408836, + 0.01058274, + 0.010418044, + 0.010475693, + 0.010616968, + 0.010596095, + 0.010900569, + 0.010548382, + 0.010535948, + 0.010724393, + 0.010954027, + 0.010612178, + 0.010632689, + 0.010578366, + 0.010710501, + 0.010491071, + 0.010656214, + 0.134534859, + 0.010717414, + 0.010556927, + 0.010652965, + 0.010722263, + 0.010622508, + 0.010715477, + 0.010627779, + 0.010689773, + 0.0106259 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 8.731592999999996E-5, + "scoreError" : 2.3834368103813865E-5, + "scoreConfidence" : [ + 6.34815618961861E-5, + 1.1115029810381381E-4 + ], + "scorePercentiles" : { + "0.0" : 1.4574E-5, + "50.0" : 5.2226E-5, + "90.0" : 2.796342E-4, + "95.0" : 2.8341735E-4, + "99.0" : 2.8811742E-4, + "99.9" : 3.25378E-4, + "99.99" : 3.25378E-4, + "99.999" : 3.25378E-4, + "99.9999" : 3.25378E-4, + "100.0" : 3.25378E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 2.77688E-4, + 2.78827E-4, + 2.78863E-4, + 2.78786E-4, + 3.25378E-4, + 2.81848E-4, + 2.80963E-4, + 2.83472E-4, + 6.0661E-5, + 5.2696E-5, + 5.3328E-5, + 5.2689E-5, + 5.3083E-5, + 5.2056E-5, + 5.224E-5, + 7.1291E-5, + 5.2139E-5, + 5.4031E-5, + 5.3482E-5, + 5.1565E-5, + 1.13785E-4, + 5.1665E-5, + 1.01858E-4, + 1.6402E-5, + 1.5416E-5, + 1.6329E-5, + 1.5892E-5, + 1.5219E-5, + 1.518E-5, + 1.7209E-5, + 1.7002E-5, + 1.6679E-5, + 1.603E-5, + 1.6463E-5, + 1.5536E-5, + 1.6285E-5, + 1.7311E-5, + 1.6121E-5, + 1.6539E-5, + 1.5676E-5 + ], + [ + 2.79816E-4, + 2.79438E-4, + 2.7829E-4, + 2.77896E-4, + 2.7762E-4, + 2.80893E-4, + 2.77418E-4, + 2.80288E-4, + 6.1375E-5, + 5.3186E-5, + 5.2544E-5, + 5.2545E-5, + 5.2212E-5, + 5.2048E-5, + 5.1882E-5, + 6.8635E-5, + 5.2166E-5, + 5.3288E-5, + 5.2785E-5, + 5.0999E-5, + 1.28471E-4, + 5.5035E-5, + 1.08102E-4, + 1.5192E-5, + 1.5274E-5, + 1.4574E-5, + 1.479E-5, + 2.2274E-5, + 1.6371E-5, + 1.5619E-5, + 1.6318E-5, + 1.652E-5, + 1.6454E-5, + 1.5176E-5, + 1.5908E-5, + 1.5429E-5, + 1.5263E-5, + 1.58E-5, + 1.5444E-5, + 1.7078E-5 + ], + [ + 2.79636E-4, + 2.78531E-4, + 2.78275E-4, + 2.78612E-4, + 2.7674E-4, + 2.79618E-4, + 2.78933E-4, + 2.8128E-4, + 6.1924E-5, + 5.3998E-5, + 5.3112E-5, + 5.3334E-5, + 5.3751E-5, + 5.2295E-5, + 5.2321E-5, + 7.9297E-5, + 5.2381E-5, + 5.3596E-5, + 5.423E-5, + 5.2822E-5, + 1.51936E-4, + 5.1612E-5, + 1.0802E-4, + 1.6682E-5, + 1.5844E-5, + 1.5964E-5, + 1.5836E-5, + 1.6407E-5, + 1.6162E-5, + 1.5492E-5, + 1.75E-5, + 1.7111E-5, + 1.6868E-5, + 1.5091E-5, + 1.5629E-5, + 1.5785E-5, + 1.6261E-5, + 1.5867E-5, + 1.579E-5, + 1.6243E-5 + ], + [ + 2.83724E-4, + 2.85326E-4, + 2.86149E-4, + 2.87169E-4, + 2.83908E-4, + 2.84502E-4, + 2.88127E-4, + 2.78976E-4, + 6.2257E-5, + 5.398E-5, + 5.4325E-5, + 5.351E-5, + 5.3912E-5, + 5.2788E-5, + 5.2401E-5, + 6.8422E-5, + 5.4978E-5, + 5.6272E-5, + 5.5747E-5, + 5.1639E-5, + 1.09669E-4, + 5.2054E-5, + 1.03544E-4, + 3.0068E-5, + 1.5081E-5, + 1.4625E-5, + 1.5784E-5, + 1.5558E-5, + 1.5978E-5, + 1.5984E-5, + 1.676E-5, + 1.6777E-5, + 1.6515E-5, + 1.6244E-5, + 1.4964E-5, + 1.478E-5, + 1.6648E-5, + 1.5502E-5, + 1.6308E-5, + 1.614E-5 + ], + [ + 2.79102E-4, + 2.82379E-4, + 2.78219E-4, + 2.80935E-4, + 2.7831E-4, + 2.80929E-4, + 2.79318E-4, + 2.87048E-4, + 6.069E-5, + 5.3664E-5, + 5.2391E-5, + 5.1984E-5, + 5.2958E-5, + 5.3454E-5, + 5.3269E-5, + 8.9247E-5, + 5.2804E-5, + 5.3342E-5, + 5.3965E-5, + 5.103E-5, + 1.66377E-4, + 5.0932E-5, + 9.9688E-5, + 1.5196E-5, + 1.6341E-5, + 2.2791E-5, + 1.6292E-5, + 1.6136E-5, + 1.6054E-5, + 1.5848E-5, + 1.6118E-5, + 1.5988E-5, + 1.6336E-5, + 1.8567E-5, + 1.7023E-5, + 1.6038E-5, + 1.6572E-5, + 1.6706E-5, + 1.8722E-5, + 2.4443E-5 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 1.9222423500000004E-4, + "scoreError" : 1.1269304230169972E-5, + "scoreConfidence" : [ + 1.8095493076983007E-4, + 2.0349353923017002E-4 + ], + "scorePercentiles" : { + "0.0" : 1.37196E-4, + "50.0" : 1.72587E-4, + "90.0" : 2.270692E-4, + "95.0" : 2.5148379999999983E-4, + "99.0" : 4.187417000000002E-4, + "99.9" : 4.75658E-4, + "99.99" : 4.75658E-4, + "99.999" : 4.75658E-4, + "99.9999" : 4.75658E-4, + "100.0" : 4.75658E-4 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.43981E-4, + 1.49457E-4, + 1.38904E-4, + 1.38064E-4, + 1.42417E-4, + 1.40324E-4, + 3.76927E-4, + 2.23079E-4, + 2.52373E-4, + 2.2541E-4, + 2.23503E-4, + 1.67608E-4, + 1.6747E-4, + 2.2307E-4, + 1.68567E-4, + 1.70957E-4, + 1.72351E-4, + 1.7493E-4, + 1.67616E-4, + 1.73249E-4, + 1.72516E-4, + 2.26972E-4, + 2.23448E-4, + 2.73344E-4, + 2.26614E-4, + 2.24388E-4, + 2.30979E-4, + 2.26253E-4, + 1.71085E-4, + 2.25695E-4, + 1.77258E-4, + 1.74905E-4, + 1.75891E-4, + 1.71652E-4, + 2.2439E-4, + 1.68453E-4, + 1.66989E-4, + 1.68315E-4, + 1.65479E-4, + 1.6739E-4 + ], + [ + 1.41084E-4, + 1.44576E-4, + 2.03956E-4, + 1.37196E-4, + 1.4599E-4, + 1.38296E-4, + 4.18959E-4, + 1.67724E-4, + 1.75026E-4, + 2.31239E-4, + 2.25368E-4, + 1.67567E-4, + 1.68924E-4, + 1.63294E-4, + 2.27937E-4, + 2.24367E-4, + 1.73908E-4, + 1.72658E-4, + 1.66157E-4, + 1.68913E-4, + 1.66617E-4, + 2.26161E-4, + 1.66085E-4, + 2.80524E-4, + 2.25238E-4, + 2.24203E-4, + 2.30358E-4, + 2.27365E-4, + 1.74042E-4, + 2.24825E-4, + 1.71335E-4, + 2.23549E-4, + 1.71536E-4, + 1.65203E-4, + 2.24472E-4, + 2.22765E-4, + 2.23681E-4, + 1.70495E-4, + 2.26878E-4, + 2.24439E-4 + ], + [ + 2.06189E-4, + 2.04529E-4, + 1.37392E-4, + 1.47677E-4, + 1.46298E-4, + 1.39863E-4, + 3.86682E-4, + 1.66356E-4, + 1.75872E-4, + 2.31238E-4, + 2.22495E-4, + 2.23821E-4, + 1.75336E-4, + 1.72283E-4, + 1.70103E-4, + 1.63004E-4, + 1.73603E-4, + 1.81032E-4, + 1.6907E-4, + 1.71698E-4, + 1.65741E-4, + 2.23672E-4, + 1.67413E-4, + 2.77159E-4, + 2.27507E-4, + 1.6934E-4, + 1.7731E-4, + 1.71913E-4, + 1.69426E-4, + 1.66013E-4, + 2.22928E-4, + 2.28563E-4, + 1.71229E-4, + 2.22966E-4, + 2.23569E-4, + 1.67219E-4, + 1.66169E-4, + 2.24876E-4, + 2.23075E-4, + 1.68392E-4 + ], + [ + 2.05207E-4, + 2.03422E-4, + 1.38569E-4, + 1.40615E-4, + 2.11216E-4, + 2.0529E-4, + 4.75658E-4, + 1.65938E-4, + 1.67444E-4, + 1.71123E-4, + 2.24193E-4, + 1.64574E-4, + 1.63432E-4, + 1.6833E-4, + 1.69436E-4, + 2.23132E-4, + 1.83426E-4, + 1.7523E-4, + 1.67638E-4, + 1.73687E-4, + 2.23402E-4, + 1.65482E-4, + 2.23983E-4, + 2.77243E-4, + 1.74489E-4, + 2.24182E-4, + 1.79363E-4, + 1.74012E-4, + 1.67374E-4, + 1.70092E-4, + 1.71926E-4, + 2.24791E-4, + 1.73009E-4, + 1.65989E-4, + 2.26765E-4, + 2.24802E-4, + 1.69172E-4, + 1.65178E-4, + 1.71342E-4, + 1.68098E-4 + ], + [ + 1.4463E-4, + 1.42977E-4, + 1.38518E-4, + 1.41592E-4, + 1.43744E-4, + 1.37649E-4, + 3.97229E-4, + 1.64139E-4, + 2.2708E-4, + 2.25311E-4, + 1.68513E-4, + 1.67379E-4, + 1.69931E-4, + 2.24226E-4, + 2.26018E-4, + 1.64994E-4, + 1.78499E-4, + 1.75942E-4, + 1.67267E-4, + 1.65643E-4, + 1.66916E-4, + 1.66992E-4, + 1.65757E-4, + 2.34589E-4, + 1.72112E-4, + 1.68365E-4, + 1.8901E-4, + 1.78807E-4, + 1.78427E-4, + 2.26194E-4, + 2.24414E-4, + 2.25074E-4, + 1.73803E-4, + 2.26365E-4, + 1.66931E-4, + 1.66072E-4, + 1.68169E-4, + 1.66422E-4, + 1.69193E-4, + 1.67496E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.0024204378449999998, + "scoreError" : 3.302155193117049E-4, + "scoreConfidence" : [ + 0.002090222325688295, + 0.0027506533643117045 + ], + "scorePercentiles" : { + "0.0" : 0.001397437, + "50.0" : 0.0018557550000000002, + "90.0" : 0.003990120000000002, + "95.0" : 0.0057593140999999985, + "99.0" : 0.00774959012, + "99.9" : 0.007758316, + "99.99" : 0.007758316, + "99.999" : 0.007758316, + "99.9999" : 0.007758316, + "100.0" : 0.007758316 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001745664, + 0.0027131, + 0.001411746, + 0.002309932, + 0.003657741, + 0.002384034, + 0.002465791, + 0.002482488, + 0.001781463, + 0.001952838, + 0.004638187, + 0.001953914, + 0.00184541, + 0.001780518, + 0.001739404, + 0.002545777, + 0.00540997, + 0.002397603, + 0.002514014, + 0.001719634, + 0.001719102, + 0.00161551, + 0.002128134, + 0.00211726, + 0.001642201, + 0.007519429, + 0.001806662, + 0.001880757, + 0.001836457, + 0.002544415, + 0.001715885, + 0.001719018, + 0.001815001, + 0.003153637, + 0.007551237, + 0.001824258, + 0.001909221, + 0.001839952, + 0.002612655, + 0.00246977 + ], + [ + 0.001442322, + 0.002011837, + 0.002033622, + 0.002039997, + 0.002907797, + 0.002316592, + 0.001445979, + 0.00205532, + 0.001516328, + 0.001975158, + 0.003105472, + 0.002041894, + 0.001414324, + 0.001401971, + 0.001403063, + 0.001399951, + 0.007733267, + 0.001949463, + 0.002731938, + 0.001874987, + 0.001786053, + 0.002491656, + 0.001727823, + 0.001721071, + 0.001704466, + 0.005765185, + 0.001691181, + 0.001779876, + 0.002500895, + 0.001719725, + 0.001686103, + 0.001600202, + 0.001418156, + 0.002038438, + 0.007749755, + 0.001788134, + 0.001880717, + 0.001841581, + 0.001791688, + 0.001756385 + ], + [ + 0.001775601, + 0.002735682, + 0.001420411, + 0.002048675, + 0.004281168, + 0.001641772, + 0.001760078, + 0.002463345, + 0.002528191, + 0.002049271, + 0.003273035, + 0.001447208, + 0.001399506, + 0.0016476, + 0.001397437, + 0.001405071, + 0.005400093, + 0.002398656, + 0.001760074, + 0.001746726, + 0.00242473, + 0.001651081, + 0.002194262, + 0.001469919, + 0.002467302, + 0.007758316, + 0.002645916, + 0.00272366, + 0.001859802, + 0.002609815, + 0.001763405, + 0.001741617, + 0.002467746, + 0.001571618, + 0.005511538, + 0.001680717, + 0.001749767, + 0.002460556, + 0.001722213, + 0.001641792 + ], + [ + 0.001483534, + 0.001963648, + 0.001449759, + 0.001448889, + 0.004027051, + 0.002370715, + 0.002502064, + 0.002511575, + 0.002583883, + 0.002710064, + 0.004693267, + 0.001708671, + 0.001839147, + 0.00179692, + 0.001787236, + 0.001852523, + 0.007712446, + 0.002685462, + 0.002744269, + 0.001872445, + 0.001829839, + 0.001761559, + 0.002454401, + 0.001801923, + 0.002640974, + 0.007187758, + 0.001778286, + 0.002730209, + 0.001858987, + 0.001795227, + 0.001757146, + 0.001720565, + 0.001789837, + 0.002920429, + 0.005647767, + 0.00243928, + 0.001761841, + 0.001718811, + 0.001689592, + 0.00230008 + ], + [ + 0.001746625, + 0.002095294, + 0.002074834, + 0.002035362, + 0.003465275, + 0.001541023, + 0.00219736, + 0.001915782, + 0.00163959, + 0.002004697, + 0.004746331, + 0.002428073, + 0.001793293, + 0.001783592, + 0.001758206, + 0.001723515, + 0.007558363, + 0.002681097, + 0.002731805, + 0.001843867, + 0.001810651, + 0.001721939, + 0.001727855, + 0.001716284, + 0.001878291, + 0.005525686, + 0.001781841, + 0.001782354, + 0.001718423, + 0.001728554, + 0.002438074, + 0.001732313, + 0.00162812, + 0.00153538, + 0.007588053, + 0.001808885, + 0.00272606, + 0.001843202, + 0.001779432, + 0.001718576 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.CollectionBenchmark.drop", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.023899844045000007, + "scoreError" : 0.0013203635662903158, + "scoreConfidence" : [ + 0.022579480478709692, + 0.025220207611290322 + ], + "scorePercentiles" : { + "0.0" : 0.016214157, + "50.0" : 0.022965256500000003, + "90.0" : 0.0310706738, + "95.0" : 0.0339531378, + "99.0" : 0.0425152086, + "99.9" : 0.049356898, + "99.99" : 0.049356898, + "99.999" : 0.049356898, + "99.9999" : 0.049356898, + "100.0" : 0.049356898 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.049356898, + 0.030399854, + 0.034517446, + 0.021744687, + 0.018066976, + 0.029130475, + 0.019803874, + 0.021327273, + 0.031345529, + 0.032635802, + 0.016936038, + 0.022622295, + 0.025586448, + 0.018722934, + 0.019454503, + 0.025086184, + 0.017138199, + 0.023197128, + 0.026103439, + 0.019952901, + 0.019345258, + 0.025343693, + 0.016905899, + 0.022989648, + 0.020662292, + 0.022940865, + 0.019336007, + 0.026895438, + 0.017501235, + 0.027419478, + 0.027383953, + 0.020018598, + 0.020229185, + 0.028040608, + 0.021246802, + 0.016963589, + 0.020635436, + 0.023555534, + 0.021254746, + 0.019575384 + ], + [ + 0.033957788, + 0.029715953, + 0.033808759, + 0.026887503, + 0.017048241, + 0.027576523, + 0.020268363, + 0.023777886, + 0.030020789, + 0.032339754, + 0.017148399, + 0.020816815, + 0.027375078, + 0.023615661, + 0.030640877, + 0.029186006, + 0.017478529, + 0.017057488, + 0.021911176, + 0.02837971, + 0.02011902, + 0.019357808, + 0.026439817, + 0.017033769, + 0.024016054, + 0.019832973, + 0.019058614, + 0.019375611, + 0.025189386, + 0.018331978, + 0.023245872, + 0.019967352, + 0.019987714, + 0.018531887, + 0.025590493, + 0.01671666, + 0.024229138, + 0.01990028, + 0.01997619, + 0.019608635 + ], + [ + 0.025765932, + 0.03004115, + 0.042518237, + 0.025270103, + 0.024826801, + 0.029569068, + 0.019788824, + 0.028719742, + 0.031143327, + 0.036079048, + 0.017020053, + 0.022454849, + 0.020407092, + 0.022678646, + 0.036468211, + 0.028856589, + 0.017764019, + 0.01711552, + 0.022668652, + 0.028010959, + 0.025362179, + 0.019521522, + 0.026955843, + 0.021572288, + 0.023731686, + 0.019691939, + 0.022475016, + 0.023336853, + 0.031753788, + 0.017345668, + 0.024223184, + 0.026712267, + 0.019772538, + 0.023206062, + 0.026758331, + 0.017142335, + 0.022674179, + 0.02129695, + 0.022106822, + 0.019703535 + ], + [ + 0.027136397, + 0.0308429, + 0.042215397, + 0.025718259, + 0.0170407, + 0.027994298, + 0.020652098, + 0.02362418, + 0.031076999, + 0.028677479, + 0.017061917, + 0.020309429, + 0.027140003, + 0.022431174, + 0.030601242, + 0.036360054, + 0.017567896, + 0.016819837, + 0.021995351, + 0.025663596, + 0.021416039, + 0.018721816, + 0.023958168, + 0.016961319, + 0.023781328, + 0.020752712, + 0.022443531, + 0.023310813, + 0.030955777, + 0.024597566, + 0.024557114, + 0.028941767, + 0.023827487, + 0.01985028, + 0.026046325, + 0.017555459, + 0.035066724, + 0.029490333, + 0.02190043, + 0.019682997 + ], + [ + 0.024674474, + 0.031951488, + 0.033864784, + 0.026739056, + 0.017259538, + 0.023761075, + 0.024658144, + 0.029195269, + 0.031013747, + 0.038484694, + 0.017132464, + 0.016214157, + 0.029238148, + 0.023565681, + 0.030143608, + 0.018996242, + 0.02282188, + 0.018242949, + 0.031709839, + 0.02276625, + 0.021673594, + 0.019920493, + 0.025564011, + 0.016857949, + 0.023565184, + 0.019966135, + 0.019942526, + 0.018688435, + 0.027346612, + 0.017257977, + 0.023574967, + 0.022248581, + 0.019992454, + 0.023639304, + 0.02775663, + 0.018834853, + 0.020314446, + 0.020645658, + 0.025043855, + 0.02055158 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_take.png b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_take.png new file mode 100644 index 0000000000000000000000000000000000000000..cb15accdf11ecf886f1e0624d52f8c2a1f40d5f8 Binary files /dev/null and b/previous-exams/2022-midterm-code/bench-results/CollectionBenchmarkResults_take.png differ diff --git a/previous-exams/2022-midterm-code/bench-results/Part2BenchmarkResults.json b/previous-exams/2022-midterm-code/bench-results/Part2BenchmarkResults.json new file mode 100644 index 0000000000000000000000000000000000000000..ef7225957ad5428b5faf73a3606ea594923140a9 --- /dev/null +++ b/previous-exams/2022-midterm-code/bench-results/Part2BenchmarkResults.json @@ -0,0 +1,8292 @@ +[ + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "parallel" : "true", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 0.0011861944200000003, + "scoreError" : 9.468556132050369E-5, + "scoreConfidence" : [ + 0.0010915088586794966, + 0.001280879981320504 + ], + "scorePercentiles" : { + "0.0" : 4.88139E-4, + "50.0" : 0.0012135190000000001, + "90.0" : 0.0014960688, + "95.0" : 0.00162990845, + "99.0" : 0.002288841670000003, + "99.9" : 0.004990054, + "99.99" : 0.004990054, + "99.999" : 0.004990054, + "99.9999" : 0.004990054, + "100.0" : 0.004990054 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001304058, + 0.001298496, + 0.001170409, + 0.001339631, + 0.001334817, + 0.001102557, + 0.001203327, + 0.001179525, + 0.001060429, + 0.001244345, + 0.001175425, + 0.001352902, + 0.001188718, + 0.001128695, + 0.001132496, + 0.001087717, + 0.00115625, + 0.001028496, + 0.001041221, + 0.001218259, + 0.001109968, + 0.001061908, + 0.001041795, + 7.43622E-4, + 6.89575E-4, + 6.58245E-4, + 8.17719E-4, + 6.90382E-4, + 6.45305E-4, + 6.77632E-4, + 7.13609E-4, + 7.73109E-4, + 9.04338E-4, + 7.54873E-4, + 7.97477E-4, + 8.66493E-4, + 7.18551E-4, + 9.25877E-4, + 7.64071E-4, + 7.7727E-4 + ], + [ + 0.001333458, + 0.001384272, + 0.001372758, + 0.00130676, + 0.001260775, + 0.001453995, + 0.001346011, + 0.001339505, + 0.001326671, + 0.001411627, + 0.001355902, + 0.001444786, + 0.001462232, + 0.001381247, + 0.001273545, + 0.001268675, + 0.001386344, + 0.00131742, + 0.001332703, + 0.001229275, + 0.001386584, + 0.001291317, + 0.001354057, + 0.001410679, + 0.001287115, + 0.001373863, + 0.001474732, + 0.00151112, + 0.001610941, + 0.001667496, + 0.001788101, + 0.001915084, + 0.001460344, + 0.00163047, + 0.001513617, + 0.001677678, + 0.001619239, + 0.001491891, + 0.00148663, + 0.001177567 + ], + [ + 0.001345933, + 0.001234396, + 0.001370726, + 0.001460069, + 0.001434697, + 0.001372518, + 0.001398059, + 0.001233615, + 0.001219739, + 0.001063007, + 9.19662E-4, + 9.76451E-4, + 8.20762E-4, + 0.001001987, + 8.44395E-4, + 6.98264E-4, + 7.6272E-4, + 7.62767E-4, + 6.938E-4, + 7.16296E-4, + 8.11477E-4, + 6.59355E-4, + 7.62291E-4, + 7.28177E-4, + 0.004990054, + 7.48552E-4, + 7.45999E-4, + 6.50658E-4, + 6.60054E-4, + 7.21663E-4, + 6.97747E-4, + 9.18411E-4, + 6.90393E-4, + 7.01726E-4, + 7.10807E-4, + 7.293E-4, + 8.75948E-4, + 7.4074E-4, + 7.51985E-4, + 7.31371E-4 + ], + [ + 0.001222681, + 0.00111247, + 0.001101088, + 0.001180677, + 0.001212401, + 0.001090922, + 0.00109057, + 0.001164763, + 0.001258862, + 0.001132345, + 0.001007507, + 0.001078679, + 0.001147936, + 0.001119162, + 0.001232988, + 0.001106727, + 0.001247159, + 0.00113776, + 0.001172976, + 0.00111549, + 0.001124179, + 0.001066768, + 0.00123246, + 0.001159606, + 0.001129301, + 0.001183873, + 0.001299745, + 0.001149341, + 0.001118714, + 0.001154781, + 0.002292617, + 0.001298778, + 0.001299525, + 0.001296932, + 0.001214637, + 0.001116941, + 0.001120779, + 0.001105576, + 0.00112325, + 0.001102039 + ], + [ + 0.0012402, + 0.001474788, + 0.001325545, + 0.001288007, + 0.00133604, + 0.001282142, + 0.001261273, + 0.00125784, + 0.001286769, + 0.00130464, + 0.001346377, + 0.001303073, + 0.001401975, + 0.001294309, + 0.001370502, + 0.001378595, + 0.00127251, + 0.001238024, + 0.001255577, + 0.001496533, + 0.001397694, + 0.001411788, + 0.001405834, + 0.001321425, + 0.001554417, + 8.80308E-4, + 7.45786E-4, + 0.001047125, + 0.001150237, + 0.001763902, + 0.001843808, + 0.001574874, + 0.001669, + 0.001559272, + 0.001564792, + 0.001490579, + 0.00158391, + 9.68588E-4, + 5.27033E-4, + 4.88139E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "parallel" : "true", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 0.005628886064999998, + "scoreError" : 5.960812965863038E-4, + "scoreConfidence" : [ + 0.005032804768413694, + 0.006224967361586302 + ], + "scorePercentiles" : { + "0.0" : 0.001324493, + "50.0" : 0.0051279375, + "90.0" : 0.0093012405, + "95.0" : 0.010389465599999995, + "99.0" : 0.01284107455, + "99.9" : 0.013696353, + "99.99" : 0.013696353, + "99.999" : 0.013696353, + "99.9999" : 0.013696353, + "100.0" : 0.013696353 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.012023208, + 0.00925602, + 0.009097269, + 0.009208218, + 0.009345478, + 0.009178583, + 0.010047344, + 0.006259496, + 0.006868334, + 0.003542142, + 0.004263114, + 0.004204459, + 0.004596538, + 0.004850382, + 0.003313024, + 0.003655041, + 0.007068476, + 0.002800735, + 0.002810772, + 0.002852313, + 0.002966118, + 0.003016746, + 0.002743067, + 0.002638638, + 0.002763653, + 0.003804955, + 0.005474943, + 0.00382094, + 0.00450423, + 0.004999363, + 0.007364651, + 0.006843461, + 0.006781604, + 0.006214453, + 0.005424738, + 0.005153085, + 0.004921373, + 0.00326591, + 0.006513757, + 0.001886535 + ], + [ + 0.012841934, + 0.009654454, + 0.009413148, + 0.009082606, + 0.009306265, + 0.009938136, + 0.011841703, + 0.010413312, + 0.013696353, + 0.010407472, + 0.00507324, + 0.003730826, + 0.005137215, + 0.004899509, + 0.003300001, + 0.00443726, + 0.007909457, + 0.004777845, + 0.005352928, + 0.004878104, + 0.005078607, + 0.005523185, + 0.004720603, + 0.004551434, + 0.004058308, + 0.001622267, + 0.002207851, + 0.008296074, + 0.005957308, + 0.005417293, + 0.004355405, + 0.00435013, + 0.005535804, + 0.00649752, + 0.009661387, + 0.005877275, + 0.003745508, + 0.004158974, + 0.003429219, + 0.003964473 + ], + [ + 0.006550588, + 0.003561567, + 0.004489165, + 0.003821699, + 0.003476525, + 0.004907308, + 0.003595231, + 0.00382739, + 0.007344817, + 0.00244224, + 0.002566996, + 0.002262381, + 0.002792209, + 0.002782429, + 0.003192869, + 0.003443725, + 0.002746027, + 0.003235998, + 0.003481887, + 0.003826154, + 0.004289188, + 0.005606518, + 0.006357923, + 0.005708005, + 0.005888416, + 0.005806738, + 0.00539865, + 0.005877065, + 0.00575867, + 0.005649567, + 0.006053352, + 0.00578508, + 0.005255661, + 0.009515703, + 0.006217025, + 0.005946889, + 0.007035902, + 0.007019097, + 0.007206557, + 0.005978009 + ], + [ + 0.009627581, + 0.012755989, + 0.008036376, + 0.007670786, + 0.007796472, + 0.008063767, + 0.008750194, + 0.005928886, + 0.005453439, + 0.004591073, + 0.004715627, + 0.005068282, + 0.005057351, + 0.005275064, + 0.00421776, + 0.004614465, + 0.004396804, + 0.008354557, + 0.004733246, + 0.004517265, + 0.004332668, + 0.001572626, + 0.004925422, + 0.00511866, + 0.005093805, + 0.004904462, + 0.005670728, + 0.005748364, + 0.004329005, + 0.006747785, + 0.006458118, + 0.006596252, + 0.006171283, + 0.006908023, + 0.00873379, + 0.006324814, + 0.006994502, + 0.005983618, + 0.007352112, + 0.00193365 + ], + [ + 0.012233163, + 0.008666409, + 0.009235241, + 0.008677243, + 0.008885789, + 0.006980572, + 0.009680923, + 0.004528205, + 0.006210358, + 0.003147615, + 0.003096247, + 0.003079493, + 0.003247813, + 0.003646477, + 0.003568133, + 0.004730613, + 0.007528038, + 0.005498424, + 0.005635506, + 0.004385524, + 0.004318678, + 0.005092201, + 0.00418213, + 0.004180973, + 0.004480327, + 0.004472983, + 0.005626828, + 0.008481945, + 0.008890724, + 0.010911213, + 0.01168713, + 0.004011501, + 0.006027824, + 0.001818208, + 0.001463402, + 0.00142202, + 0.001365819, + 0.001324493, + 0.001387998, + 0.00229958 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "parallel" : "true", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.015297531859999993, + "scoreError" : 0.0017528887459338854, + "scoreConfidence" : [ + 0.013544643114066108, + 0.01705042060593388 + ], + "scorePercentiles" : { + "0.0" : 0.007938051, + "50.0" : 0.0123956575, + "90.0" : 0.023920055800000003, + "95.0" : 0.029458214199999996, + "99.0" : 0.05354277871000004, + "99.9" : 0.053697946, + "99.99" : 0.053697946, + "99.999" : 0.053697946, + "99.9999" : 0.053697946, + "100.0" : 0.053697946 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.016091839, + 0.049296937, + 0.020452641, + 0.016261118, + 0.020526149, + 0.029080498, + 0.014299428, + 0.014683282, + 0.014380856, + 0.027963509, + 0.0125985, + 0.012717071, + 0.01490156, + 0.015090689, + 0.018437407, + 0.022348548, + 0.023314814, + 0.021719446, + 0.013752353, + 0.014248159, + 0.015815741, + 0.015056614, + 0.014389461, + 0.014336928, + 0.015702314, + 0.015269067, + 0.023829792, + 0.01097346, + 0.011871012, + 0.013536377, + 0.014394175, + 0.014118941, + 0.01489183, + 0.013445022, + 0.014552024, + 0.015391907, + 0.024437573, + 0.022028249, + 0.013782047, + 0.015195733 + ], + [ + 0.007938051, + 0.028587795, + 0.009884358, + 0.010693056, + 0.02065322, + 0.019383671, + 0.010550978, + 0.010763239, + 0.010160595, + 0.010348069, + 0.010363292, + 0.011239178, + 0.009253553, + 0.010731132, + 0.011416125, + 0.010375642, + 0.017706504, + 0.019124807, + 0.019727748, + 0.017247058, + 0.02192373, + 0.01041775, + 0.01016824, + 0.009811792, + 0.009780782, + 0.009349518, + 0.011584006, + 0.010665912, + 0.00920205, + 0.009353105, + 0.009551069, + 0.010452884, + 0.009892042, + 0.010048447, + 0.00934559, + 0.009586927, + 0.011409394, + 0.01038347, + 0.009615193, + 0.010754379 + ], + [ + 0.053697946, + 0.053585666, + 0.019147225, + 0.01344964, + 0.019000852, + 0.029478094, + 0.009852772, + 0.009843324, + 0.008920796, + 0.010844743, + 0.023925008, + 0.011192106, + 0.011250612, + 0.01056188, + 0.01059675, + 0.013221954, + 0.018835653, + 0.018463869, + 0.018888861, + 0.027757085, + 0.010406603, + 0.011985001, + 0.011477851, + 0.010606031, + 0.010395372, + 0.011283618, + 0.00991612, + 0.01089165, + 0.009210262, + 0.019798802, + 0.01126613, + 0.011605393, + 0.010586587, + 0.010403496, + 0.010268977, + 0.009844285, + 0.009632896, + 0.011279769, + 0.009332462, + 0.017246036 + ], + [ + 0.016392909, + 0.027868772, + 0.014091459, + 0.013653733, + 0.0230566, + 0.033998619, + 0.008276307, + 0.009297343, + 0.010682115, + 0.010001, + 0.024828619, + 0.010068719, + 0.011262854, + 0.011476861, + 0.010960941, + 0.017231498, + 0.02053801, + 0.021205937, + 0.018715171, + 0.010054456, + 0.010477726, + 0.010524627, + 0.010866467, + 0.011056118, + 0.009827978, + 0.011490291, + 0.011439137, + 0.011841831, + 0.010630085, + 0.009262964, + 0.011720648, + 0.01235113, + 0.01263014, + 0.010897814, + 0.011118128, + 0.011395425, + 0.011257814, + 0.011877345, + 0.023845011, + 0.021352685 + ], + [ + 0.031005038, + 0.0296674, + 0.022435752, + 0.035770359, + 0.034110246, + 0.012894558, + 0.012774599, + 0.012953484, + 0.027138715, + 0.010832197, + 0.011234659, + 0.010681414, + 0.012162823, + 0.016301853, + 0.023006459, + 0.020931346, + 0.031844194, + 0.013186971, + 0.011689507, + 0.012807172, + 0.013018013, + 0.012952755, + 0.01139102, + 0.012748749, + 0.023875486, + 0.012067214, + 0.012057717, + 0.012054535, + 0.012553962, + 0.011672718, + 0.011651334, + 0.011281899, + 0.014045736, + 0.020779907, + 0.027645977, + 0.011569217, + 0.01265288, + 0.013215314, + 0.012298122, + 0.012440185 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "parallel" : "true", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.1394670911450001, + "scoreError" : 0.005561584359133217, + "scoreConfidence" : [ + 0.1339055067858669, + 0.14502867550413331 + ], + "scorePercentiles" : { + "0.0" : 0.065366884, + "50.0" : 0.1335435405, + "90.0" : 0.18896439720000002, + "95.0" : 0.1953793825, + "99.0" : 0.20109828025999998, + "99.9" : 0.203656939, + "99.99" : 0.203656939, + "99.999" : 0.203656939, + "99.9999" : 0.203656939, + "100.0" : 0.203656939 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.138389912, + 0.133606361, + 0.133815531, + 0.127580577, + 0.133800152, + 0.116852138, + 0.134752523, + 0.131713225, + 0.129834328, + 0.128855887, + 0.134319342, + 0.132478596, + 0.133375666, + 0.132287073, + 0.130492526, + 0.134636162, + 0.129917835, + 0.131900031, + 0.133157621, + 0.130798565, + 0.189083566, + 0.185021802, + 0.131802466, + 0.133639512, + 0.13265301, + 0.130074401, + 0.184273754, + 0.184997653, + 0.135807718, + 0.133420392, + 0.130545856, + 0.185229232, + 0.185309382, + 0.13521803, + 0.1332913, + 0.133345741, + 0.132311493, + 0.135768367, + 0.137217399, + 0.135017868 + ], + [ + 0.133339576, + 0.129513723, + 0.12706378, + 0.126376614, + 0.128082218, + 0.125138284, + 0.12173485, + 0.124374596, + 0.12113211, + 0.125102845, + 0.123980221, + 0.065366884, + 0.121232977, + 0.125897141, + 0.122150275, + 0.130318476, + 0.127014078, + 0.130445016, + 0.128840012, + 0.125716169, + 0.126810782, + 0.121818442, + 0.127555813, + 0.125874834, + 0.065456111, + 0.124733542, + 0.112045189, + 0.123963784, + 0.123226149, + 0.124514148, + 0.126168262, + 0.128130648, + 0.131340729, + 0.126942378, + 0.131849318, + 0.127362959, + 0.123878473, + 0.12343337, + 0.121928254, + 0.127795583 + ], + [ + 0.191913835, + 0.193681136, + 0.141051321, + 0.138470864, + 0.13901043, + 0.197198595, + 0.13813479, + 0.140200931, + 0.192813127, + 0.138051841, + 0.138152666, + 0.138079293, + 0.193990125, + 0.141130448, + 0.140589174, + 0.134457975, + 0.134593432, + 0.190207351, + 0.13360224, + 0.135875118, + 0.136834113, + 0.137448304, + 0.133561771, + 0.138357134, + 0.194941081, + 0.141303946, + 0.138574492, + 0.137603818, + 0.140179848, + 0.083506814, + 0.200471459, + 0.200638451, + 0.198133712, + 0.139805835, + 0.141489202, + 0.140057896, + 0.201102925, + 0.141802355, + 0.140531924, + 0.136821508 + ], + [ + 0.195639292, + 0.138449345, + 0.138388931, + 0.138188079, + 0.136454968, + 0.195402451, + 0.135657465, + 0.136644087, + 0.137661258, + 0.139170104, + 0.13734865, + 0.203656939, + 0.135681264, + 0.137388028, + 0.137773551, + 0.136722358, + 0.137446342, + 0.139122609, + 0.13591835, + 0.138103479, + 0.192776419, + 0.134472864, + 0.129948541, + 0.135018531, + 0.136552361, + 0.13352531, + 0.196178481, + 0.190184376, + 0.137683502, + 0.138520058, + 0.138259343, + 0.192247612, + 0.137892593, + 0.143029334, + 0.19883127, + 0.138818718, + 0.141140657, + 0.142204775, + 0.139063395, + 0.141538083 + ], + [ + 0.135971459, + 0.130182658, + 0.132372294, + 0.128237162, + 0.131605103, + 0.127554761, + 0.131357032, + 0.128161778, + 0.131456045, + 0.13065343, + 0.12916806, + 0.118939687, + 0.122342932, + 0.12175042, + 0.120370439, + 0.129844029, + 0.129606532, + 0.128877233, + 0.130871872, + 0.130221551, + 0.129273574, + 0.12906997, + 0.130487079, + 0.128566312, + 0.185032746, + 0.130984252, + 0.12990251, + 0.132026913, + 0.117951882, + 0.121926151, + 0.118015764, + 0.122246377, + 0.114980206, + 0.132146913, + 0.131145432, + 0.12840629, + 0.186197532, + 0.187891878, + 0.129016787, + 0.131288525 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "parallel" : "false", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 5.995485000000002E-4, + "scoreError" : 4.3811027574123626E-5, + "scoreConfidence" : [ + 5.557374724258766E-4, + 6.433595275741237E-4 + ], + "scorePercentiles" : { + "0.0" : 4.1263E-4, + "50.0" : 4.99108E-4, + "90.0" : 8.78052E-4, + "95.0" : 9.06207E-4, + "99.0" : 0.001177053710000001, + "99.9" : 0.001307484, + "99.99" : 0.001307484, + "99.999" : 0.001307484, + "99.9999" : 0.001307484, + "100.0" : 0.001307484 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 9.09312E-4, + 8.96418E-4, + 8.9805E-4, + 0.001069709, + 8.62951E-4, + 8.60436E-4, + 8.4283E-4, + 8.41191E-4, + 8.43014E-4, + 8.42838E-4, + 5.48278E-4, + 4.92646E-4, + 4.73484E-4, + 4.55155E-4, + 5.16996E-4, + 6.57916E-4, + 5.17258E-4, + 5.71327E-4, + 4.71826E-4, + 5.04444E-4, + 5.64807E-4, + 4.95505E-4, + 7.0239E-4, + 7.35321E-4, + 4.58599E-4, + 5.50358E-4, + 4.52428E-4, + 4.7045E-4, + 5.68751E-4, + 7.75605E-4, + 4.70967E-4, + 5.85284E-4, + 4.28146E-4, + 4.29809E-4, + 4.24379E-4, + 5.65845E-4, + 4.68845E-4, + 4.78282E-4, + 4.33486E-4, + 4.62641E-4 + ], + [ + 9.17283E-4, + 8.76052E-4, + 0.001178138, + 9.29679E-4, + 8.46595E-4, + 8.31428E-4, + 8.53784E-4, + 8.23317E-4, + 8.49367E-4, + 8.38556E-4, + 6.26661E-4, + 7.01677E-4, + 4.8409E-4, + 5.36346E-4, + 4.39889E-4, + 4.94242E-4, + 5.00033E-4, + 7.18989E-4, + 4.99816E-4, + 4.8757E-4, + 5.15734E-4, + 4.6654E-4, + 5.0994E-4, + 4.73405E-4, + 4.88727E-4, + 4.30407E-4, + 4.32691E-4, + 6.87903E-4, + 4.8747E-4, + 4.90962E-4, + 4.83247E-4, + 5.48422E-4, + 4.38452E-4, + 4.83202E-4, + 4.35573E-4, + 4.23706E-4, + 4.44933E-4, + 4.6728E-4, + 4.83074E-4, + 5.13567E-4 + ], + [ + 8.78717E-4, + 8.78156E-4, + 8.77116E-4, + 0.001011923, + 8.64496E-4, + 8.43609E-4, + 8.2489E-4, + 8.69808E-4, + 8.28512E-4, + 8.33783E-4, + 5.37635E-4, + 4.93759E-4, + 4.90737E-4, + 5.07813E-4, + 4.55646E-4, + 4.49982E-4, + 7.74651E-4, + 5.27461E-4, + 5.10173E-4, + 5.52446E-4, + 4.98783E-4, + 4.83858E-4, + 4.79983E-4, + 4.6022E-4, + 4.56073E-4, + 4.68984E-4, + 4.67474E-4, + 4.58902E-4, + 4.54669E-4, + 4.43207E-4, + 5.02687E-4, + 4.61893E-4, + 4.9928E-4, + 4.40323E-4, + 4.1263E-4, + 4.95644E-4, + 4.98936E-4, + 4.50939E-4, + 4.53023E-4, + 5.04189E-4 + ], + [ + 9.03349E-4, + 9.05124E-4, + 8.84912E-4, + 9.01179E-4, + 9.11628E-4, + 8.85275E-4, + 8.581E-4, + 8.41694E-4, + 8.25247E-4, + 8.22008E-4, + 6.35483E-4, + 4.7404E-4, + 4.71033E-4, + 5.06415E-4, + 4.43261E-4, + 5.20316E-4, + 5.02368E-4, + 5.22061E-4, + 7.14331E-4, + 4.55165E-4, + 5.14315E-4, + 5.23846E-4, + 7.25892E-4, + 4.75041E-4, + 4.62001E-4, + 4.47029E-4, + 4.3225E-4, + 4.33559E-4, + 4.64835E-4, + 4.57728E-4, + 4.36406E-4, + 6.95275E-4, + 4.8761E-4, + 4.63498E-4, + 4.24973E-4, + 4.22708E-4, + 4.66357E-4, + 4.81153E-4, + 4.88443E-4, + 4.38868E-4 + ], + [ + 8.7068E-4, + 8.85252E-4, + 8.65807E-4, + 9.38228E-4, + 0.001307484, + 9.06264E-4, + 8.36557E-4, + 8.48087E-4, + 8.44631E-4, + 7.52699E-4, + 4.8588E-4, + 4.98458E-4, + 4.91668E-4, + 4.85502E-4, + 4.53113E-4, + 4.881E-4, + 8.65157E-4, + 5.18107E-4, + 4.71175E-4, + 4.7828E-4, + 4.9821E-4, + 5.01583E-4, + 4.77148E-4, + 6.02888E-4, + 4.39428E-4, + 4.46347E-4, + 4.49457E-4, + 4.77644E-4, + 4.3548E-4, + 4.46334E-4, + 4.42237E-4, + 7.08187E-4, + 4.59639E-4, + 4.66112E-4, + 4.75616E-4, + 4.92632E-4, + 4.52272E-4, + 4.66284E-4, + 5.4001E-4, + 4.76553E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "parallel" : "false", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 0.0033590787249999977, + "scoreError" : 2.2883441180497608E-4, + "scoreConfidence" : [ + 0.0031302443131950215, + 0.003587913136804974 + ], + "scorePercentiles" : { + "0.0" : 0.002338135, + "50.0" : 0.0029826799999999997, + "90.0" : 0.0054030626, + "95.0" : 0.0056766622, + "99.0" : 0.0058792778, + "99.9" : 0.006176461, + "99.99" : 0.006176461, + "99.999" : 0.006176461, + "99.9999" : 0.006176461, + "100.0" : 0.006176461 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.002877173, + 0.002964541, + 0.00271126, + 0.002488611, + 0.002682502, + 0.002581103, + 0.002475452, + 0.002338135, + 0.002415493, + 0.002797327, + 0.002656093, + 0.005229567, + 0.002829109, + 0.00305368, + 0.002834016, + 0.002910597, + 0.002949168, + 0.003032279, + 0.003110529, + 0.003295983, + 0.003411963, + 0.003077778, + 0.003095952, + 0.00290352, + 0.002897497, + 0.004283789, + 0.006176461, + 0.00570984, + 0.005403782, + 0.005623128, + 0.005666444, + 0.00284668, + 0.002878422, + 0.003123018, + 0.002746507, + 0.00279399, + 0.002762446, + 0.002789284, + 0.002839318, + 0.003125176 + ], + [ + 0.003294998, + 0.002971148, + 0.002599587, + 0.00263863, + 0.002656358, + 0.002739583, + 0.002760506, + 0.002716349, + 0.00330579, + 0.00312017, + 0.002978111, + 0.004968882, + 0.002846725, + 0.003060808, + 0.002827978, + 0.002884636, + 0.003032405, + 0.003864794, + 0.003010449, + 0.003174228, + 0.003175336, + 0.002982805, + 0.002940462, + 0.003209891, + 0.002979653, + 0.004139421, + 0.005816253, + 0.005344107, + 0.005482821, + 0.005444671, + 0.00579674, + 0.003005804, + 0.0029959, + 0.00319083, + 0.002884261, + 0.003021521, + 0.002935089, + 0.002902524, + 0.002798391, + 0.002801912 + ], + [ + 0.003556441, + 0.002668212, + 0.002509497, + 0.002758424, + 0.002625785, + 0.002809196, + 0.00243878, + 0.002714381, + 0.002788249, + 0.002959212, + 0.002987659, + 0.005127495, + 0.002870219, + 0.00300401, + 0.003221705, + 0.003169477, + 0.003026786, + 0.0029358, + 0.003053179, + 0.003093566, + 0.00306252, + 0.003111844, + 0.003017019, + 0.003143228, + 0.003036338, + 0.004292354, + 0.005593819, + 0.005864903, + 0.005305052, + 0.005396588, + 0.0056772, + 0.003269773, + 0.002982555, + 0.003147997, + 0.00297643, + 0.002861309, + 0.002885775, + 0.003270091, + 0.002976806, + 0.002919162 + ], + [ + 0.003133565, + 0.002768015, + 0.002533229, + 0.002521832, + 0.002524315, + 0.00268365, + 0.00244519, + 0.002764592, + 0.002562486, + 0.002681475, + 0.002956682, + 0.005249239, + 0.002918952, + 0.003097977, + 0.002910871, + 0.002987776, + 0.003061213, + 0.002926952, + 0.002929002, + 0.004000134, + 0.002948482, + 0.002993532, + 0.00298166, + 0.003086946, + 0.002833489, + 0.00425494, + 0.005879423, + 0.005702393, + 0.005424634, + 0.005575865, + 0.00586101, + 0.00332398, + 0.003005177, + 0.002996818, + 0.003075799, + 0.002961008, + 0.002836705, + 0.00286268, + 0.002904246, + 0.002952987 + ], + [ + 0.003258246, + 0.003114742, + 0.002573933, + 0.00272855, + 0.002599796, + 0.002710636, + 0.002767612, + 0.002606023, + 0.002757796, + 0.003005304, + 0.003092639, + 0.004950241, + 0.002904051, + 0.002846642, + 0.003047134, + 0.002904974, + 0.00317278, + 0.003171981, + 0.003111432, + 0.002970304, + 0.003161164, + 0.002963184, + 0.003050264, + 0.003062605, + 0.003644738, + 0.004424614, + 0.005643728, + 0.005451883, + 0.005356556, + 0.005267834, + 0.005809954, + 0.003145508, + 0.002963437, + 0.002970176, + 0.002834618, + 0.002828244, + 0.002939351, + 0.003332585, + 0.002917954, + 0.002836635 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "parallel" : "false", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.028548966145, + "scoreError" : 0.002361969929034401, + "scoreConfidence" : [ + 0.0261869962159656, + 0.0309109360740344 + ], + "scorePercentiles" : { + "0.0" : 0.018257454, + "50.0" : 0.0227511165, + "90.0" : 0.043766564800000005, + "95.0" : 0.04797810649999998, + "99.0" : 0.05609701992000002, + "99.9" : 0.056620122, + "99.99" : 0.056620122, + "99.999" : 0.056620122, + "99.9999" : 0.056620122, + "100.0" : 0.056620122 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.033321169, + 0.056620122, + 0.022155144, + 0.023435985, + 0.034680287, + 0.024028336, + 0.022759512, + 0.024060928, + 0.043148864, + 0.042386026, + 0.048053451, + 0.022609102, + 0.023365449, + 0.021807837, + 0.023913786, + 0.022066993, + 0.033449492, + 0.022684993, + 0.023596132, + 0.022600578, + 0.021383416, + 0.021924622, + 0.021799295, + 0.04368011, + 0.04500344, + 0.043707803, + 0.046546561, + 0.043356143, + 0.03985297, + 0.022656711, + 0.021887239, + 0.019476651, + 0.019368614, + 0.019123873, + 0.023275754, + 0.022084631, + 0.021987245, + 0.021604357, + 0.020791597, + 0.021484423 + ], + [ + 0.032962175, + 0.053660626, + 0.022524115, + 0.022742721, + 0.03369467, + 0.022611996, + 0.022702836, + 0.021177545, + 0.042041322, + 0.043820144, + 0.048988603, + 0.021933086, + 0.021662298, + 0.019025546, + 0.020992788, + 0.020400362, + 0.033034607, + 0.022609244, + 0.021642933, + 0.018861292, + 0.019643362, + 0.021167322, + 0.025688834, + 0.044844581, + 0.043905004, + 0.044690654, + 0.043014107, + 0.041950132, + 0.037715781, + 0.022220061, + 0.019965622, + 0.022269483, + 0.022765994, + 0.021294116, + 0.021732861, + 0.023280973, + 0.022281421, + 0.021156484, + 0.020687223, + 0.019360721 + ], + [ + 0.033623266, + 0.056110416, + 0.0223513, + 0.022160857, + 0.032935524, + 0.023282482, + 0.022975439, + 0.021510169, + 0.043152302, + 0.042834967, + 0.049633088, + 0.022956822, + 0.021893622, + 0.02215369, + 0.018843504, + 0.021395929, + 0.031825565, + 0.022536871, + 0.022555892, + 0.021373561, + 0.02345346, + 0.021760739, + 0.026745433, + 0.043769051, + 0.042623192, + 0.042333155, + 0.040926241, + 0.041139323, + 0.041216933, + 0.022946504, + 0.021822309, + 0.02223811, + 0.021940757, + 0.021704181, + 0.021229267, + 0.021245882, + 0.018257454, + 0.019833693, + 0.021981706, + 0.021970316 + ], + [ + 0.032573722, + 0.051056344, + 0.021544809, + 0.020921648, + 0.032257743, + 0.020698229, + 0.022679836, + 0.022000916, + 0.042818941, + 0.041562864, + 0.050404721, + 0.023854128, + 0.024769901, + 0.023051267, + 0.022810773, + 0.023806201, + 0.032795133, + 0.022294033, + 0.022140018, + 0.022514829, + 0.022831558, + 0.023248216, + 0.027154392, + 0.043203974, + 0.042541912, + 0.044434497, + 0.043495609, + 0.044205836, + 0.041017955, + 0.022228433, + 0.022662191, + 0.021146539, + 0.021759629, + 0.022345871, + 0.022048927, + 0.021787409, + 0.02442681, + 0.022386888, + 0.022606985, + 0.020513049 + ], + [ + 0.034835203, + 0.054770808, + 0.021815727, + 0.020960544, + 0.031434751, + 0.022259573, + 0.022531367, + 0.021299145, + 0.043744189, + 0.042444983, + 0.048608254, + 0.021945358, + 0.023319623, + 0.023008105, + 0.021561457, + 0.022539353, + 0.030842017, + 0.01975482, + 0.018609186, + 0.018446606, + 0.022500199, + 0.02220664, + 0.026513119, + 0.042419737, + 0.043112526, + 0.043901027, + 0.043050783, + 0.043659248, + 0.037913924, + 0.023123305, + 0.022880943, + 0.021480728, + 0.022682691, + 0.022539017, + 0.025836093, + 0.022488167, + 0.024740308, + 0.02299647, + 0.02152549, + 0.023182751 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Vector", + "parallel" : "false", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.33812204633999987, + "scoreError" : 0.008935037718009917, + "scoreConfidence" : [ + 0.32918700862198996, + 0.3470570840580098 + ], + "scorePercentiles" : { + "0.0" : 0.235896495, + "50.0" : 0.3410437895, + "90.0" : 0.3885304773, + "95.0" : 0.39652561714999995, + "99.0" : 0.41454341450000004, + "99.9" : 0.418991813, + "99.99" : 0.418991813, + "99.999" : 0.418991813, + "99.9999" : 0.418991813, + "100.0" : 0.418991813 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.342093026, + 0.387516914, + 0.326219325, + 0.337432308, + 0.33661248, + 0.298680331, + 0.313264843, + 0.271589633, + 0.332673078, + 0.323285786, + 0.388438041, + 0.301151511, + 0.38977224, + 0.284503141, + 0.305133628, + 0.390313584, + 0.314577757, + 0.355034184, + 0.347236991, + 0.277200011, + 0.364261236, + 0.343187015, + 0.379126969, + 0.32893314, + 0.255661742, + 0.316889209, + 0.372155795, + 0.307432953, + 0.296853199, + 0.414594238, + 0.327905279, + 0.327623572, + 0.37682016, + 0.34634173, + 0.344464155, + 0.265281839, + 0.348003983, + 0.39553306, + 0.315187049, + 0.318031067 + ], + [ + 0.364971291, + 0.339138904, + 0.388540748, + 0.37258119, + 0.356577545, + 0.345565283, + 0.366139553, + 0.324415893, + 0.370318084, + 0.306486544, + 0.279801314, + 0.346808415, + 0.328153876, + 0.297630112, + 0.364565535, + 0.285623638, + 0.318729965, + 0.341912391, + 0.302184921, + 0.304837157, + 0.255135811, + 0.349863101, + 0.37558794, + 0.235896495, + 0.318089243, + 0.357636483, + 0.292898008, + 0.289989634, + 0.337635305, + 0.287767523, + 0.289916549, + 0.319584319, + 0.29952012, + 0.304442635, + 0.291783061, + 0.317346841, + 0.384262538, + 0.379689207, + 0.301660539, + 0.285711925 + ], + [ + 0.418991813, + 0.396577857, + 0.308937398, + 0.384051514, + 0.370446763, + 0.331641206, + 0.310952361, + 0.319887921, + 0.337878072, + 0.269732297, + 0.361431234, + 0.347245322, + 0.247511306, + 0.341677068, + 0.383329377, + 0.298623444, + 0.327648602, + 0.360836457, + 0.409511888, + 0.316063334, + 0.306807078, + 0.332792462, + 0.294556047, + 0.322018396, + 0.378641946, + 0.29611869, + 0.356943874, + 0.375451114, + 0.293234972, + 0.305354315, + 0.368381309, + 0.321551853, + 0.321856353, + 0.260577148, + 0.337315457, + 0.392133247, + 0.247980688, + 0.341859904, + 0.352415202, + 0.341527731 + ], + [ + 0.366637619, + 0.388349589, + 0.362922839, + 0.404337396, + 0.330562974, + 0.314245355, + 0.378472477, + 0.328182757, + 0.353648848, + 0.364375202, + 0.355936447, + 0.34596796, + 0.384869411, + 0.351148594, + 0.357268504, + 0.340773046, + 0.328286303, + 0.255215052, + 0.345142157, + 0.347547195, + 0.303692577, + 0.407633385, + 0.341350046, + 0.35230339, + 0.328065602, + 0.332535908, + 0.375088295, + 0.31822945, + 0.373583163, + 0.368044564, + 0.330608235, + 0.390542753, + 0.318272837, + 0.374287045, + 0.359425918, + 0.318131691, + 0.380266411, + 0.314482553, + 0.381401684, + 0.343049096 + ], + [ + 0.408358854, + 0.341314533, + 0.392884054, + 0.393975352, + 0.329816002, + 0.309388802, + 0.398568259, + 0.302368436, + 0.401914463, + 0.344675603, + 0.266296557, + 0.349582678, + 0.360614758, + 0.306354915, + 0.379133577, + 0.354990931, + 0.319193733, + 0.366900901, + 0.316787723, + 0.380950543, + 0.295440268, + 0.343846034, + 0.300243568, + 0.316867292, + 0.332712893, + 0.312998796, + 0.372216698, + 0.34565015, + 0.358079794, + 0.372810132, + 0.333794337, + 0.297097653, + 0.392795641, + 0.323786548, + 0.389326625, + 0.397349878, + 0.371825989, + 0.350302661, + 0.346305938, + 0.295094513 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "parallel" : "true", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 0.0019311214249999997, + "scoreError" : 2.581467856604888E-4, + "scoreConfidence" : [ + 0.0016729746393395108, + 0.0021892682106604885 + ], + "scorePercentiles" : { + "0.0" : 7.22028E-4, + "50.0" : 0.0017527965, + "90.0" : 0.0029240778000000005, + "95.0" : 0.0040117907999999945, + "99.0" : 0.0071250767600000015, + "99.9" : 0.007211743, + "99.99" : 0.007211743, + "99.999" : 0.007211743, + "99.9999" : 0.007211743, + "100.0" : 0.007211743 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.003438995, + 0.003287572, + 0.003526964, + 0.003474722, + 0.007211743, + 0.00318312, + 0.003001037, + 0.00297613, + 0.002878833, + 0.002929105, + 0.002797614, + 0.002681322, + 0.002448165, + 0.002644985, + 0.002335916, + 0.002577817, + 0.002435778, + 0.002556022, + 0.002446008, + 0.002428395, + 0.002436332, + 0.004461362, + 0.002380892, + 0.002403031, + 0.002526184, + 0.002466198, + 0.002561378, + 0.002550068, + 0.002480788, + 0.002555589, + 0.002557914, + 0.002589569, + 0.002695867, + 0.002279208, + 0.002409531, + 0.002502492, + 0.002455017, + 0.002635101, + 0.004537263, + 0.002386191 + ], + [ + 0.00223998, + 0.001717037, + 0.0018429, + 0.001830508, + 0.002025014, + 0.00634829, + 0.001645315, + 0.001560929, + 0.001677505, + 0.001606667, + 0.001272457, + 0.001212776, + 0.001182727, + 0.001162923, + 0.001184407, + 9.82962E-4, + 0.001088722, + 0.001038551, + 8.19815E-4, + 8.75461E-4, + 8.33282E-4, + 9.38594E-4, + 0.003133062, + 7.5407E-4, + 8.38692E-4, + 7.22028E-4, + 9.63488E-4, + 9.26756E-4, + 9.27792E-4, + 8.03332E-4, + 9.05728E-4, + 0.00108958, + 0.001067203, + 8.06819E-4, + 8.66995E-4, + 8.31197E-4, + 8.75188E-4, + 8.54788E-4, + 8.51359E-4, + 9.52285E-4 + ], + [ + 0.002100083, + 0.002219826, + 0.001744402, + 0.001761191, + 0.00200418, + 0.007126856, + 0.001663481, + 0.001454366, + 0.001474794, + 0.001438248, + 0.001471725, + 0.001426621, + 0.001459791, + 0.001182723, + 0.001139211, + 0.001136371, + 0.001238742, + 0.001096799, + 8.77593E-4, + 8.16532E-4, + 9.28243E-4, + 9.65967E-4, + 8.96061E-4, + 0.00299155, + 7.751E-4, + 0.001023217, + 0.001301657, + 0.001002482, + 0.00100555, + 8.10623E-4, + 0.001094386, + 0.001166318, + 0.001093763, + 9.78387E-4, + 9.91325E-4, + 9.18046E-4, + 8.76184E-4, + 8.62523E-4, + 8.86384E-4, + 0.001001331 + ], + [ + 0.002385361, + 0.002239723, + 0.002302068, + 0.002443578, + 0.002487335, + 0.005975799, + 0.004037308, + 0.001443651, + 0.001488201, + 0.001403017, + 0.001471449, + 0.001502091, + 0.001465842, + 0.001509798, + 0.001514903, + 0.001503797, + 0.001516608, + 0.001450257, + 0.001425322, + 0.001430862, + 0.001453649, + 0.001655935, + 0.004788347, + 0.001407111, + 0.001429409, + 0.001379343, + 0.001359846, + 0.001381112, + 0.001343155, + 0.00132694, + 0.001486503, + 0.00149798, + 0.00145779, + 0.001414666, + 0.001454894, + 0.001403387, + 0.001390769, + 0.001432656, + 0.001423493, + 0.001524704 + ], + [ + 0.002388682, + 0.002254763, + 0.002206791, + 0.002576203, + 0.002545365, + 0.006948932, + 0.00210295, + 0.002035217, + 0.002048518, + 0.002078521, + 0.001920648, + 0.001961473, + 0.001850246, + 0.001934272, + 0.001924632, + 0.001871455, + 0.001953285, + 0.001978449, + 0.001902089, + 0.002035761, + 0.002042961, + 0.001985014, + 0.004143489, + 0.001871932, + 0.001905894, + 0.001908879, + 0.001864086, + 0.001892639, + 0.001956538, + 0.001997635, + 0.00198924, + 0.001859654, + 0.001865424, + 0.001880294, + 0.001820568, + 0.001843857, + 0.001902989, + 0.002169097, + 0.002567837, + 0.002439313 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "parallel" : "true", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 0.0077740972300000015, + "scoreError" : 7.774046101135125E-4, + "scoreConfidence" : [ + 0.006996692619886489, + 0.008551501840113515 + ], + "scorePercentiles" : { + "0.0" : 0.003221562, + "50.0" : 0.0064685639999999996, + "90.0" : 0.0130453246, + "95.0" : 0.013863231149999999, + "99.0" : 0.01622279343000001, + "99.9" : 0.019205396, + "99.99" : 0.019205396, + "99.999" : 0.019205396, + "99.9999" : 0.019205396, + "100.0" : 0.019205396 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.006184692, + 0.011149621, + 0.010380799, + 0.005353152, + 0.009244765, + 0.006318136, + 0.005484814, + 0.008166673, + 0.013701671, + 0.013414709, + 0.008398444, + 0.00590333, + 0.006354795, + 0.004706735, + 0.005433055, + 0.010443713, + 0.006420128, + 0.007721129, + 0.008213409, + 0.00773834, + 0.008610775, + 0.013118168, + 0.012984544, + 0.013726282, + 0.012868717, + 0.016234985, + 0.006314774, + 0.005316236, + 0.004733261, + 0.004041631, + 0.005237632, + 0.005009668, + 0.005800346, + 0.004143962, + 0.004514739, + 0.004890068, + 0.004697828, + 0.00521894, + 0.004423739, + 0.005442587 + ], + [ + 0.005919041, + 0.00939828, + 0.008951059, + 0.005512273, + 0.005526655, + 0.012403164, + 0.006727349, + 0.00541284, + 0.011782629, + 0.01458573, + 0.01267038, + 0.005918082, + 0.006597298, + 0.00436097, + 0.00517831, + 0.007393953, + 0.005677813, + 0.005503386, + 0.004527958, + 0.004600914, + 0.005762437, + 0.008484274, + 0.013052078, + 0.012488095, + 0.0103492, + 0.013218289, + 0.011198148, + 0.007486545, + 0.004723468, + 0.003952048, + 0.003762539, + 0.004325287, + 0.003560064, + 0.003535279, + 0.005072565, + 0.005301311, + 0.004873167, + 0.003221562, + 0.004945383, + 0.003986462 + ], + [ + 0.005467842, + 0.009923203, + 0.010020436, + 0.005636096, + 0.006382383, + 0.005088901, + 0.006386559, + 0.006859752, + 0.012169183, + 0.01407988, + 0.019205396, + 0.013598231, + 0.013463946, + 0.007124382, + 0.006114051, + 0.009068134, + 0.006660874, + 0.008225563, + 0.007174849, + 0.008008449, + 0.009026274, + 0.008355254, + 0.012231678, + 0.013984188, + 0.012355045, + 0.013993814, + 0.012862891, + 0.004855557, + 0.004128046, + 0.005594873, + 0.005787502, + 0.005125544, + 0.005047702, + 0.004922833, + 0.006286002, + 0.004947891, + 0.00503848, + 0.005264627, + 0.007190634, + 0.005090064 + ], + [ + 0.006655153, + 0.010510892, + 0.010499649, + 0.006256306, + 0.011592365, + 0.006840721, + 0.007131297, + 0.007813631, + 0.012859899, + 0.013870439, + 0.012128241, + 0.005293783, + 0.005065081, + 0.005086736, + 0.005954945, + 0.007480891, + 0.004856366, + 0.004357535, + 0.003966016, + 0.005804198, + 0.005664668, + 0.009343946, + 0.012595142, + 0.012586218, + 0.011059198, + 0.012830904, + 0.014338467, + 0.005181926, + 0.010421356, + 0.003806721, + 0.003576632, + 0.003777159, + 0.007286072, + 0.006390003, + 0.003660307, + 0.004810099, + 0.004291075, + 0.005044625, + 0.005177691, + 0.005431847 + ], + [ + 0.00768719, + 0.010778832, + 0.015015828, + 0.008961086, + 0.008880138, + 0.006583795, + 0.006816962, + 0.006268976, + 0.010972496, + 0.011885224, + 0.013144101, + 0.005194025, + 0.005142446, + 0.006089188, + 0.005880408, + 0.006726654, + 0.005780033, + 0.005697055, + 0.005183754, + 0.004844065, + 0.006108478, + 0.008482291, + 0.014598754, + 0.013528449, + 0.010353177, + 0.012671933, + 0.011657734, + 0.007053612, + 0.006022251, + 0.00657669, + 0.006517, + 0.006202447, + 0.006310511, + 0.006900614, + 0.008998486, + 0.009389102, + 0.008986061, + 0.006079702, + 0.008458768, + 0.008338644 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "parallel" : "true", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.05356017676999999, + "scoreError" : 0.002683233136911231, + "scoreConfidence" : [ + 0.050876943633088756, + 0.05624340990691122 + ], + "scorePercentiles" : { + "0.0" : 0.040454625, + "50.0" : 0.051441696999999995, + "90.0" : 0.0547258154, + "95.0" : 0.0896250312499996, + "99.0" : 0.10987401329000002, + "99.9" : 0.11006534, + "99.99" : 0.11006534, + "99.999" : 0.11006534, + "99.9999" : 0.11006534, + "100.0" : 0.11006534 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.105976799, + 0.043071397, + 0.056442983, + 0.050363179, + 0.051227534, + 0.093562052, + 0.04287326, + 0.051222915, + 0.05530708, + 0.051787845, + 0.053923789, + 0.050161402, + 0.051565252, + 0.055115184, + 0.051373352, + 0.051370398, + 0.053368462, + 0.051605117, + 0.054614359, + 0.051665182, + 0.050751919, + 0.055162909, + 0.051789058, + 0.049753505, + 0.053624546, + 0.05116246, + 0.05424964, + 0.051982283, + 0.049450504, + 0.054411175, + 0.051719679, + 0.050074716, + 0.05338739, + 0.049680151, + 0.054628943, + 0.051722419, + 0.05015371, + 0.053985267, + 0.050974952, + 0.051814327 + ], + [ + 0.11006534, + 0.042519379, + 0.055295802, + 0.050780761, + 0.050584745, + 0.091365824, + 0.042308933, + 0.050211995, + 0.054736579, + 0.051075235, + 0.048561622, + 0.053885438, + 0.050509352, + 0.052346484, + 0.05152291, + 0.050817565, + 0.053343376, + 0.048574713, + 0.050846728, + 0.051596715, + 0.050769057, + 0.052657159, + 0.050854064, + 0.050334749, + 0.054208913, + 0.051005687, + 0.048793388, + 0.053533992, + 0.04942728, + 0.050481989, + 0.050406909, + 0.050230263, + 0.054202588, + 0.050122286, + 0.050345737, + 0.054013849, + 0.051064239, + 0.048001092, + 0.052246003, + 0.049515415 + ], + [ + 0.107794448, + 0.041929524, + 0.048742969, + 0.053397717, + 0.048240094, + 0.091898433, + 0.040454625, + 0.048351955, + 0.05213859, + 0.049801913, + 0.046645815, + 0.053323615, + 0.049178943, + 0.048942673, + 0.050294388, + 0.048971153, + 0.049200713, + 0.05169512, + 0.046675965, + 0.050382817, + 0.04868846, + 0.046626353, + 0.052203863, + 0.049026219, + 0.048735126, + 0.050171878, + 0.04958576, + 0.047547928, + 0.052411311, + 0.04844274, + 0.048208101, + 0.048516897, + 0.046716373, + 0.051318341, + 0.047954184, + 0.048022638, + 0.05223091, + 0.049253761, + 0.048850822, + 0.051714716 + ], + [ + 0.109895019, + 0.050559504, + 0.056549969, + 0.050222797, + 0.051890611, + 0.093412477, + 0.042561325, + 0.050549039, + 0.054872111, + 0.050564393, + 0.053921319, + 0.051997189, + 0.05041204, + 0.054546669, + 0.052596373, + 0.051809683, + 0.054071173, + 0.05141737, + 0.053695557, + 0.05211303, + 0.050647934, + 0.053632471, + 0.051435743, + 0.0510815, + 0.054139599, + 0.051124476, + 0.053900662, + 0.049279777, + 0.050881747, + 0.052810726, + 0.051657237, + 0.051474031, + 0.053810242, + 0.051700478, + 0.053591563, + 0.052031486, + 0.051203385, + 0.05446077, + 0.051744091, + 0.049013481 + ], + [ + 0.10752703, + 0.043222236, + 0.056097194, + 0.049632174, + 0.051447651, + 0.097938756, + 0.043106313, + 0.050920335, + 0.054508336, + 0.049984125, + 0.053597574, + 0.052189038, + 0.051898606, + 0.054544559, + 0.049624767, + 0.050415607, + 0.052868254, + 0.051882118, + 0.053382577, + 0.050449686, + 0.051914767, + 0.053926279, + 0.051880741, + 0.05128929, + 0.054051513, + 0.05171086, + 0.053785397, + 0.05207461, + 0.05140608, + 0.054993009, + 0.0519688, + 0.050302304, + 0.05312603, + 0.05149967, + 0.053784632, + 0.051426406, + 0.04988047, + 0.054397975, + 0.051786432, + 0.049785006 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "parallel" : "true", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 0.5284585583950004, + "scoreError" : 0.004011753822879868, + "scoreConfidence" : [ + 0.5244468045721206, + 0.5324703122178803 + ], + "scorePercentiles" : { + "0.0" : 0.498086095, + "50.0" : 0.531935594, + "90.0" : 0.5474746769, + "95.0" : 0.5507595724, + "99.0" : 0.5842884550300003, + "99.9" : 0.593475199, + "99.99" : 0.593475199, + "99.999" : 0.593475199, + "99.9999" : 0.593475199, + "100.0" : 0.593475199 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.547994816, + 0.538239975, + 0.542213435, + 0.539532579, + 0.542205389, + 0.51092591, + 0.558552369, + 0.523067942, + 0.555563533, + 0.525257712, + 0.542078858, + 0.512516336, + 0.547485428, + 0.517350076, + 0.542135117, + 0.514838571, + 0.53540211, + 0.507587339, + 0.548132413, + 0.515233769, + 0.543121253, + 0.512654308, + 0.548081694, + 0.511649038, + 0.542116491, + 0.51719666, + 0.544002634, + 0.516980177, + 0.543596718, + 0.519802485, + 0.54173052, + 0.514487913, + 0.514472624, + 0.544061364, + 0.510800186, + 0.516727745, + 0.545580007, + 0.518474216, + 0.50413267, + 0.551257916 + ], + [ + 0.545500932, + 0.536815594, + 0.537811144, + 0.543658301, + 0.513137602, + 0.55071911, + 0.534395909, + 0.512947561, + 0.533737821, + 0.511725989, + 0.522091367, + 0.510747008, + 0.541552292, + 0.509787948, + 0.534709613, + 0.546341763, + 0.547648119, + 0.512014381, + 0.538390727, + 0.517935091, + 0.543038545, + 0.518090417, + 0.543156293, + 0.509084073, + 0.546276293, + 0.508983967, + 0.543493054, + 0.513399967, + 0.542150026, + 0.511184905, + 0.539540712, + 0.510109977, + 0.51362227, + 0.547711623, + 0.512129015, + 0.543632087, + 0.509569947, + 0.512387136, + 0.528815199, + 0.512614727 + ], + [ + 0.541113058, + 0.540174567, + 0.515131014, + 0.544201784, + 0.538403703, + 0.513926212, + 0.548774045, + 0.515024101, + 0.526468205, + 0.515302459, + 0.540009408, + 0.51008351, + 0.549617907, + 0.515847405, + 0.546236739, + 0.514784607, + 0.543987318, + 0.511918175, + 0.543546267, + 0.515257201, + 0.543035556, + 0.513497285, + 0.542170771, + 0.519056334, + 0.543202384, + 0.518200092, + 0.545814334, + 0.508619572, + 0.544846923, + 0.514478011, + 0.538244757, + 0.512253266, + 0.546109923, + 0.508796216, + 0.509887506, + 0.551741119, + 0.508426255, + 0.522894308, + 0.540235888, + 0.514232243 + ], + [ + 0.540429237, + 0.532267313, + 0.563953759, + 0.533135775, + 0.537187697, + 0.502501806, + 0.584493856, + 0.503271792, + 0.541670274, + 0.507923369, + 0.527474386, + 0.510362799, + 0.535386938, + 0.507340611, + 0.532201029, + 0.507470909, + 0.533873135, + 0.513496392, + 0.541262575, + 0.510170558, + 0.53032164, + 0.511474682, + 0.537774568, + 0.50702644, + 0.541070938, + 0.505826326, + 0.538034371, + 0.504136483, + 0.538581357, + 0.498086095, + 0.537771951, + 0.513426053, + 0.53713958, + 0.507413273, + 0.53254604, + 0.506096992, + 0.505653496, + 0.542114444, + 0.506942564, + 0.528423366 + ], + [ + 0.550761702, + 0.537608004, + 0.547377917, + 0.541577691, + 0.544505838, + 0.511617152, + 0.559819696, + 0.513957684, + 0.531832129, + 0.508567911, + 0.537651368, + 0.508371014, + 0.535497853, + 0.508324804, + 0.540513571, + 0.524649876, + 0.543841984, + 0.512234721, + 0.549649713, + 0.512772802, + 0.535396012, + 0.511622901, + 0.544970898, + 0.593475199, + 0.532039059, + 0.511000487, + 0.540654379, + 0.517257738, + 0.537510932, + 0.519001621, + 0.543566142, + 0.504613934, + 0.543507112, + 0.513335151, + 0.50996732, + 0.558996863, + 0.514996982, + 0.511867459, + 0.544968915, + 0.512645047 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "parallel" : "false", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 0.001452774805000001, + "scoreError" : 2.043892688722015E-4, + "scoreConfidence" : [ + 0.0012483855361277993, + 0.0016571640738722024 + ], + "scorePercentiles" : { + "0.0" : 7.39944E-4, + "50.0" : 0.001081594, + "90.0" : 0.0025082006, + "95.0" : 0.0029056797499999987, + "99.0" : 0.005877210500000007, + "99.9" : 0.006542498, + "99.99" : 0.006542498, + "99.999" : 0.006542498, + "99.9999" : 0.006542498, + "100.0" : 0.006542498 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.002325753, + 0.002148768, + 0.00222642, + 0.002402714, + 0.002554288, + 0.002350811, + 0.002424877, + 0.002175644, + 0.002212549, + 0.001432212, + 0.001272512, + 0.001149355, + 9.56564E-4, + 9.29823E-4, + 8.4162E-4, + 8.48508E-4, + 9.2725E-4, + 9.56209E-4, + 9.51742E-4, + 0.001110078, + 9.11499E-4, + 0.001039698, + 8.35568E-4, + 8.6715E-4, + 8.87111E-4, + 9.141E-4, + 9.25876E-4, + 0.001043432, + 0.003129829, + 0.001109829, + 0.001381683, + 0.001146525, + 0.001122438, + 0.001050784, + 0.001044408, + 0.001040494, + 0.001002906, + 0.00102025, + 9.97494E-4, + 9.78754E-4 + ], + [ + 0.00216955, + 0.002238055, + 0.002312813, + 0.002230858, + 0.002538276, + 0.002524893, + 0.00250996, + 0.005884121, + 0.001648282, + 0.001366098, + 0.001219532, + 0.001030975, + 0.001137594, + 0.001095699, + 0.001080546, + 9.60212E-4, + 0.001061132, + 0.001070872, + 9.13902E-4, + 9.35383E-4, + 9.70485E-4, + 0.001012828, + 0.001039893, + 0.001030872, + 0.001049682, + 0.001050779, + 0.001112775, + 0.004551147, + 0.001192754, + 0.001094033, + 0.001090691, + 0.001089763, + 0.001058105, + 0.001062676, + 0.00106577, + 0.0010743, + 0.001123074, + 0.001078641, + 0.001099878, + 0.001058111 + ], + [ + 0.002595838, + 0.002485733, + 0.002584858, + 0.002551415, + 0.002912322, + 0.003022016, + 0.002779477, + 0.002437209, + 0.002247075, + 0.001678548, + 0.001448135, + 0.001305884, + 0.001340869, + 0.001061612, + 8.58462E-4, + 8.48511E-4, + 8.49968E-4, + 9.09462E-4, + 9.08559E-4, + 9.33412E-4, + 8.93495E-4, + 0.001011949, + 9.27697E-4, + 0.001056219, + 0.001363957, + 0.001168449, + 9.44866E-4, + 9.32009E-4, + 0.003995803, + 0.001044425, + 0.001051146, + 0.001045116, + 0.001036892, + 0.001035933, + 0.001011313, + 0.00100706, + 0.001012978, + 0.001028277, + 0.001027684, + 0.001033081 + ], + [ + 0.002229089, + 0.002201015, + 0.002245934, + 0.002550233, + 0.002609295, + 0.002479579, + 0.002492366, + 0.006542498, + 0.0015473, + 0.001307647, + 0.001462406, + 0.001249024, + 0.001324179, + 0.001083345, + 0.001014775, + 0.001030695, + 0.001326463, + 0.001192666, + 0.001040857, + 9.50846E-4, + 9.7448E-4, + 0.001028869, + 0.001042478, + 0.001091321, + 0.001123473, + 0.001110919, + 0.001154131, + 0.003195902, + 0.001087463, + 0.001088005, + 0.00109049, + 0.001097794, + 0.001072443, + 0.001081313, + 0.001085792, + 0.001081875, + 0.001055446, + 0.001053745, + 0.001063538, + 0.001057736 + ], + [ + 0.002201075, + 0.002059575, + 0.00202336, + 0.002049919, + 0.002347074, + 0.00231592, + 0.002345761, + 0.002321082, + 0.005193071, + 0.00121674, + 0.001093692, + 0.001076008, + 0.001196052, + 0.001108412, + 0.001071015, + 0.001110918, + 0.001094322, + 0.00123574, + 0.001323898, + 9.98767E-4, + 7.39944E-4, + 8.31917E-4, + 8.06797E-4, + 7.9335E-4, + 8.44905E-4, + 8.01619E-4, + 7.70056E-4, + 0.002919469, + 9.69163E-4, + 8.37647E-4, + 8.70921E-4, + 9.215E-4, + 8.45886E-4, + 8.88968E-4, + 8.19774E-4, + 8.14486E-4, + 8.30794E-4, + 8.154E-4, + 8.34634E-4, + 8.27656E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "parallel" : "false", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 0.014660354005000003, + "scoreError" : 0.0015838184369991871, + "scoreConfidence" : [ + 0.013076535568000815, + 0.01624417244199919 + ], + "scorePercentiles" : { + "0.0" : 0.008228963, + "50.0" : 0.0111713995, + "90.0" : 0.025954685300000002, + "95.0" : 0.02844653005, + "99.0" : 0.0292994661, + "99.9" : 0.029441927, + "99.99" : 0.029441927, + "99.999" : 0.029441927, + "99.9999" : 0.029441927, + "100.0" : 0.029441927 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.013218883, + 0.013086975, + 0.024625946, + 0.023651571, + 0.013116302, + 0.011406264, + 0.013018283, + 0.011322048, + 0.011060793, + 0.013525084, + 0.023971512, + 0.026274982, + 0.02837758, + 0.012884288, + 0.010977808, + 0.011154813, + 0.011766028, + 0.011012162, + 0.010823216, + 0.010885942, + 0.011167606, + 0.010948347, + 0.011375489, + 0.010963104, + 0.012395139, + 0.020902731, + 0.025445173, + 0.024016264, + 0.0269101, + 0.029022972, + 0.029160282, + 0.019805869, + 0.011240293, + 0.01113251, + 0.011032191, + 0.011227953, + 0.011090581, + 0.011143439, + 0.011239424, + 0.01096265 + ], + [ + 0.013200622, + 0.011285075, + 0.02145133, + 0.021996235, + 0.011895178, + 0.010951813, + 0.013782903, + 0.011028706, + 0.011217598, + 0.013090832, + 0.026891805, + 0.029300872, + 0.028789962, + 0.012298945, + 0.011090837, + 0.011082606, + 0.011315008, + 0.01174827, + 0.010995589, + 0.011503324, + 0.011354038, + 0.010888163, + 0.010940985, + 0.01114347, + 0.011268328, + 0.020865942, + 0.025315578, + 0.027838332, + 0.028635796, + 0.028503231, + 0.027989483, + 0.018863994, + 0.011028464, + 0.011106872, + 0.010614385, + 0.010772215, + 0.010889433, + 0.011866702, + 0.011021784, + 0.011145494 + ], + [ + 0.012950312, + 0.012738677, + 0.020954729, + 0.020651578, + 0.010900639, + 0.011080281, + 0.01291853, + 0.011127862, + 0.010991205, + 0.012627023, + 0.02473321, + 0.027769156, + 0.029441927, + 0.012554991, + 0.011008685, + 0.010829972, + 0.011084247, + 0.010919663, + 0.011050175, + 0.012365025, + 0.011384157, + 0.010986744, + 0.011379858, + 0.011175193, + 0.010779074, + 0.020929097, + 0.02412412, + 0.025459008, + 0.028917435, + 0.028450159, + 0.028674973, + 0.020289596, + 0.012644774, + 0.011028658, + 0.010742485, + 0.011279617, + 0.01080469, + 0.010780223, + 0.012538273, + 0.010954387 + ], + [ + 0.009992416, + 0.008550945, + 0.019460498, + 0.016950785, + 0.008236984, + 0.009560541, + 0.010168171, + 0.008463956, + 0.009024128, + 0.010828827, + 0.023450024, + 0.025740929, + 0.024549479, + 0.010224351, + 0.008814202, + 0.008416728, + 0.009096058, + 0.008965569, + 0.008804806, + 0.008345704, + 0.008362356, + 0.008796883, + 0.008520282, + 0.008961309, + 0.008228963, + 0.019827029, + 0.025105035, + 0.025978436, + 0.025707771, + 0.026163991, + 0.026389409, + 0.01662712, + 0.009969251, + 0.010227208, + 0.009510767, + 0.009657822, + 0.008393212, + 0.008479312, + 0.009029666, + 0.00824399 + ], + [ + 0.010127973, + 0.008624524, + 0.022211979, + 0.020467341, + 0.009914756, + 0.009351593, + 0.010308551, + 0.0087002, + 0.008270381, + 0.012110299, + 0.021886775, + 0.024421184, + 0.024073688, + 0.009810047, + 0.009979216, + 0.008565235, + 0.008487332, + 0.008807312, + 0.010288064, + 0.008473148, + 0.008611679, + 0.008620008, + 0.008553207, + 0.008569453, + 0.008369827, + 0.018533389, + 0.022924128, + 0.025163656, + 0.025230833, + 0.024736509, + 0.025454948, + 0.017151, + 0.009445447, + 0.008464645, + 0.008520394, + 0.008250685, + 0.008299557, + 0.009063231, + 0.008625347, + 0.008445143 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "parallel" : "false", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.125223650845, + "scoreError" : 0.005492152075298723, + "scoreConfidence" : [ + 0.11973149876970128, + 0.13071580292029872 + ], + "scorePercentiles" : { + "0.0" : 0.114765186, + "50.0" : 0.118824614, + "90.0" : 0.1232881135, + "95.0" : 0.20478755019999978, + "99.0" : 0.22533022245000003, + "99.9" : 0.227194852, + "99.99" : 0.227194852, + "99.999" : 0.227194852, + "99.9999" : 0.227194852, + "100.0" : 0.227194852 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.207321738, + 0.179646243, + 0.118891575, + 0.120983369, + 0.117310468, + 0.119007987, + 0.227194852, + 0.116610986, + 0.115947501, + 0.11962009, + 0.117853741, + 0.11637451, + 0.119307773, + 0.118214055, + 0.117065213, + 0.117689843, + 0.116643742, + 0.11761892, + 0.118328222, + 0.116960449, + 0.116565295, + 0.118961754, + 0.116420448, + 0.116338128, + 0.117690273, + 0.118051104, + 0.119327444, + 0.117705745, + 0.117492397, + 0.115460036, + 0.11749915, + 0.119064629, + 0.115972996, + 0.118011525, + 0.116648746, + 0.118531357, + 0.116207464, + 0.131557975, + 0.118411455, + 0.11906897 + ], + [ + 0.206813735, + 0.178627773, + 0.116602546, + 0.121098512, + 0.118267913, + 0.117521926, + 0.223996143, + 0.115482734, + 0.116146648, + 0.118176421, + 0.116408739, + 0.116553763, + 0.120150541, + 0.118064069, + 0.117948519, + 0.117585546, + 0.116894165, + 0.117357565, + 0.118060416, + 0.117650215, + 0.11614703, + 0.118390773, + 0.11608505, + 0.115920244, + 0.115221061, + 0.117226908, + 0.119281036, + 0.11644224, + 0.117448441, + 0.11706415, + 0.117146016, + 0.118098051, + 0.116600399, + 0.11978806, + 0.116472216, + 0.116549365, + 0.117208052, + 0.119455651, + 0.117030292, + 0.118753693 + ], + [ + 0.210115904, + 0.181871316, + 0.120158983, + 0.124735803, + 0.121734646, + 0.12113649, + 0.221819206, + 0.118267548, + 0.117804164, + 0.121595285, + 0.119353141, + 0.118697961, + 0.1204855, + 0.119398954, + 0.119392217, + 0.119876593, + 0.11903241, + 0.119147896, + 0.12083391, + 0.118719421, + 0.118039698, + 0.120766122, + 0.119694092, + 0.119934548, + 0.118323514, + 0.117770657, + 0.120067705, + 0.119533771, + 0.120663792, + 0.119451774, + 0.120669025, + 0.122391766, + 0.121161582, + 0.122809495, + 0.119361675, + 0.120180357, + 0.119005137, + 0.121949897, + 0.119863181, + 0.120260225 + ], + [ + 0.205816979, + 0.183025108, + 0.117184449, + 0.121141169, + 0.117796476, + 0.118000717, + 0.2210331, + 0.115993072, + 0.118421332, + 0.120617544, + 0.121010879, + 0.117733144, + 0.118473208, + 0.117425258, + 0.116263095, + 0.117947462, + 0.116583497, + 0.115725517, + 0.116938146, + 0.116736114, + 0.117465758, + 0.119580026, + 0.116574515, + 0.116884043, + 0.116505885, + 0.114765186, + 0.118292644, + 0.115987436, + 0.117479018, + 0.116655297, + 0.119544942, + 0.119480841, + 0.116254589, + 0.11767135, + 0.116064358, + 0.117693036, + 0.116846289, + 0.117879489, + 0.117403405, + 0.118361865 + ], + [ + 0.210012685, + 0.185228403, + 0.120516877, + 0.122764358, + 0.11997701, + 0.120746981, + 0.225343698, + 0.120640798, + 0.120723427, + 0.121423894, + 0.12037527, + 0.11832139, + 0.122007242, + 0.119274639, + 0.117791972, + 0.120507591, + 0.120166317, + 0.120104447, + 0.120618855, + 0.119426057, + 0.119403096, + 0.121600397, + 0.119410783, + 0.119574858, + 0.119242405, + 0.118757653, + 0.121523783, + 0.119806878, + 0.120021124, + 0.119204175, + 0.120274462, + 0.123024454, + 0.119235578, + 0.120054578, + 0.118943897, + 0.123317409, + 0.120114857, + 0.133094216, + 0.124432495, + 0.121074776 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "Array", + "parallel" : "false", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 1.3466044483400004, + "scoreError" : 0.008458675050490869, + "scoreConfidence" : [ + 1.3381457732895095, + 1.3550631233904913 + ], + "scorePercentiles" : { + "0.0" : 1.297304071, + "50.0" : 1.3370579215, + "90.0" : 1.4030484235, + "95.0" : 1.4120806102, + "99.0" : 1.43038219308, + "99.9" : 1.44958506, + "99.99" : 1.44958506, + "99.999" : 1.44958506, + "99.9999" : 1.44958506, + "100.0" : 1.44958506 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.341811623, + 1.364712808, + 1.322721122, + 1.35025275, + 1.314173597, + 1.366215702, + 1.357136181, + 1.374694319, + 1.32597618, + 1.321977949, + 1.324921391, + 1.309207774, + 1.352492392, + 1.322805015, + 1.316393501, + 1.324262879, + 1.310277624, + 1.315630944, + 1.379775471, + 1.311146478, + 1.3275519, + 1.312408262, + 1.306817484, + 1.341305775, + 1.320381353, + 1.313695879, + 1.334813777, + 1.320291206, + 1.319546647, + 1.348633881, + 1.32261258, + 1.321116845, + 1.322202432, + 1.318610978, + 1.343728975, + 1.316399096, + 1.329779133, + 1.323976819, + 1.314090961, + 1.350240694 + ], + [ + 1.349513557, + 1.311865133, + 1.326224969, + 1.313759327, + 1.383548648, + 1.320076059, + 1.308051889, + 1.33280691, + 1.332378158, + 1.30693753, + 1.34272974, + 1.331034545, + 1.326386867, + 1.312233903, + 1.304453897, + 1.349440219, + 1.338737203, + 1.358742099, + 1.334919134, + 1.315657275, + 1.333155096, + 1.318131282, + 1.326760173, + 1.319802418, + 1.310454258, + 1.334898924, + 1.314402344, + 1.313870013, + 1.368111589, + 1.315444281, + 1.317246519, + 1.364648998, + 1.315293947, + 1.319855739, + 1.308460216, + 1.329712106, + 1.305473483, + 1.32658947, + 1.309173287, + 1.335083265 + ], + [ + 1.397831181, + 1.430396191, + 1.388717758, + 1.422651174, + 1.403428325, + 1.403348956, + 1.428174292, + 1.398674816, + 1.395069023, + 1.391029487, + 1.396995831, + 1.409127061, + 1.401693933, + 1.39379966, + 1.44958506, + 1.400716164, + 1.400781168, + 1.406054231, + 1.402844596, + 1.39904472, + 1.397121843, + 1.400352227, + 1.405526724, + 1.394545944, + 1.428996399, + 1.426939644, + 1.39926362, + 1.416527962, + 1.401032335, + 1.401288457, + 1.421360132, + 1.403175223, + 1.42294418, + 1.410030308, + 1.399298957, + 1.403071071, + 1.403526617, + 1.412137219, + 1.397477745, + 1.411005043 + ], + [ + 1.392542656, + 1.352359402, + 1.367400171, + 1.346164811, + 1.38428559, + 1.343271728, + 1.345939883, + 1.381196718, + 1.342227164, + 1.350750981, + 1.384704649, + 1.339537166, + 1.331402658, + 1.336178465, + 1.346433637, + 1.339954448, + 1.336935293, + 1.335814355, + 1.367974812, + 1.334125675, + 1.33718055, + 1.339690391, + 1.345981912, + 1.366209352, + 1.342401419, + 1.354873863, + 1.341401423, + 1.339753338, + 1.355761142, + 1.344676036, + 1.380838778, + 1.341318118, + 1.348037695, + 1.340981054, + 1.340141135, + 1.342969976, + 1.366712735, + 1.338844649, + 1.337374921, + 1.34523008 + ], + [ + 1.348477058, + 1.304449548, + 1.302742648, + 1.314850328, + 1.324812317, + 1.342555327, + 1.315531221, + 1.324917983, + 1.3400168, + 1.297304071, + 1.341496863, + 1.310135811, + 1.316467787, + 1.30623913, + 1.305945973, + 1.303800246, + 1.310917507, + 1.352638379, + 1.308740458, + 1.308616545, + 1.30374652, + 1.309423082, + 1.310346836, + 1.336610622, + 1.31597968, + 1.318347764, + 1.315796255, + 1.317824428, + 1.331216076, + 1.336758889, + 1.306620732, + 1.317268464, + 1.309535691, + 1.334100389, + 1.310849915, + 1.30618677, + 1.319966789, + 1.307793549, + 1.313171626, + 1.332670638 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "parallel" : "true", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 0.0016324048500000008, + "scoreError" : 1.6862513986738023E-4, + "scoreConfidence" : [ + 0.0014637797101326206, + 0.001801029989867381 + ], + "scorePercentiles" : { + "0.0" : 9.27776E-4, + "50.0" : 0.0015160665000000001, + "90.0" : 0.0020141216, + "95.0" : 0.002385646699999999, + "99.0" : 0.0055180590000000005, + "99.9" : 0.005906484, + "99.99" : 0.005906484, + "99.999" : 0.005906484, + "99.9999" : 0.005906484, + "100.0" : 0.005906484 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001940035, + 0.001957277, + 0.001870616, + 0.002014854, + 0.002143751, + 0.001972054, + 0.001996825, + 0.001958815, + 0.00184355, + 0.001801532, + 0.001623208, + 0.001625937, + 0.001572592, + 0.001660952, + 0.001595138, + 0.005906484, + 0.001717838, + 0.001606657, + 0.001441511, + 0.001380287, + 0.001321236, + 0.001082234, + 0.001017914, + 0.001040325, + 9.27776E-4, + 9.60866E-4, + 0.002479656, + 0.001110662, + 0.001033043, + 9.92849E-4, + 0.001007954, + 0.001180017, + 0.001132324, + 0.001034757, + 0.001089845, + 0.001002775, + 0.001050629, + 0.00113506, + 0.001104794, + 0.001004047 + ], + [ + 0.002305271, + 0.001934934, + 0.001904557, + 0.001932051, + 0.001888253, + 0.00174858, + 0.001939008, + 0.002030573, + 0.001980299, + 0.001950714, + 0.001810357, + 0.001897635, + 0.001813698, + 0.001575677, + 0.00156284, + 0.005505288, + 0.001487348, + 0.001385693, + 0.001543777, + 0.001518677, + 0.001560051, + 0.001454043, + 0.001439088, + 0.001426609, + 0.001527745, + 0.00165075, + 0.001661652, + 0.001589039, + 0.001545508, + 0.001520218, + 0.001532764, + 0.00142325, + 0.001392842, + 0.00140297, + 0.001452228, + 0.001446456, + 0.001478374, + 0.00162643, + 0.001387612, + 0.00127332 + ], + [ + 0.002389877, + 0.001880005, + 0.001825932, + 0.001777342, + 0.00185394, + 0.001649759, + 0.0016418, + 0.001805565, + 0.00200753, + 0.001746883, + 0.001871401, + 0.001634356, + 0.001639973, + 0.001714845, + 0.001567931, + 0.005249702, + 0.001639867, + 0.001527175, + 0.001410217, + 0.001448725, + 0.001426385, + 0.001316335, + 0.001355841, + 0.001256098, + 0.001318368, + 0.001438122, + 0.001512049, + 0.001420639, + 0.001286284, + 0.001380407, + 0.001397048, + 0.001513456, + 0.001381087, + 0.001467978, + 0.001489544, + 0.00143748, + 0.001453053, + 0.001414018, + 0.001279875, + 0.001322264 + ], + [ + 0.002214616, + 0.00184027, + 0.00193746, + 0.001942361, + 0.001954314, + 0.002479814, + 0.002055242, + 0.001986684, + 0.002220009, + 0.001687158, + 0.001536173, + 0.001540815, + 0.001643298, + 0.002499528, + 0.001727221, + 0.005518188, + 0.001551442, + 0.001465505, + 0.001509311, + 0.001429083, + 0.001373905, + 0.001401124, + 0.001576808, + 0.001356261, + 0.001701732, + 0.001581883, + 0.001757345, + 0.001594522, + 0.001424595, + 0.001403575, + 0.001317265, + 0.001349201, + 0.001292779, + 0.001264693, + 0.001307673, + 0.001335701, + 0.001320933, + 0.001252316, + 0.001274964, + 0.001237462 + ], + [ + 0.002390691, + 0.002160216, + 0.001968966, + 0.001960705, + 0.001982437, + 0.002055081, + 0.002184325, + 0.001997472, + 0.001940201, + 0.00180035, + 0.00185912, + 0.001658738, + 0.0017004, + 0.001418208, + 0.001401416, + 0.005280414, + 0.001164304, + 0.001031478, + 0.001205233, + 0.00128658, + 0.001236161, + 0.001162103, + 0.001108272, + 0.001105022, + 0.001032385, + 0.001077308, + 0.00108411, + 0.00107432, + 0.001130736, + 0.001054078, + 0.001097306, + 0.001076641, + 9.63444E-4, + 0.001036766, + 0.001040354, + 0.001031146, + 9.51769E-4, + 9.31526E-4, + 0.001012125, + 9.71823E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "parallel" : "true", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 0.008577721689999998, + "scoreError" : 6.277424315498137E-4, + "scoreConfidence" : [ + 0.007949979258450184, + 0.009205464121549812 + ], + "scorePercentiles" : { + "0.0" : 0.00528341, + "50.0" : 0.0080757815, + "90.0" : 0.012349076200000001, + "95.0" : 0.014107499649999992, + "99.0" : 0.01599074553, + "99.9" : 0.016369793, + "99.99" : 0.016369793, + "99.999" : 0.016369793, + "99.9999" : 0.016369793, + "100.0" : 0.016369793 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.015289456, + 0.011907576, + 0.013008206, + 0.015761415, + 0.009451532, + 0.010212174, + 0.00806612, + 0.009310383, + 0.008869385, + 0.008085443, + 0.007979568, + 0.008324332, + 0.010283702, + 0.009641955, + 0.009380253, + 0.008939809, + 0.008930072, + 0.012629152, + 0.00747356, + 0.008667016, + 0.009214786, + 0.007855497, + 0.008140933, + 0.007924001, + 0.008190619, + 0.008683682, + 0.007164312, + 0.010209601, + 0.006068133, + 0.005602633, + 0.006519417, + 0.006291791, + 0.005872884, + 0.005874662, + 0.006041558, + 0.005840517, + 0.005794749, + 0.006104418, + 0.006099446, + 0.007236192 + ], + [ + 0.00952951, + 0.009841199, + 0.012145022, + 0.012866488, + 0.008386363, + 0.008322697, + 0.008964617, + 0.008095014, + 0.011305205, + 0.006560136, + 0.007220596, + 0.008633089, + 0.008001919, + 0.010211929, + 0.012016962, + 0.013199869, + 0.011080392, + 0.013516479, + 0.010233496, + 0.006937262, + 0.006272227, + 0.00586405, + 0.007660086, + 0.005940835, + 0.006025189, + 0.005659474, + 0.005918475, + 0.006960344, + 0.01009088, + 0.005595636, + 0.006020262, + 0.005644815, + 0.005842173, + 0.006136733, + 0.006036838, + 0.005816437, + 0.005864726, + 0.005856194, + 0.006202152, + 0.008154612 + ], + [ + 0.015505641, + 0.014883351, + 0.012335677, + 0.015677889, + 0.007385323, + 0.007052293, + 0.007554823, + 0.007295784, + 0.011670811, + 0.006936226, + 0.006289619, + 0.006600229, + 0.006661069, + 0.007371294, + 0.00789171, + 0.010963719, + 0.008393633, + 0.00900093, + 0.009956215, + 0.006580165, + 0.006706139, + 0.005905724, + 0.006004231, + 0.006456601, + 0.005820557, + 0.006153382, + 0.00627023, + 0.006505954, + 0.01016811, + 0.00679749, + 0.006724039, + 0.006246371, + 0.010792968, + 0.007705646, + 0.00629471, + 0.00573758, + 0.006292784, + 0.00642003, + 0.007833918, + 0.006924664 + ], + [ + 0.011936085, + 0.013283098, + 0.012401681, + 0.012153149, + 0.009877553, + 0.009133873, + 0.008525926, + 0.00864012, + 0.009545584, + 0.009847231, + 0.010250936, + 0.010083929, + 0.011242957, + 0.01110607, + 0.012350565, + 0.014163148, + 0.011846958, + 0.016369793, + 0.011385426, + 0.010413653, + 0.007200527, + 0.007396477, + 0.008366155, + 0.010825744, + 0.008664062, + 0.008294155, + 0.008149035, + 0.014565591, + 0.008995959, + 0.009875978, + 0.010588592, + 0.009759168, + 0.009456366, + 0.011963493, + 0.007282042, + 0.00794557, + 0.006949164, + 0.00564328, + 0.007023282, + 0.008020076 + ], + [ + 0.01228792, + 0.014138606, + 0.013098493, + 0.015993062, + 0.011191266, + 0.010850908, + 0.010566442, + 0.006914748, + 0.012644713, + 0.010939991, + 0.009202505, + 0.010092527, + 0.010455613, + 0.010771383, + 0.009618907, + 0.008769713, + 0.008498146, + 0.007167563, + 0.005350863, + 0.005389168, + 0.006858696, + 0.005347486, + 0.005524679, + 0.005817592, + 0.00584043, + 0.005988361, + 0.006512606, + 0.005695742, + 0.00907148, + 0.00528341, + 0.005568608, + 0.005668378, + 0.005585902, + 0.005448298, + 0.005462288, + 0.005664285, + 0.005466468, + 0.005341627, + 0.006496873, + 0.00609729 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "parallel" : "true", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.07119095882999998, + "scoreError" : 0.0029088012720277765, + "scoreConfidence" : [ + 0.0682821575579722, + 0.07409976010202776 + ], + "scorePercentiles" : { + "0.0" : 0.057938179, + "50.0" : 0.0662982395, + "90.0" : 0.0914451824, + "95.0" : 0.09869718915, + "99.0" : 0.10994574531000002, + "99.9" : 0.109992024, + "99.99" : 0.109992024, + "99.999" : 0.109992024, + "99.9999" : 0.109992024, + "100.0" : 0.109992024 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.098697876, + 0.061926468, + 0.061250007, + 0.088623655, + 0.061220909, + 0.064032315, + 0.072421285, + 0.096251758, + 0.060907533, + 0.063049034, + 0.061561174, + 0.062241904, + 0.085187881, + 0.06072843, + 0.063179866, + 0.062123759, + 0.061613672, + 0.089586408, + 0.061756347, + 0.062142447, + 0.062223311, + 0.062080558, + 0.062371892, + 0.086214674, + 0.062058788, + 0.061878102, + 0.062193621, + 0.062032502, + 0.063296114, + 0.088037571, + 0.062621277, + 0.062448013, + 0.0624522, + 0.064893418, + 0.085174047, + 0.0623095, + 0.062823606, + 0.06370958, + 0.064189725, + 0.062591892 + ], + [ + 0.100038737, + 0.063057661, + 0.06236334, + 0.063279825, + 0.063625863, + 0.067916447, + 0.07999779, + 0.098117475, + 0.062444392, + 0.063493396, + 0.062953585, + 0.062928624, + 0.062249394, + 0.061927839, + 0.062579708, + 0.062532957, + 0.064150939, + 0.097614639, + 0.062142473, + 0.062591781, + 0.063544037, + 0.062180153, + 0.063468597, + 0.062222739, + 0.063026036, + 0.062286874, + 0.062608118, + 0.063710344, + 0.082311149, + 0.063825188, + 0.062547022, + 0.06272162, + 0.06315118, + 0.063461659, + 0.086158388, + 0.063921157, + 0.064143988, + 0.067996625, + 0.065209839, + 0.084824915 + ], + [ + 0.099394188, + 0.059529625, + 0.059176878, + 0.058163223, + 0.058088005, + 0.065361215, + 0.077455381, + 0.098443878, + 0.05816944, + 0.057938179, + 0.059003168, + 0.08163011, + 0.059364573, + 0.05919338, + 0.059883568, + 0.059750754, + 0.064676004, + 0.09290278, + 0.059294575, + 0.060902141, + 0.058588614, + 0.058882129, + 0.082029072, + 0.059474764, + 0.058923817, + 0.060581371, + 0.061238158, + 0.060313502, + 0.0868189, + 0.061612464, + 0.060746497, + 0.061029595, + 0.060716643, + 0.061596077, + 0.061353586, + 0.061834313, + 0.060806843, + 0.061338826, + 0.064673093, + 0.086663602 + ], + [ + 0.109959571, + 0.077361252, + 0.074537262, + 0.098737329, + 0.074412733, + 0.078277569, + 0.088062989, + 0.109992024, + 0.075346459, + 0.074996766, + 0.074395366, + 0.074083366, + 0.074108317, + 0.074075923, + 0.074435092, + 0.075878556, + 0.07565999, + 0.108577002, + 0.074760851, + 0.076100649, + 0.074610203, + 0.07499767, + 0.074492861, + 0.100008804, + 0.074631297, + 0.074812077, + 0.075059403, + 0.074644412, + 0.09638166, + 0.074329408, + 0.074879403, + 0.077468982, + 0.074062351, + 0.074538564, + 0.10227499, + 0.074572022, + 0.074792635, + 0.074302235, + 0.07569051, + 0.093709664 + ], + [ + 0.102557128, + 0.065995882, + 0.066921165, + 0.065413884, + 0.066464858, + 0.071398865, + 0.077841863, + 0.098684139, + 0.065997759, + 0.065785726, + 0.066510141, + 0.084956572, + 0.066695909, + 0.067435329, + 0.066131621, + 0.066045729, + 0.071904295, + 0.093863044, + 0.067571842, + 0.066585959, + 0.067867338, + 0.066858902, + 0.090547067, + 0.067149227, + 0.067030312, + 0.067853062, + 0.067213213, + 0.067833678, + 0.091544973, + 0.069103765, + 0.06910723, + 0.069064692, + 0.069005708, + 0.088409685, + 0.06875371, + 0.072335076, + 0.069090322, + 0.070214845, + 0.069114463, + 0.090342028 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "parallel" : "true", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 2.0319950418649997, + "scoreError" : 0.5211620802047312, + "scoreConfidence" : [ + 1.5108329616602685, + 2.553157122069731 + ], + "scorePercentiles" : { + "0.0" : 0.569006906, + "50.0" : 0.779725698, + "90.0" : 5.940439726199999, + "95.0" : 5.9875035773, + "99.0" : 6.285061951010001, + "99.9" : 6.337889527, + "99.99" : 6.337889527, + "99.999" : 6.337889527, + "99.9999" : 6.337889527, + "100.0" : 6.337889527 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.732891377, + 5.901162347, + 0.714113801, + 6.18111116, + 0.627989714, + 0.752672885, + 6.337889527, + 0.608036256, + 0.737122927, + 6.286111959, + 0.625014468, + 0.742711287, + 6.070971124, + 0.602514403, + 0.732305347, + 0.873132214, + 0.727112731, + 6.081064376, + 0.699252495, + 0.745478523, + 1.035162257, + 0.621923723, + 6.064674076, + 0.713692333, + 0.617275355, + 0.7145615, + 1.071945367, + 0.659489727, + 5.775745437, + 0.744170559, + 0.717122209, + 0.733559549, + 1.092823686, + 0.902232064, + 0.789528093, + 6.122942594, + 0.620116326, + 0.795400931, + 0.87504792, + 0.654644518 + ], + [ + 5.952647173, + 0.682681643, + 5.677702479, + 0.717335844, + 5.94005586, + 0.717991597, + 5.895217926, + 0.721281044, + 1.062980422, + 0.732305723, + 0.715388049, + 5.899226508, + 0.733868262, + 0.607752292, + 0.720464459, + 1.107466208, + 5.961118, + 0.72882123, + 0.8181884, + 0.899255073, + 5.784416039, + 0.696069404, + 0.927750879, + 0.655095691, + 0.712641921, + 1.064728246, + 5.756822699, + 0.711580735, + 0.784196356, + 0.753945518, + 0.625338009, + 5.684295386, + 1.072434004, + 0.748906113, + 0.695537524, + 0.921829778, + 0.760114438, + 5.890186456, + 0.586342193, + 0.761128958 + ], + [ + 5.981371676, + 0.78471786, + 5.758662083, + 0.784026924, + 6.055241164, + 0.7801473, + 0.732848462, + 5.808412343, + 1.132068931, + 0.750103891, + 0.776475034, + 5.952329689, + 0.920741837, + 0.725519688, + 0.775654961, + 5.784556704, + 0.745876065, + 0.686177319, + 0.795501454, + 1.131179653, + 0.904428742, + 5.986004122, + 0.810831571, + 0.709497773, + 0.74604684, + 1.063352189, + 0.769322513, + 5.551257118, + 0.757117286, + 0.749196159, + 0.723959417, + 0.775457368, + 1.087986379, + 5.884781759, + 0.698932946, + 0.753435628, + 0.949096738, + 0.683875219, + 0.779699251, + 5.968177193 + ], + [ + 5.907471101, + 0.744300403, + 5.929336369, + 0.785939744, + 5.871885435, + 0.745849809, + 5.702665491, + 0.775897137, + 0.746619393, + 5.628070853, + 0.932096321, + 0.809273542, + 0.739665211, + 5.941330897, + 0.754068207, + 0.81103398, + 0.952667588, + 5.947631321, + 0.779752145, + 0.758446759, + 0.988159688, + 0.766493319, + 5.610001951, + 0.849616408, + 0.738984942, + 0.626318772, + 0.767349394, + 5.743795817, + 0.753512025, + 0.694002214, + 0.770938498, + 0.872938117, + 5.987582496, + 0.747803617, + 0.779431284, + 0.933870202, + 0.780027763, + 0.851126924, + 0.774392183, + 0.925415261 + ], + [ + 5.936553319, + 0.569006906, + 5.61187143, + 0.72124442, + 5.794094312, + 0.717332644, + 0.893320103, + 5.716889699, + 0.675926696, + 0.936897195, + 6.001085677, + 0.875753799, + 0.732516633, + 0.763952322, + 5.690245913, + 0.96053246, + 0.775321631, + 0.72087086, + 0.741399185, + 5.782591203, + 0.784603921, + 0.611199523, + 0.76188809, + 0.637178646, + 5.966135651, + 0.598805249, + 0.772706149, + 0.855951024, + 0.772859385, + 5.940482378, + 0.867278366, + 0.718769649, + 0.75566602, + 0.73468337, + 0.856214164, + 0.784967123, + 5.856097283, + 0.708790961, + 0.619489899, + 0.752177601 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "parallel" : "false", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 0.00144411897, + "scoreError" : 1.4413450788996015E-4, + "scoreConfidence" : [ + 0.0012999844621100398, + 0.00158825347788996 + ], + "scorePercentiles" : { + "0.0" : 8.05575E-4, + "50.0" : 0.0013706985, + "90.0" : 0.0018674752, + "95.0" : 0.0020281819499999992, + "99.0" : 0.004851426370000002, + "99.9" : 0.005166507, + "99.99" : 0.005166507, + "99.999" : 0.005166507, + "99.9999" : 0.005166507, + "100.0" : 0.005166507 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001690476, + 0.001698545, + 0.001701383, + 0.001742859, + 0.001866856, + 0.001704302, + 0.001685093, + 0.001710198, + 0.001804078, + 0.001760309, + 0.001942196, + 0.001952496, + 0.001675649, + 0.001738436, + 0.001682695, + 0.001683554, + 0.001661547, + 0.001462174, + 0.001951928, + 0.001493878, + 0.001439094, + 0.001153695, + 0.001131195, + 0.001050307, + 0.001108278, + 0.001076039, + 0.001352196, + 0.001302706, + 0.001076109, + 0.001109246, + 0.00107544, + 0.001164931, + 0.001091231, + 0.001078868, + 9.8917E-4, + 9.70606E-4, + 9.62847E-4, + 9.54692E-4, + 9.52485E-4, + 9.25712E-4 + ], + [ + 0.001757569, + 0.001778064, + 0.001729638, + 0.001729109, + 0.001784379, + 0.002187767, + 0.001793603, + 0.001882558, + 0.001781801, + 0.001819623, + 0.001721747, + 0.001867544, + 0.002451934, + 0.001842353, + 0.00196455, + 0.001562914, + 0.001453033, + 0.001511741, + 0.001599143, + 0.001559936, + 0.00161875, + 0.005166507, + 0.001395782, + 0.001169325, + 0.001246432, + 0.001168466, + 0.001186497, + 0.001112094, + 0.001160037, + 9.7974E-4, + 0.001031147, + 0.001009271, + 9.65466E-4, + 9.48101E-4, + 9.62813E-4, + 9.42769E-4, + 9.61569E-4, + 9.47078E-4, + 8.94699E-4, + 8.7236E-4 + ], + [ + 0.001687143, + 0.001694359, + 0.001679916, + 0.002031531, + 0.001807471, + 0.001738398, + 0.001732838, + 0.001838139, + 0.00180819, + 0.001874126, + 0.001876524, + 0.001872413, + 0.001704608, + 0.001864665, + 0.001695828, + 0.001573316, + 0.001353619, + 0.001785185, + 0.00141749, + 0.001315806, + 0.001276864, + 0.004353898, + 0.001115672, + 9.60005E-4, + 0.001002437, + 9.09894E-4, + 0.001256622, + 9.13618E-4, + 0.001145834, + 8.89234E-4, + 9.36421E-4, + 9.81714E-4, + 0.001060234, + 9.6024E-4, + 9.70117E-4, + 9.68868E-4, + 9.39992E-4, + 9.39557E-4, + 9.36362E-4, + 9.34212E-4 + ], + [ + 0.001685313, + 0.001793676, + 0.001689126, + 0.001735247, + 0.001705564, + 0.001652419, + 0.001661137, + 0.001917616, + 0.001701093, + 0.001750989, + 0.001774309, + 0.001622198, + 0.0016295, + 0.001611113, + 0.001676974, + 0.00183387, + 0.001507664, + 0.001324923, + 0.001387778, + 0.001241533, + 0.001207033, + 0.00485386, + 0.001087973, + 9.04675E-4, + 8.66082E-4, + 8.24736E-4, + 8.88663E-4, + 9.31625E-4, + 9.12122E-4, + 9.39324E-4, + 9.42221E-4, + 0.001099787, + 9.41413E-4, + 0.001069935, + 9.868E-4, + 9.42417E-4, + 9.3856E-4, + 9.45171E-4, + 9.40913E-4, + 9.359E-4 + ], + [ + 0.001823102, + 0.001703637, + 0.001749733, + 0.001726901, + 0.002044767, + 0.001711828, + 0.001735959, + 0.001858417, + 0.001756085, + 0.001849844, + 0.002089564, + 0.001689193, + 0.001716641, + 0.002076595, + 0.001458872, + 0.001393614, + 0.001334812, + 0.001317154, + 0.001654236, + 0.00129221, + 0.001265566, + 0.004610497, + 0.001200338, + 8.05575E-4, + 9.00256E-4, + 8.08609E-4, + 8.94393E-4, + 9.82426E-4, + 9.83949E-4, + 8.54709E-4, + 8.65451E-4, + 9.48713E-4, + 9.31518E-4, + 9.57578E-4, + 0.001028112, + 9.68538E-4, + 9.68434E-4, + 9.70016E-4, + 9.52997E-4, + 9.86935E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "parallel" : "false", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 0.013206583380000001, + "scoreError" : 6.965410895018386E-4, + "scoreConfidence" : [ + 0.012510042290498163, + 0.01390312446950184 + ], + "scorePercentiles" : { + "0.0" : 0.010442656, + "50.0" : 0.0113289795, + "90.0" : 0.0172247283, + "95.0" : 0.018881933699999996, + "99.0" : 0.0212418549, + "99.9" : 0.023316947, + "99.99" : 0.023316947, + "99.999" : 0.023316947, + "99.9999" : 0.023316947, + "100.0" : 0.023316947 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.011319397, + 0.01094127, + 0.010828579, + 0.016755952, + 0.017207253, + 0.018475886, + 0.010958122, + 0.010837759, + 0.011161174, + 0.010848312, + 0.010799365, + 0.013667912, + 0.010834667, + 0.01086026, + 0.01089114, + 0.010655912, + 0.011780302, + 0.010849074, + 0.015698087, + 0.016776034, + 0.016424597, + 0.016789752, + 0.016679536, + 0.016508272, + 0.01207093, + 0.010790917, + 0.01117041, + 0.010920946, + 0.010673105, + 0.010701652, + 0.010814818, + 0.010914778, + 0.010829237, + 0.010898062, + 0.011514016, + 0.011476507, + 0.013597259, + 0.011102703, + 0.010924414, + 0.010728184 + ], + [ + 0.010989356, + 0.01083752, + 0.013219814, + 0.010887273, + 0.010812915, + 0.013685654, + 0.010703595, + 0.011881528, + 0.010841942, + 0.014489386, + 0.016861992, + 0.0198898, + 0.010660166, + 0.010976585, + 0.010677767, + 0.010796232, + 0.011542504, + 0.010882592, + 0.010771367, + 0.011171346, + 0.010858665, + 0.010971185, + 0.011003825, + 0.010940809, + 0.013328435, + 0.016833844, + 0.016986694, + 0.01648048, + 0.017107607, + 0.016526824, + 0.014991759, + 0.010714233, + 0.010639631, + 0.010640616, + 0.010442656, + 0.011612415, + 0.010739526, + 0.010747854, + 0.01100877, + 0.010776813 + ], + [ + 0.015067462, + 0.014540896, + 0.017769164, + 0.014535313, + 0.014533189, + 0.017420671, + 0.014552515, + 0.014796533, + 0.015193315, + 0.018330914, + 0.020867073, + 0.023316947, + 0.014524133, + 0.014611586, + 0.014601999, + 0.015226382, + 0.014583233, + 0.014917669, + 0.014720144, + 0.014450363, + 0.014571246, + 0.01519772, + 0.014442029, + 0.014923061, + 0.017523711, + 0.020658616, + 0.021232737, + 0.020525653, + 0.021241947, + 0.020938064, + 0.018511257, + 0.015012936, + 0.014574831, + 0.015124672, + 0.014513308, + 0.015074555, + 0.014634032, + 0.014422447, + 0.0146051, + 0.014664788 + ], + [ + 0.012199326, + 0.01234182, + 0.013368158, + 0.010912839, + 0.010938774, + 0.013559087, + 0.01068906, + 0.011452764, + 0.01072447, + 0.014858919, + 0.017428682, + 0.019607399, + 0.010653402, + 0.010839054, + 0.010691784, + 0.010848783, + 0.011132915, + 0.011019152, + 0.010750384, + 0.011096056, + 0.010915404, + 0.010704489, + 0.010691958, + 0.010887236, + 0.013718594, + 0.016655682, + 0.01747899, + 0.016464469, + 0.017125122, + 0.016738548, + 0.014588258, + 0.010765148, + 0.010673151, + 0.010883638, + 0.010663827, + 0.011754636, + 0.011019821, + 0.010913406, + 0.010819426, + 0.010814163 + ], + [ + 0.010683265, + 0.011351579, + 0.013511056, + 0.011124805, + 0.010951311, + 0.013750106, + 0.0108392, + 0.010966176, + 0.010694022, + 0.014688158, + 0.017030034, + 0.018901443, + 0.011070214, + 0.010988728, + 0.010706448, + 0.011125562, + 0.010669985, + 0.010814155, + 0.010740054, + 0.010839326, + 0.011338562, + 0.010686574, + 0.01072704, + 0.011092215, + 0.013692488, + 0.01722667, + 0.016858808, + 0.016891896, + 0.016848299, + 0.017391685, + 0.014943125, + 0.011186574, + 0.01077468, + 0.011161915, + 0.010697254, + 0.011247906, + 0.010795708, + 0.010867812, + 0.010749516, + 0.01074279 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "parallel" : "false", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.13730924924500004, + "scoreError" : 0.005118955818106803, + "scoreConfidence" : [ + 0.13219029342689323, + 0.14242820506310686 + ], + "scorePercentiles" : { + "0.0" : 0.115529836, + "50.0" : 0.132974545, + "90.0" : 0.169567189, + "95.0" : 0.17364531219999998, + "99.0" : 0.20323564262000002, + "99.9" : 0.207845365, + "99.99" : 0.207845365, + "99.999" : 0.207845365, + "99.9999" : 0.207845365, + "100.0" : 0.207845365 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.125709801, + 0.169582016, + 0.118280634, + 0.118805392, + 0.136134828, + 0.117492135, + 0.120807179, + 0.145796697, + 0.170759461, + 0.171942683, + 0.119458628, + 0.118263103, + 0.119138683, + 0.119466062, + 0.119325243, + 0.13570329, + 0.118950515, + 0.11741345, + 0.119440832, + 0.119668918, + 0.121803115, + 0.173728765, + 0.118296221, + 0.118741815, + 0.11810111, + 0.118429135, + 0.119513438, + 0.119277429, + 0.132511016, + 0.119371079, + 0.118863042, + 0.119311121, + 0.119459506, + 0.118979439, + 0.116992552, + 0.13293585, + 0.118703476, + 0.118151209, + 0.119859186, + 0.118485443 + ], + [ + 0.122708509, + 0.169724459, + 0.122343625, + 0.120143458, + 0.133944618, + 0.118596479, + 0.117543409, + 0.138584029, + 0.179878952, + 0.171679407, + 0.117352394, + 0.117426129, + 0.117859319, + 0.11801009, + 0.118500342, + 0.132641032, + 0.118149333, + 0.117557628, + 0.116301345, + 0.118046284, + 0.126346292, + 0.17036254, + 0.117077979, + 0.115529836, + 0.117312432, + 0.116686175, + 0.117537517, + 0.11661324, + 0.132428721, + 0.115931203, + 0.116975293, + 0.117101372, + 0.117184583, + 0.1179354, + 0.119883692, + 0.132895517, + 0.118068025, + 0.117734404, + 0.117751452, + 0.118900878 + ], + [ + 0.153442373, + 0.201003126, + 0.147053184, + 0.148632986, + 0.163173451, + 0.147429076, + 0.148078888, + 0.170019301, + 0.203253224, + 0.201495086, + 0.147006137, + 0.147586198, + 0.146363686, + 0.147576959, + 0.148650191, + 0.164126034, + 0.14651584, + 0.14821729, + 0.149311918, + 0.148199142, + 0.150696367, + 0.207845365, + 0.149449298, + 0.148999539, + 0.1483306, + 0.145778275, + 0.148355275, + 0.148250576, + 0.164044111, + 0.146833573, + 0.149255934, + 0.148158711, + 0.14835112, + 0.148913229, + 0.147508632, + 0.162191723, + 0.148551753, + 0.147310226, + 0.148428472, + 0.146969906 + ], + [ + 0.15193948, + 0.198805746, + 0.149503659, + 0.146625777, + 0.159659882, + 0.145688301, + 0.146261942, + 0.168417183, + 0.199572114, + 0.200445624, + 0.146695244, + 0.143996946, + 0.144820739, + 0.143896789, + 0.146042857, + 0.160027611, + 0.145726959, + 0.146192802, + 0.14565085, + 0.143566844, + 0.144956713, + 0.198005191, + 0.145694733, + 0.146239453, + 0.144691253, + 0.144509853, + 0.145680006, + 0.143381273, + 0.161538544, + 0.146784214, + 0.145244601, + 0.14574858, + 0.143877456, + 0.144851392, + 0.146264006, + 0.160217672, + 0.14810679, + 0.146166865, + 0.14462749, + 0.145616778 + ], + [ + 0.127484549, + 0.169433746, + 0.117384433, + 0.118108658, + 0.13301324, + 0.117829761, + 0.118870298, + 0.139930169, + 0.170188287, + 0.172059709, + 0.118165349, + 0.118143728, + 0.116508821, + 0.116350517, + 0.118645654, + 0.134135036, + 0.118059286, + 0.117665641, + 0.11725654, + 0.11699474, + 0.118708764, + 0.169690569, + 0.120234526, + 0.118921215, + 0.117702115, + 0.11711942, + 0.117686057, + 0.117988653, + 0.132390966, + 0.117542988, + 0.118343379, + 0.117966833, + 0.116747975, + 0.116303794, + 0.118614054, + 0.131931844, + 0.118186202, + 0.115929974, + 0.11788255, + 0.117731933 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "ArrayBuffer", + "parallel" : "false", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 1.5613428742049995, + "scoreError" : 0.029697804438330113, + "scoreConfidence" : [ + 1.5316450697666695, + 1.5910406786433295 + ], + "scorePercentiles" : { + "0.0" : 1.265329954, + "50.0" : 1.5200654789999999, + "90.0" : 1.7472271115, + "95.0" : 1.77241855155, + "99.0" : 1.92966102168, + "99.9" : 2.133928437, + "99.99" : 2.133928437, + "99.999" : 2.133928437, + "99.9999" : 2.133928437, + "100.0" : 2.133928437 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 1.594984481, + 1.496853897, + 1.473899031, + 1.461776634, + 1.507860966, + 1.478080964, + 1.497753494, + 1.467306964, + 1.493420408, + 1.469991615, + 1.57987159, + 1.508988271, + 1.469735999, + 1.490375058, + 1.469273169, + 1.484540966, + 1.488299711, + 1.472959536, + 1.495343281, + 1.350935954, + 1.47764845, + 1.495673411, + 1.458356124, + 1.486492554, + 1.49275478, + 1.481819948, + 1.343654247, + 1.474646952, + 1.477264547, + 1.486225477, + 1.496908346, + 1.484973166, + 1.345389108, + 1.463544258, + 1.484206822, + 1.484803911, + 1.46451219, + 1.501671727, + 1.467194023, + 1.504939934 + ], + [ + 1.528393578, + 1.542066646, + 1.525392792, + 1.521268304, + 1.545328811, + 1.538655806, + 1.554117621, + 1.494340248, + 1.468602386, + 1.499913203, + 1.472307946, + 1.489940333, + 1.500451164, + 1.4811337, + 1.502707082, + 1.492123202, + 1.495936557, + 1.548646968, + 1.538460921, + 1.540159689, + 1.529328589, + 1.484618785, + 1.506720469, + 1.48811634, + 1.486253252, + 1.472760167, + 1.618323177, + 1.480361471, + 1.469255489, + 1.471503888, + 1.488758195, + 1.354481097, + 1.479983903, + 1.486095688, + 1.357488659, + 1.47032122, + 1.489277769, + 1.466733642, + 1.491127033, + 1.496722818 + ], + [ + 1.898823975, + 1.768234116, + 1.746842852, + 1.736707339, + 1.717203994, + 1.890019242, + 1.764742318, + 1.741231345, + 1.760065832, + 1.740381888, + 1.747269807, + 1.772638785, + 1.917211646, + 2.133928437, + 1.929712567, + 1.815156888, + 1.924558035, + 1.775150541, + 1.744102949, + 1.727449377, + 1.766270604, + 1.734579058, + 1.77399411, + 1.738710058, + 1.738096187, + 1.740924815, + 1.747601231, + 1.72745084, + 1.746198783, + 1.758098523, + 1.733622628, + 1.74616799, + 1.75481693, + 1.745187034, + 1.602320483, + 1.728677449, + 1.754043255, + 1.746519279, + 1.750337614, + 1.595451019 + ], + [ + 1.497370654, + 1.49345297, + 1.479703092, + 1.486967705, + 1.613509007, + 1.620095949, + 1.502128379, + 1.479070756, + 1.462885942, + 1.494943703, + 1.476596238, + 1.589592982, + 1.520069206, + 1.475149384, + 1.491473808, + 1.464458634, + 1.495713695, + 1.265329954, + 1.619136971, + 1.601664887, + 1.498614161, + 1.484845773, + 1.469651376, + 1.50219999, + 1.483394518, + 1.428980325, + 1.497043147, + 1.480697313, + 1.468889947, + 1.507768465, + 1.479657944, + 1.45251882, + 1.520061752, + 1.483623727, + 1.478593841, + 1.642746938, + 1.529329623, + 1.464187324, + 1.500516307, + 1.466833218 + ], + [ + 1.574385377, + 1.572842981, + 1.557225966, + 1.663354034, + 1.566039638, + 1.58603431, + 1.558167112, + 1.576431365, + 1.565695295, + 1.576743659, + 1.549468578, + 1.571817548, + 1.541265582, + 1.565611732, + 1.581081085, + 1.543428542, + 1.547138696, + 1.554976201, + 1.576081816, + 1.349471647, + 1.578644233, + 1.548366323, + 1.562544964, + 1.567374788, + 1.576555819, + 1.55120755, + 1.664792488, + 1.565593424, + 1.537245677, + 1.578319321, + 1.543088645, + 1.566553057, + 1.546977484, + 1.571786344, + 1.556018464, + 1.573481107, + 1.543199838, + 1.561688226, + 1.351302347, + 1.703494758 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "parallel" : "true", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 0.001975499875, + "scoreError" : 2.66339767461711E-4, + "scoreConfidence" : [ + 0.001709160107538289, + 0.002241839642461711 + ], + "scorePercentiles" : { + "0.0" : 2.66932E-4, + "50.0" : 0.001489844, + "90.0" : 0.0030389488, + "95.0" : 0.004422451049999992, + "99.0" : 0.00664482753, + "99.9" : 0.008097717, + "99.99" : 0.008097717, + "99.999" : 0.008097717, + "99.9999" : 0.008097717, + "100.0" : 0.008097717 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001401666, + 0.001415825, + 0.001284476, + 0.001301772, + 0.001320422, + 0.001375359, + 0.001266779, + 0.001258965, + 0.001298758, + 0.002953123, + 0.002610829, + 0.002914436, + 0.002985389, + 0.003031472, + 0.00299139, + 0.003087934, + 0.002903479, + 0.003039488, + 0.002670614, + 0.002720653, + 0.002733679, + 0.002721383, + 0.002759141, + 0.00300884, + 0.003075234, + 0.002877688, + 0.002980487, + 0.002808021, + 0.002747879, + 0.002726075, + 0.002842118, + 0.002841485, + 0.002840762, + 0.001588256, + 0.001710875, + 0.005051162, + 0.003079781, + 0.002134354, + 0.001285021, + 0.001365719 + ], + [ + 0.001277147, + 0.001394868, + 0.001342123, + 0.001277031, + 0.001402489, + 0.001454662, + 0.001494124, + 0.002741236, + 0.003328687, + 0.006598053, + 0.00257369, + 0.001339739, + 0.00128752, + 0.001301473, + 0.001287452, + 0.001243825, + 0.001487574, + 0.001331522, + 0.001298474, + 0.001416409, + 0.001495849, + 0.001470744, + 0.001245695, + 0.001439903, + 0.001493077, + 0.001467156, + 0.001472375, + 0.001397427, + 0.001270748, + 9.76366E-4, + 8.38791E-4, + 8.64177E-4, + 0.001004981, + 8.75463E-4, + 0.004636315, + 0.002289292, + 0.00235828, + 0.002205828, + 0.00170876, + 0.001241122 + ], + [ + 0.001381813, + 0.001323664, + 0.001272894, + 0.001291627, + 0.001410452, + 0.00139986, + 0.00182191, + 0.003034096, + 0.003070461, + 0.00271754, + 0.002286775, + 0.006055308, + 0.002269382, + 0.002118296, + 0.002084398, + 0.00192197, + 0.001923526, + 0.001794352, + 0.001928399, + 0.002013535, + 0.002203744, + 0.002341558, + 0.002180574, + 0.002094885, + 0.001845694, + 0.001987476, + 0.001935286, + 0.002011878, + 0.001526526, + 0.0017106, + 0.001450896, + 0.001553231, + 0.001547617, + 0.001390155, + 0.001274463, + 0.001641013, + 0.003725361, + 0.001351929, + 0.001535405, + 0.00147438 + ], + [ + 0.001358118, + 0.001280951, + 0.001290357, + 0.001364487, + 0.001276998, + 0.001310065, + 0.001440538, + 0.001578257, + 0.00519124, + 0.004981047, + 0.005326166, + 0.00445914, + 0.003367458, + 0.002193222, + 0.001165123, + 0.001107528, + 0.001114949, + 0.001066483, + 0.001160912, + 0.001377958, + 0.001323486, + 0.001238329, + 0.001213012, + 0.001157531, + 0.001169783, + 0.00111126, + 0.001151539, + 0.00130302, + 0.001064923, + 0.001144972, + 0.001133453, + 0.001170888, + 0.001117035, + 9.55362E-4, + 0.003088546, + 0.008097717, + 2.84108E-4, + 2.964E-4, + 2.66932E-4, + 2.93545E-4 + ], + [ + 0.001329094, + 0.001360755, + 0.001376846, + 0.001396416, + 0.0013696, + 0.001308377, + 0.001521833, + 0.002997717, + 0.002757817, + 0.002997863, + 0.0066453, + 0.002783396, + 0.002981914, + 0.001373828, + 0.001441978, + 0.00139553, + 0.001459629, + 0.001250817, + 0.00116881, + 0.002142046, + 0.0024121, + 0.002219585, + 0.002298004, + 0.001986299, + 0.002104407, + 0.002034858, + 0.002111139, + 0.002013131, + 0.001291772, + 0.001480431, + 0.001587929, + 0.001424662, + 0.001571878, + 0.001589774, + 0.001465993, + 0.00351309, + 0.001492114, + 0.001164858, + 0.00133334, + 0.001408042 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "parallel" : "true", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 0.006917230845000003, + "scoreError" : 0.0012009897783136405, + "scoreConfidence" : [ + 0.0057162410666863625, + 0.008118220623313643 + ], + "scorePercentiles" : { + "0.0" : 0.002985006, + "50.0" : 0.0055870780000000005, + "90.0" : 0.011227137300000006, + "95.0" : 0.018436645749999998, + "99.0" : 0.02665965001, + "99.9" : 0.043115984, + "99.99" : 0.043115984, + "99.999" : 0.043115984, + "99.9999" : 0.043115984, + "100.0" : 0.043115984 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.011412778, + 0.01153542, + 0.011655817, + 0.012892865, + 0.009655418, + 0.005211129, + 0.004760104, + 0.005367294, + 0.005196639, + 0.005167083, + 0.003878605, + 0.00606993, + 0.007245803, + 0.006898247, + 0.014355473, + 0.004088129, + 0.004393415, + 0.003575484, + 0.003256179, + 0.003511438, + 0.003994126, + 0.004282877, + 0.004964138, + 0.011599313, + 0.004063041, + 0.004265042, + 0.005062581, + 0.003357983, + 0.003401831, + 0.003872055, + 0.004954931, + 0.003814189, + 0.004965948, + 0.006900195, + 0.006566502, + 0.006726466, + 0.006054002, + 0.005592408, + 0.006614534, + 0.007080997 + ], + [ + 0.007679303, + 0.009197445, + 0.007052011, + 0.006417268, + 0.008473128, + 0.007964336, + 0.008569514, + 0.007850551, + 0.007997657, + 0.008516516, + 0.008876799, + 0.009927456, + 0.008903254, + 0.009665542, + 0.026353345, + 0.008863502, + 0.008776734, + 0.004545568, + 0.00477383, + 0.004391515, + 0.004411536, + 0.005597792, + 0.018450761, + 0.007422095, + 0.005159336, + 0.00498905, + 0.004591874, + 0.003582172, + 0.005683816, + 0.00460193, + 0.003330974, + 0.004114365, + 0.006237176, + 0.008053632, + 0.006520997, + 0.006803211, + 0.006153593, + 0.006634986, + 0.006350947, + 0.026662744 + ], + [ + 0.006733757, + 0.022111431, + 0.005477428, + 0.007123456, + 0.005520562, + 0.024530895, + 0.005293493, + 0.006227324, + 0.006098009, + 0.005392867, + 0.00633871, + 0.007736924, + 0.007699066, + 0.006085011, + 0.004583095, + 0.004586647, + 0.005000047, + 0.00338538, + 0.003758416, + 0.00338637, + 0.003622952, + 0.004479952, + 0.015814033, + 0.004062005, + 0.003855241, + 0.005335632, + 0.004479782, + 0.004471017, + 0.004377108, + 0.003406947, + 0.003731507, + 0.004445111, + 0.005894202, + 0.006554451, + 0.006393409, + 0.006795055, + 0.005359842, + 0.007119838, + 0.006175867, + 0.021975588 + ], + [ + 0.009822827, + 0.026353215, + 0.010463859, + 0.023351004, + 0.022401315, + 0.043115984, + 0.008522439, + 0.004217787, + 0.005252739, + 0.004638891, + 0.003677576, + 0.006866397, + 0.006300618, + 0.007130947, + 0.012333353, + 0.005265407, + 0.003506002, + 0.00368278, + 0.004169321, + 0.004196839, + 0.005235019, + 0.005581748, + 0.007986507, + 0.004651304, + 0.003342411, + 0.004287136, + 0.005665595, + 0.003820914, + 0.003752507, + 0.004328573, + 0.003856633, + 0.005706095, + 0.00647539, + 0.00647701, + 0.006361327, + 0.006274571, + 0.0074472, + 0.006295919, + 0.006449754, + 0.006907659 + ], + [ + 0.00674713, + 0.007894998, + 0.005501205, + 0.004879747, + 0.006353528, + 0.004094749, + 0.011311946, + 0.005798793, + 0.004922225, + 0.003919587, + 0.004458776, + 0.004414997, + 0.008198959, + 0.006706319, + 0.005982994, + 0.018168456, + 0.003831331, + 0.003604552, + 0.00384837, + 0.003790854, + 0.004070795, + 0.004622074, + 0.002985006, + 0.003007423, + 0.006015344, + 0.004011767, + 0.003288633, + 0.003441759, + 0.003393536, + 0.003140529, + 0.003308602, + 0.004255397, + 0.003853262, + 0.004644581, + 0.005219628, + 0.006918017, + 0.005757758, + 0.006064172, + 0.005262703, + 0.005755998 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "parallel" : "true", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.06533365067999998, + "scoreError" : 0.00876909528531831, + "scoreConfidence" : [ + 0.05656455539468167, + 0.0741027459653183 + ], + "scorePercentiles" : { + "0.0" : 0.03834186, + "50.0" : 0.049441226000000005, + "90.0" : 0.111427389, + "95.0" : 0.15186071694999986, + "99.0" : 0.22475019301000015, + "99.9" : 0.23846674, + "99.99" : 0.23846674, + "99.999" : 0.23846674, + "99.9999" : 0.23846674, + "100.0" : 0.23846674 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.051011, + 0.0463106, + 0.107659045, + 0.040378754, + 0.059420143, + 0.04012774, + 0.044067344, + 0.0979674, + 0.045095851, + 0.056687872, + 0.108056753, + 0.042961052, + 0.04969847, + 0.098348349, + 0.041520762, + 0.049501687, + 0.05137599, + 0.038611505, + 0.043119506, + 0.052044829, + 0.091369288, + 0.042749733, + 0.052344634, + 0.107793321, + 0.04350953, + 0.050286103, + 0.046596166, + 0.097684009, + 0.046536226, + 0.051724943, + 0.10582687, + 0.042173152, + 0.049250241, + 0.052437702, + 0.113537903, + 0.044447324, + 0.051060316, + 0.085752719, + 0.045129379, + 0.049949786 + ], + [ + 0.049471787, + 0.039082333, + 0.135616769, + 0.043139245, + 0.163464395, + 0.043306725, + 0.23846674, + 0.039853269, + 0.05124079, + 0.164467797, + 0.039292718, + 0.048490192, + 0.160306168, + 0.039540893, + 0.051372257, + 0.048071355, + 0.120995445, + 0.042200255, + 0.049711927, + 0.049452969, + 0.041699028, + 0.042404503, + 0.050494412, + 0.09506137, + 0.041000422, + 0.047809877, + 0.049429483, + 0.112201618, + 0.043437726, + 0.053112105, + 0.111062754, + 0.042931711, + 0.050925722, + 0.051629328, + 0.111467904, + 0.04307182, + 0.051720719, + 0.050006826, + 0.03987749, + 0.042523522 + ], + [ + 0.045585093, + 0.044293211, + 0.224921534, + 0.041436436, + 0.053698029, + 0.039813589, + 0.042023288, + 0.099840007, + 0.041298412, + 0.047692203, + 0.115332472, + 0.0410726, + 0.049212823, + 0.105370415, + 0.040569085, + 0.048762121, + 0.04610885, + 0.096448818, + 0.045077477, + 0.046889597, + 0.048069921, + 0.041187595, + 0.041933748, + 0.047957341, + 0.102047266, + 0.039608026, + 0.049892513, + 0.045525497, + 0.088289863, + 0.042262745, + 0.050812714, + 0.046308277, + 0.03834186, + 0.041724838, + 0.050676429, + 0.09897589, + 0.039379308, + 0.052451959, + 0.046828266, + 0.099390084 + ], + [ + 0.042900813, + 0.116421676, + 0.207787435, + 0.040735949, + 0.052844293, + 0.164006698, + 0.044092185, + 0.106181881, + 0.047717803, + 0.051762637, + 0.110821711, + 0.044648977, + 0.051223411, + 0.09957438, + 0.042147149, + 0.051694314, + 0.050398157, + 0.04052606, + 0.047610924, + 0.053759614, + 0.101913473, + 0.044031112, + 0.050385103, + 0.046001685, + 0.170647841, + 0.046484926, + 0.050495178, + 0.102086881, + 0.044154245, + 0.053693529, + 0.049476115, + 0.116644356, + 0.044262068, + 0.052691015, + 0.138472683, + 0.040899097, + 0.049698848, + 0.054124162, + 0.103830695, + 0.043440344 + ], + [ + 0.043973706, + 0.152501893, + 0.10496182, + 0.041643842, + 0.059687052, + 0.043584809, + 0.043489163, + 0.139678372, + 0.043394892, + 0.051796038, + 0.10882438, + 0.041434739, + 0.048005715, + 0.104259845, + 0.04257503, + 0.050700241, + 0.050022375, + 0.043464284, + 0.04636882, + 0.052033313, + 0.101125449, + 0.040186625, + 0.049156533, + 0.048231051, + 0.097147417, + 0.044527886, + 0.047054541, + 0.173692731, + 0.040020275, + 0.047449589, + 0.048990676, + 0.09056671, + 0.042069196, + 0.051154188, + 0.048281215, + 0.038986263, + 0.042949282, + 0.050492602, + 0.089763892, + 0.041547697 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "parallel" : "true", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 3.118503043890001, + "scoreError" : 0.19475524037441355, + "scoreConfidence" : [ + 2.9237478035155875, + 3.3132582842644145 + ], + "scorePercentiles" : { + "0.0" : 1.030565182, + "50.0" : 3.1799393735, + "90.0" : 4.1218905797, + "95.0" : 4.2707296976, + "99.0" : 4.8388487529200015, + "99.9" : 4.873043921, + "99.99" : 4.873043921, + "99.999" : 4.873043921, + "99.9999" : 4.873043921, + "100.0" : 4.873043921 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 3.281764911, + 2.74208574, + 3.759642933, + 3.948703235, + 2.72539751, + 2.421081972, + 3.302984787, + 2.731908492, + 2.851662548, + 3.433921313, + 3.140736444, + 2.602092846, + 3.548672411, + 3.098314474, + 2.319537473, + 3.636059237, + 3.166488424, + 2.262288435, + 3.426204884, + 3.228311536, + 2.402108924, + 4.082365141, + 1.673298106, + 3.820565883, + 2.620399285, + 1.212154519, + 2.78811124, + 3.588497271, + 3.462635261, + 2.754974355, + 4.147285212, + 1.731054365, + 4.257479484, + 2.578328006, + 1.366030038, + 2.849544573, + 3.769514092, + 1.962366798, + 4.129450952, + 2.750369829 + ], + [ + 3.541165544, + 2.980787315, + 4.12283767, + 3.849386591, + 3.977295173, + 3.373618378, + 2.58711161, + 3.97881138, + 3.751618363, + 3.16664718, + 2.663751254, + 3.781389147, + 3.592998607, + 3.122391641, + 2.453576719, + 3.618495132, + 3.583524934, + 3.065960623, + 2.407832546, + 3.665161291, + 3.467312209, + 3.047739169, + 2.527755456, + 4.098727487, + 3.580418427, + 3.184815481, + 2.737850472, + 3.908569824, + 1.798925323, + 4.032202652, + 2.144819987, + 3.833900927, + 1.743475757, + 3.901270296, + 2.523284575, + 3.327814001, + 1.684705253, + 3.79371242, + 2.788805844, + 3.276808535 + ], + [ + 3.828158252, + 3.156706166, + 3.971010841, + 3.513213995, + 2.992971121, + 4.113366767, + 3.729539242, + 2.663797271, + 4.445422416, + 3.501609178, + 2.583810073, + 3.643960201, + 3.28878928, + 2.537700853, + 3.474173652, + 3.073739136, + 2.130879655, + 3.071312844, + 2.837445046, + 4.734316031, + 3.374920133, + 2.588374412, + 3.47279102, + 3.175063266, + 2.541844528, + 3.451316317, + 2.929593154, + 3.277790405, + 1.229616169, + 4.26221047, + 2.690935695, + 1.205244419, + 2.408529964, + 3.562578413, + 1.561319238, + 4.082211158, + 2.332662815, + 1.030565182, + 4.547714899, + 3.771704448 + ], + [ + 2.763221632, + 4.044227382, + 3.465942819, + 3.163278125, + 2.766615855, + 4.065821996, + 4.873043921, + 3.94161219, + 3.450020496, + 3.074012725, + 2.779535707, + 4.091324096, + 3.923585522, + 3.40697932, + 2.999746702, + 2.538479428, + 4.839904639, + 3.846272153, + 3.281684196, + 2.795543012, + 4.382601151, + 4.34247533, + 2.25168232, + 1.135692461, + 4.158029509, + 2.683307135, + 4.193596352, + 2.051747255, + 1.158308252, + 2.691152943, + 4.250021266, + 2.571743387, + 3.204059474, + 1.55304217, + 4.208436135, + 2.507491487, + 3.940063611, + 2.031542286, + 1.106264639, + 2.65705081 + ], + [ + 3.990630206, + 3.340243396, + 2.916687734, + 4.201327056, + 4.281978249, + 3.81723795, + 2.838432064, + 2.550997456, + 3.716530107, + 3.215642238, + 2.932444773, + 2.635569112, + 3.604833545, + 3.530758669, + 3.004124541, + 2.52942215, + 3.71875111, + 3.479600867, + 3.064844365, + 2.750844519, + 3.620446325, + 3.469340794, + 2.682974887, + 3.379065568, + 2.370677381, + 1.429122001, + 4.289682256, + 3.021476979, + 3.298600348, + 1.741967521, + 4.271178078, + 2.96758695, + 1.42944417, + 3.234014385, + 2.803745708, + 3.699997484, + 2.130642359, + 1.20644986, + 2.609283004, + 3.684276467 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "parallel" : "false", + "size" : "10000" + }, + "primaryMetric" : { + "score" : 0.001290203700000001, + "scoreError" : 1.9764988264629946E-4, + "scoreConfidence" : [ + 0.0010925538173537017, + 0.0014878535826463005 + ], + "scorePercentiles" : { + "0.0" : 6.39287E-4, + "50.0" : 0.0012657305, + "90.0" : 0.0022528047000000013, + "95.0" : 0.0027336779, + "99.0" : 0.005318277850000001, + "99.9" : 0.005702705, + "99.99" : 0.005702705, + "99.999" : 0.005702705, + "99.9999" : 0.005702705, + "100.0" : 0.005702705 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.001299492, + 0.001388309, + 0.001306023, + 0.001306398, + 0.001332537, + 0.001316862, + 0.001286687, + 0.00133182, + 0.001378444, + 0.001477978, + 0.001559193, + 0.001348817, + 0.001336416, + 0.005221639, + 0.001256685, + 9.36144E-4, + 8.09546E-4, + 0.002707837, + 0.00238808, + 0.002433218, + 0.002915752, + 0.002539435, + 9.72415E-4, + 7.84641E-4, + 6.92821E-4, + 7.28115E-4, + 7.35539E-4, + 7.73495E-4, + 8.36389E-4, + 7.62142E-4, + 8.78282E-4, + 7.72631E-4, + 7.62894E-4, + 7.53162E-4, + 7.50756E-4, + 7.54284E-4, + 8.67382E-4, + 7.85804E-4, + 7.34395E-4, + 7.22422E-4 + ], + [ + 0.001372636, + 0.001513913, + 0.001351966, + 0.001317527, + 0.00142476, + 0.001348867, + 0.001357163, + 0.002011907, + 0.00138029, + 0.001478391, + 0.001339405, + 0.001335263, + 0.001379854, + 0.005702705, + 0.001560218, + 8.09396E-4, + 0.002725221, + 0.002484049, + 0.002592943, + 0.002583037, + 0.002278904, + 8.94212E-4, + 8.09362E-4, + 7.02691E-4, + 6.77646E-4, + 6.49363E-4, + 7.02493E-4, + 6.42384E-4, + 6.43185E-4, + 7.39404E-4, + 7.46629E-4, + 8.90078E-4, + 7.36389E-4, + 6.50039E-4, + 6.45593E-4, + 7.30259E-4, + 6.43727E-4, + 7.42933E-4, + 6.90253E-4, + 6.39287E-4 + ], + [ + 0.001300567, + 0.001328425, + 0.001319473, + 0.001293027, + 0.001395946, + 0.001356139, + 0.001334933, + 0.001405565, + 0.001637387, + 0.001543812, + 0.001552077, + 0.00166761, + 0.001333263, + 0.005319254, + 8.35924E-4, + 8.00283E-4, + 0.001122114, + 0.001379564, + 0.001414979, + 0.001430964, + 0.002017911, + 0.001547364, + 0.001593964, + 0.001332291, + 8.30307E-4, + 7.74868E-4, + 8.44879E-4, + 8.335E-4, + 7.68915E-4, + 8.67883E-4, + 8.60139E-4, + 7.58848E-4, + 7.56007E-4, + 8.61845E-4, + 7.53628E-4, + 7.52418E-4, + 8.35577E-4, + 7.14299E-4, + 6.81357E-4, + 6.74103E-4 + ], + [ + 0.001391481, + 0.001302875, + 0.001294259, + 0.001301367, + 0.001435203, + 0.001297713, + 0.001277997, + 0.001646835, + 0.001373628, + 0.001474431, + 0.001511257, + 0.001274776, + 0.001405531, + 0.005090855, + 0.001073659, + 7.90428E-4, + 9.86348E-4, + 0.002838854, + 0.00293045, + 0.002577329, + 0.002762762, + 0.002734123, + 0.001077079, + 8.58901E-4, + 6.98747E-4, + 6.82085E-4, + 7.42039E-4, + 6.4825E-4, + 7.16821E-4, + 7.36753E-4, + 6.43428E-4, + 6.51909E-4, + 6.47232E-4, + 6.43085E-4, + 6.51435E-4, + 7.3783E-4, + 7.36126E-4, + 6.45657E-4, + 6.45755E-4, + 6.49472E-4 + ], + [ + 0.001329573, + 0.001456629, + 0.001341745, + 0.001311032, + 0.001337174, + 0.00138848, + 0.001430912, + 0.001441693, + 0.001437107, + 0.001864244, + 0.001517484, + 0.001320136, + 0.001610544, + 0.005201429, + 0.001057872, + 7.841E-4, + 9.38933E-4, + 0.001632412, + 0.001713534, + 0.001366513, + 0.001383716, + 0.001412087, + 0.00140325, + 0.001410555, + 6.95913E-4, + 8.43913E-4, + 0.001209493, + 9.41706E-4, + 7.92333E-4, + 7.40659E-4, + 6.39848E-4, + 6.57374E-4, + 6.75113E-4, + 6.88066E-4, + 8.10474E-4, + 8.48903E-4, + 8.70925E-4, + 8.34066E-4, + 7.16313E-4, + 6.9909E-4 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "parallel" : "false", + "size" : "100000" + }, + "primaryMetric" : { + "score" : 0.013283434414999988, + "scoreError" : 0.0012644901107058577, + "scoreConfidence" : [ + 0.01201894430429413, + 0.014547924525705845 + ], + "scorePercentiles" : { + "0.0" : 0.008712821, + "50.0" : 0.011115049, + "90.0" : 0.023471288200000023, + "95.0" : 0.027428245599999998, + "99.0" : 0.030596894000000003, + "99.9" : 0.030782686, + "99.99" : 0.030782686, + "99.999" : 0.030782686, + "99.9999" : 0.030782686, + "100.0" : 0.030782686 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.010877454, + 0.014261024, + 0.015818099, + 0.028699819, + 0.009563532, + 0.009739953, + 0.008829752, + 0.010400688, + 0.027712978, + 0.013219714, + 0.010557731, + 0.01147284, + 0.010815546, + 0.012096505, + 0.016049704, + 0.018682522, + 0.019691938, + 0.018316203, + 0.030600913, + 0.009731809, + 0.008983838, + 0.009562971, + 0.008747733, + 0.011214711, + 0.010606051, + 0.009289203, + 0.01204435, + 0.010736594, + 0.030199013, + 0.010102783, + 0.009264729, + 0.009629758, + 0.010169415, + 0.010375838, + 0.010947081, + 0.010023974, + 0.012103386, + 0.012498534, + 0.012698387, + 0.016951384 + ], + [ + 0.011308738, + 0.016893577, + 0.019360017, + 0.030782686, + 0.010868631, + 0.010133697, + 0.008802076, + 0.010375389, + 0.024534867, + 0.011188456, + 0.011438165, + 0.012961537, + 0.012907328, + 0.011957646, + 0.017342017, + 0.017870895, + 0.016747922, + 0.016033018, + 0.028855722, + 0.01112204, + 0.010279406, + 0.010391552, + 0.011103225, + 0.01201792, + 0.012497928, + 0.01074893, + 0.011918236, + 0.011847682, + 0.024803529, + 0.009180946, + 0.010206647, + 0.010528975, + 0.010208289, + 0.009177414, + 0.009530563, + 0.01108725, + 0.012160088, + 0.012378307, + 0.010348344, + 0.015231263 + ], + [ + 0.011769557, + 0.016649424, + 0.017630368, + 0.028861635, + 0.010706389, + 0.011550727, + 0.010743143, + 0.011122181, + 0.023891216, + 0.009801922, + 0.009077589, + 0.010850404, + 0.009001948, + 0.012424733, + 0.015836005, + 0.017816469, + 0.016116691, + 0.015232582, + 0.027281748, + 0.010257403, + 0.009240193, + 0.009167537, + 0.010257658, + 0.009002143, + 0.009702215, + 0.008914039, + 0.009066692, + 0.009696675, + 0.026923424, + 0.008712821, + 0.011830018, + 0.01046944, + 0.009814897, + 0.009563084, + 0.009669797, + 0.008802222, + 0.009661952, + 0.009972455, + 0.009402265, + 0.01334145 + ], + [ + 0.009522169, + 0.013539846, + 0.018328084, + 0.028774591, + 0.009637861, + 0.009126078, + 0.0091565, + 0.01156447, + 0.026079666, + 0.009113414, + 0.009800941, + 0.010405052, + 0.009789772, + 0.011260722, + 0.017607014, + 0.019033593, + 0.01835076, + 0.017877576, + 0.027435956, + 0.009874727, + 0.009063324, + 0.010236911, + 0.011073682, + 0.011392473, + 0.010743939, + 0.011346561, + 0.011316382, + 0.010003549, + 0.024060862, + 0.009454031, + 0.010843483, + 0.010751175, + 0.012018264, + 0.010091222, + 0.009464219, + 0.010710867, + 0.011529092, + 0.011571038, + 0.009381391, + 0.015774855 + ], + [ + 0.009448034, + 0.014475642, + 0.016388746, + 0.028772961, + 0.009082472, + 0.010820601, + 0.010213443, + 0.013908627, + 0.025099779, + 0.011739809, + 0.01141594, + 0.011638817, + 0.010828969, + 0.011284496, + 0.016793835, + 0.017225601, + 0.014900782, + 0.015695342, + 0.025564862, + 0.010026516, + 0.010792755, + 0.012825416, + 0.011889619, + 0.012496493, + 0.010696617, + 0.012536696, + 0.011108058, + 0.011514432, + 0.024653077, + 0.010647024, + 0.009373218, + 0.009227552, + 0.012529846, + 0.008910833, + 0.01043831, + 0.010226221, + 0.010122959, + 0.009374816, + 0.010466467, + 0.014172602 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "parallel" : "false", + "size" : "1000000" + }, + "primaryMetric" : { + "score" : 0.15883304821, + "scoreError" : 0.018444092854494196, + "scoreConfidence" : [ + 0.1403889553555058, + 0.1772771410644942 + ], + "scorePercentiles" : { + "0.0" : 0.107444091, + "50.0" : 0.1206347005, + "90.0" : 0.311707399, + "95.0" : 0.33679791354999994, + "99.0" : 0.36008588935, + "99.9" : 0.382049645, + "99.99" : 0.382049645, + "99.999" : 0.382049645, + "99.9999" : 0.382049645, + "100.0" : 0.382049645 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 0.313117492, + 0.115910979, + 0.123221344, + 0.331234895, + 0.127629376, + 0.128440232, + 0.113549949, + 0.117523247, + 0.127264008, + 0.325621195, + 0.117481526, + 0.123789087, + 0.282433742, + 0.130414568, + 0.116907584, + 0.116873695, + 0.139513513, + 0.139417266, + 0.130058789, + 0.122661003, + 0.118587534, + 0.29187321, + 0.127755149, + 0.123073069, + 0.12289167, + 0.273744962, + 0.120064945, + 0.116738861, + 0.118908888, + 0.123145215, + 0.116569002, + 0.122239863, + 0.115124065, + 0.135041642, + 0.284335597, + 0.124124144, + 0.119150211, + 0.12379694, + 0.283935169, + 0.117858765 + ], + [ + 0.315230139, + 0.115566829, + 0.13609745, + 0.308289577, + 0.113426185, + 0.123676593, + 0.115294319, + 0.123273047, + 0.135743267, + 0.359449156, + 0.114677973, + 0.119117039, + 0.278564713, + 0.113407744, + 0.120779341, + 0.113036161, + 0.156997632, + 0.123790105, + 0.116795968, + 0.118530372, + 0.114440937, + 0.320629501, + 0.120207058, + 0.122655217, + 0.117595628, + 0.258467532, + 0.118310717, + 0.127488294, + 0.114087032, + 0.118046753, + 0.113104328, + 0.120721694, + 0.114649889, + 0.112620497, + 0.329471249, + 0.112807585, + 0.115012205, + 0.118764413, + 0.285852104, + 0.113821195 + ], + [ + 0.312087157, + 0.124091118, + 0.120828011, + 0.351202285, + 0.128046623, + 0.2822025, + 0.113008356, + 0.114311925, + 0.140206145, + 0.360092321, + 0.118825937, + 0.109378477, + 0.277892489, + 0.116957737, + 0.125896375, + 0.117393322, + 0.139710826, + 0.132399264, + 0.117863083, + 0.116879692, + 0.109501864, + 0.314630623, + 0.109139344, + 0.120547707, + 0.119713154, + 0.253495782, + 0.119825808, + 0.131125263, + 0.130192611, + 0.116486685, + 0.11416192, + 0.122043608, + 0.11324241, + 0.115712085, + 0.337090704, + 0.11259867, + 0.113533689, + 0.128175614, + 0.283062777, + 0.112438606 + ], + [ + 0.119137666, + 0.108754227, + 0.115837006, + 0.328399632, + 0.115828154, + 0.112980323, + 0.109464067, + 0.112188354, + 0.132787871, + 0.314700971, + 0.114873875, + 0.109896172, + 0.114826245, + 0.116978768, + 0.115819311, + 0.111215433, + 0.122471744, + 0.352184791, + 0.108945853, + 0.109387206, + 0.115262318, + 0.29027034, + 0.109443077, + 0.111375128, + 0.112427769, + 0.278144219, + 0.117496898, + 0.111518873, + 0.123072439, + 0.121691103, + 0.107444091, + 0.109016733, + 0.113014285, + 0.121579866, + 0.347889571, + 0.11077372, + 0.121051997, + 0.127884536, + 0.28157333, + 0.114277222 + ], + [ + 0.302884354, + 0.113137729, + 0.134106771, + 0.349732575, + 0.125827537, + 0.274326542, + 0.123094715, + 0.120133065, + 0.145744069, + 0.382049645, + 0.127205065, + 0.119653978, + 0.281435689, + 0.120225012, + 0.129051994, + 0.119975699, + 0.158425045, + 0.116482486, + 0.117913069, + 0.116735693, + 0.114738549, + 0.338544642, + 0.120330245, + 0.121564369, + 0.12338998, + 0.292438102, + 0.11483736, + 0.11982044, + 0.118732615, + 0.28292417, + 0.128582349, + 0.127129719, + 0.131131973, + 0.117809315, + 0.110453838, + 0.117042797, + 0.114744184, + 0.120765629, + 0.353935843, + 0.119155211 + ] + ] + }, + "secondaryMetrics" : { + } + }, + { + "jmhVersion" : "1.32", + "benchmark" : "bench.MidtermPart2Benchmark.containsBenchmark", + "mode" : "ss", + "threads" : 1, + "forks" : 5, + "jvm" : "/usr/local/Cellar/openjdk@8/1.8.0+322/libexec/openjdk.jdk/Contents/Home/jre/bin/java", + "jvmArgs" : [ + ], + "jdkVersion" : "1.8.0_322", + "vmName" : "OpenJDK 64-Bit Server VM", + "vmVersion" : "25.322-b00", + "warmupIterations" : 5, + "warmupTime" : "single-shot", + "warmupBatchSize" : 1, + "measurementIterations" : 40, + "measurementTime" : "single-shot", + "measurementBatchSize" : 1, + "params" : { + "collection" : "List", + "parallel" : "false", + "size" : "10000000" + }, + "primaryMetric" : { + "score" : 6.026310806905001, + "scoreError" : 0.3463742154975086, + "scoreConfidence" : [ + 5.679936591407492, + 6.37268502240251 + ], + "scorePercentiles" : { + "0.0" : 2.195729618, + "50.0" : 5.724309503, + "90.0" : 7.9174551285, + "95.0" : 8.09821062985, + "99.0" : 8.52817301045, + "99.9" : 8.55481943, + "99.99" : 8.55481943, + "99.999" : 8.55481943, + "99.9999" : 8.55481943, + "100.0" : 8.55481943 + }, + "scoreUnit" : "s/op", + "rawData" : [ + [ + 8.285695215, + 7.635742916, + 5.036329984, + 7.832147022, + 5.204497379, + 7.958329486, + 5.283771915, + 8.085572416, + 5.457197623, + 8.148941217, + 5.506328159, + 2.210497503, + 6.736231538, + 6.685949652, + 4.077427515, + 2.344255734, + 6.50423714, + 4.089204557, + 2.482031746, + 4.181193653, + 2.631726747, + 4.372334027, + 2.889888675, + 4.602637347, + 3.051618866, + 4.696019336, + 3.284502416, + 4.919811834, + 7.022937661, + 5.120250116, + 7.155879184, + 5.363780291, + 7.200244878, + 5.479798513, + 7.29457975, + 5.54005452, + 8.403423642, + 5.636421042, + 8.55481943, + 5.13924676 + ], + [ + 6.738031609, + 6.582334805, + 6.719271452, + 6.876754526, + 6.961210091, + 7.101547234, + 7.111378847, + 4.743532664, + 3.400178542, + 7.374192851, + 5.061012359, + 3.866764676, + 7.998373718, + 5.413859162, + 7.326121779, + 5.581298755, + 7.130968719, + 5.715646745, + 7.435376236, + 5.817036641, + 8.077139979, + 5.320502226, + 5.574163332, + 7.550233891, + 4.920848859, + 5.007715252, + 7.826555912, + 5.171988135, + 5.23902463, + 7.926933807, + 5.329117223, + 5.412516362, + 7.706551387, + 5.65283996, + 3.894731408, + 2.195729618, + 3.986431485, + 6.882760239, + 4.22280703, + 6.576675542 + ], + [ + 6.861191843, + 6.811163166, + 6.786813687, + 6.710027566, + 6.917315875, + 6.789623663, + 7.117887945, + 4.740242018, + 3.314600724, + 7.124864673, + 4.910444471, + 7.132516809, + 5.188947322, + 7.300873469, + 5.339281275, + 7.277918256, + 5.628479212, + 7.101367429, + 5.63729134, + 7.394179364, + 5.720417839, + 6.875431413, + 5.333971903, + 5.579200852, + 8.477822744, + 4.894784229, + 4.873543916, + 7.704917763, + 5.151749153, + 5.18185082, + 7.976483241, + 5.278944519, + 5.375465859, + 8.009371213, + 5.370006755, + 5.660693568, + 6.783858924, + 4.05526317, + 6.82419986, + 4.198098815 + ], + [ + 6.896201319, + 6.967656715, + 7.000773659, + 7.082255674, + 7.1862108, + 7.279889816, + 7.335353799, + 4.987773111, + 3.51432315, + 7.50461775, + 8.075588649, + 5.419069012, + 7.50248288, + 5.559972628, + 7.496256993, + 5.632113646, + 7.235718566, + 5.897645542, + 6.947626715, + 5.954013678, + 8.176914806, + 5.51805391, + 5.793740995, + 7.81898335, + 5.081027599, + 5.230257067, + 8.098875799, + 5.345468502, + 5.362096447, + 8.080075447, + 5.413902284, + 5.424734454, + 7.813746431, + 5.728201167, + 3.873918436, + 2.274673908, + 4.207974885, + 7.045511552, + 4.320286405, + 6.925332226 + ], + [ + 6.970574455, + 7.187932702, + 7.293079756, + 7.334236443, + 7.309777887, + 7.4630996, + 5.069931648, + 3.746790604, + 7.40902084, + 5.331615324, + 7.650840811, + 5.446247124, + 7.440991586, + 5.662209412, + 7.424562082, + 5.880883217, + 7.002866528, + 5.401294891, + 5.507158374, + 8.528681599, + 4.978763028, + 5.025453655, + 8.000312518, + 5.232505966, + 5.149922666, + 8.144202122, + 5.364726937, + 5.339937969, + 8.124428705, + 5.416360123, + 5.689642941, + 6.898983454, + 4.049313881, + 6.960029103, + 4.306869112, + 7.062990377, + 4.375023522, + 6.916763286, + 4.403904511, + 6.804091094 + ] + ] + }, + "secondaryMetrics" : { + } + } +] + + diff --git a/previous-exams/2022-midterm-code/bench-results/Part2BenchmarkResults.png b/previous-exams/2022-midterm-code/bench-results/Part2BenchmarkResults.png new file mode 100644 index 0000000000000000000000000000000000000000..c9a31afe81a8b8b46ab9482eb33f58c711190552 Binary files /dev/null and b/previous-exams/2022-midterm-code/bench-results/Part2BenchmarkResults.png differ diff --git a/previous-exams/2022-midterm-code/build.sbt b/previous-exams/2022-midterm-code/build.sbt new file mode 100644 index 0000000000000000000000000000000000000000..674678d47602d6e07695ed620f782831e43ef476 --- /dev/null +++ b/previous-exams/2022-midterm-code/build.sbt @@ -0,0 +1,19 @@ +val scala3Version = "3.1.2" + +enablePlugins(JmhPlugin) + +lazy val root = project + .in(file(".")) + .settings( + name := "code", + version := "0.1.0-SNAPSHOT", + + scalaVersion := scala3Version, + + libraryDependencies += "org.scala-lang.modules" %% "scala-parallel-collections" % "1.0.3", + libraryDependencies += "junit" % "junit" % "4.13" % Test, + libraryDependencies += "com.github.sbt" % "junit-interface" % "0.13.3" % Test, + + Test / parallelExecution := false, + Test / testOptions += Tests.Argument(TestFrameworks.JUnit) + ) diff --git a/previous-exams/2022-midterm-code/project/plugins.sbt b/previous-exams/2022-midterm-code/project/plugins.sbt new file mode 100644 index 0000000000000000000000000000000000000000..967e66f4bd3f217063f30b41347240b6fb09dc61 --- /dev/null +++ b/previous-exams/2022-midterm-code/project/plugins.sbt @@ -0,0 +1,2 @@ +addSbtPlugin("pl.project13.scala" % "sbt-jmh" % "0.4.3") +addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.4.6") diff --git a/previous-exams/2022-midterm-code/src/main/scala/bench/AbstractCollectionBenchmark.scala b/previous-exams/2022-midterm-code/src/main/scala/bench/AbstractCollectionBenchmark.scala new file mode 100644 index 0000000000000000000000000000000000000000..85e89d47adcf91abdde7cc13a8e7c4e270dd7276 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/bench/AbstractCollectionBenchmark.scala @@ -0,0 +1,23 @@ +package bench + +import org.openjdk.jmh.annotations.* + +@State(Scope.Benchmark) +//@Fork(jvmArgsAppend = Array("-Djava.util.concurrent.ForkJoinPool.common.parallelism=4")) +abstract class AbstractCollectionBenchmark: + @Param(Array("10000", "100000", "1000000", "10000000")) + var size: Int = _ + + @Param(Array("Vector", "Array", "ArrayBuffer", "List")) + var collection: String = _ + + var haystack: Iterable[Int] = _ + + @Setup(Level.Invocation) + def setup() = + val gen = (1 to (size * 2) by 2) + haystack = collection match + case "Vector" => gen.toVector + case "Array" => gen.toArray + case "ArrayBuffer" => gen.toBuffer + case "List" => gen.toList diff --git a/previous-exams/2022-midterm-code/src/main/scala/bench/CollectionBenchmark.scala b/previous-exams/2022-midterm-code/src/main/scala/bench/CollectionBenchmark.scala new file mode 100644 index 0000000000000000000000000000000000000000..ab8dec0ffeaaad939aec6efa20534bf4b7531942 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/bench/CollectionBenchmark.scala @@ -0,0 +1,12 @@ +package bench + +import org.openjdk.jmh.annotations.* + +class CollectionBenchmark extends AbstractCollectionBenchmark: + @Benchmark + def take() = + haystack.take(size / 2) + + @Benchmark + def drop() = + haystack.drop(size / 2) diff --git a/previous-exams/2022-midterm-code/src/main/scala/bench/Part2Benchmark.scala b/previous-exams/2022-midterm-code/src/main/scala/bench/Part2Benchmark.scala new file mode 100644 index 0000000000000000000000000000000000000000..6ab99775ee6e60a161694b936bbe6047e63fe23b --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/bench/Part2Benchmark.scala @@ -0,0 +1,20 @@ +package bench + +import midterm.contains + +import org.openjdk.jmh.annotations.* + +class MidtermPart2Benchmark extends AbstractCollectionBenchmark: + val needle = 10 + + @Param(Array("true", "false")) + var parallel: Boolean = _ + + @Setup(Level.Invocation) + override def setup() = + super.setup() + midterm.parallelismEnabled = parallel + + @Benchmark + def containsBenchmark() = + contains(haystack, needle) diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/Mock1.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/Mock1.scala new file mode 100644 index 0000000000000000000000000000000000000000..b24f3b466a6e1143432941bdfb399137ea8573a2 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/Mock1.scala @@ -0,0 +1,14 @@ +package midterm + +import scala.collection.mutable.Set + +@main def mock1() = + val values = Set[Int]() + for _ <- 1 to 100000 do + var sum = 0 + val t1 = task { sum += 1 } + val t2 = task { sum += 1 } + t1.join() + t2.join() + values += sum + println(values) diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/Mock2.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/Mock2.scala new file mode 100644 index 0000000000000000000000000000000000000000..906edbb6cbddd25a83de7bba084477d332e2b569 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/Mock2.scala @@ -0,0 +1,20 @@ +package midterm + +import midterm.instrumentation.Monitor + +class Account(private var amount: Int = 0) extends Monitor: + def transfer(target: Account, n: Int) = + this.synchronized { + target.synchronized { + this.amount -= n + target.amount += n + } + } + +@main def mock2() = + val a = new Account(50) + val b = new Account(70) + val t1 = task { a.transfer(b, 10) } + val t2 = task { b.transfer(a, 10) } + t1.join() + t2.join() diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/Part1.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part1.scala new file mode 100644 index 0000000000000000000000000000000000000000..cb807a6019b079c9aebc12ab42b0598555b7dac0 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part1.scala @@ -0,0 +1,45 @@ +package midterm + +import scala.collection.parallel.Task +import scala.collection.parallel.CollectionConverters.* + +// Questions 1-3 + +// See tests in midterm.Part1Test. +// Run with `sbt testOnly midterm.Part1Test`. + +def parallel3[A, B, C](op1: => A, op2: => B, op3: => C): (A, B, C) = + val res1 = task { op1 } + val res2 = task { op2 } + val res3 = op3 + (res1.join(), res2.join(), res3) + +def find(arr: Array[Int], value: Int, threshold: Int): Option[Int] = + def findHelper(start: Int, end: Int): Option[Int] = + if end - start <= threshold then + var i = start + while i < end do + if arr(i) == value then return Some(value) + i += 1 + None + else + val inc = (end - start) / 3 + val (res1, res2, res3) = parallel3( + findHelper(start, start + inc), + findHelper(start + inc, start + 2 * inc), + findHelper(start + 2 * inc, end) + ) + res1.orElse(res2).orElse(res3) + findHelper(0, arr.size) + +def findAggregated(arr: Array[Int], value: Int): Option[Int] = + val no: Option[Int] = None + val yes: Option[Int] = Some(value) + def f = (x1: Option[Int], x2: Int) => if x2 == value then Some(x2) else x1 + def g = (x1: Option[Int], x2: Option[Int]) => if x1 != None then x1 else x2 + arr.par.aggregate(no)(f, g) + +@main def part1() = + println(find(Array(1, 2, 3), 2, 1)) + +// See tests in Part1Test diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/Part2.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part2.scala new file mode 100644 index 0000000000000000000000000000000000000000..afecb30dae6a3441fbd1e85d528e6f14533f43e6 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part2.scala @@ -0,0 +1,45 @@ +package midterm + +// Questions 4-7 + +// See tests in midterm.Part2Test. +// Run with `sbt testOnly midterm.Part2Test`. + +/* +Answers to the exam questions: + When called with a Vector: + The total amount of work is O(n), as it is dominated by the time needed to + read the array. More precisely W(n) = c + 2*W(n/2) = O(n). + + The depth is O(log(n)), because every recursion takes constant time + and we divide the size of the input by 2 every time, i.e. D(n) = c + D(n/2) = O(log(n)). + + Note however that in practice it is often still faster to manipulate + start and end indices rather than using take and drop. + + When called with a List: + Every recursion takes up to time O(n) rather than constant time. + + The total amount of work is O(n) times the number of recursion, because + take and drop takes time O(n) on lists. Precisely, W(n) = n + 2*W(n/2) = O(log(n)*n) + + The depth is computed similarly: D(n) = n + D(n/2) = O(n), i.e. + +Note: these are theoretical results. In practice, you should always double-check +that kind of conclusions with benchmarks. We did so in +`midterm-code/src/main/scala/bench`. Results are available in `bench-results`. +From these results, we can conclude that +1. Vectors are indeed faster in this case, and +2. parallelization of `contains` yields a 2x speedup. + */ +def contains[A](l: Iterable[A], elem: A): Boolean = + val n = l.size + if n <= 5 then + for i <- l do if i == elem then return true + false + else + val (p0, p1) = parallel( + contains(l.take(n / 2), elem), + contains(l.drop(n / 2), elem) + ) + p0 || p1 diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/Part3.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part3.scala new file mode 100644 index 0000000000000000000000000000000000000000..6d68fc463be5c92e9237a5a95b75301d99a193a7 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part3.scala @@ -0,0 +1,14 @@ +package midterm + +// Question 8 + +// Run with `sbt runMain midterm.part3` + +@main def part3() = + def thread(b: => Unit) = + val t = new Thread: + override def run() = b + t + val t = thread { println(s"Hello World") } + t.join() + println(s"Hello") diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/Part4.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part4.scala new file mode 100644 index 0000000000000000000000000000000000000000..30762c22b2cf145919f8c67a0ead3cdef60f594f --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part4.scala @@ -0,0 +1,22 @@ +package midterm + +import java.util.concurrent.atomic.AtomicInteger +import instrumentation.* + +// Questions 9-15 + +// See tests in midterm.Part4Test. +// Run with `sbt testOnly midterm.Part4Test`. + +class Node( + // Globally unique identifier. Different for each instance. + val guid: Int +) extends Monitor + +// This function might be called concurrently. +def lockFun(nodes: List[Node], fn: (e: Int) => Unit): Unit = + if nodes.size > 0 then + nodes.head.synchronized { + fn(nodes(0).guid) + lockFun(nodes.tail, fn) + } diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/Part6.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part6.scala new file mode 100644 index 0000000000000000000000000000000000000000..a2be13429a1e276dd1109ad19cc01fc7ef481263 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part6.scala @@ -0,0 +1,20 @@ +package midterm + +import midterm.instrumentation.Monitor + +// Question 21 + +// See tests in midterm.Part6Test. +// Run with `sbt testOnly midterm.Part6Test`. + +class TicketsManager(totalTickets: Int) extends Monitor: + var remainingTickets = totalTickets + + // This method might be called concurrently + def getTicket(): Boolean = + if remainingTickets > 0 then + this.synchronized { + remainingTickets -= 1 + } + true + else false diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/Part7.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part7.scala new file mode 100644 index 0000000000000000000000000000000000000000..3ec642a7824ec0cdffc197a32378e1f237540f28 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part7.scala @@ -0,0 +1,47 @@ +package midterm + +import midterm.instrumentation.Monitor + +// Questions 22-24 + +// See tests in midterm.Part7Test. +// Run with `sbt testOnly midterm.Part7Test`. + +class NIC(private val _index: Int, private var _assigned: Boolean) + extends Monitor: + def index = _index + def assigned = _assigned + def assigned_=(v: Boolean) = _assigned = v + +class NICManager(n: Int): + // Creates a list with n NICs + val nics = (for i <- 0 until n yield NIC(i, false)).toList + + // This method might be called concurrently + def assignNICs(limitRecvNICs: Boolean = false): (Int, Int) = + var recvNIC: Int = 0 + var sendNIC: Int = 0 + var gotRecvNIC: Boolean = false + var gotSendNIC: Boolean = false + + /// Obtaining receiving NIC... + while !gotRecvNIC do + nics(recvNIC).synchronized { + if !nics(recvNIC).assigned then + nics(recvNIC).assigned = true + gotRecvNIC = true + else recvNIC = (recvNIC + 1) % (if limitRecvNICs then n - 1 else n) + } + // Successfully obtained receiving NIC + + // Obtaining sending NIC... + while !gotSendNIC do + nics(sendNIC).synchronized { + if !nics(sendNIC).assigned then + nics(sendNIC).assigned = true + gotSendNIC = true + else sendNIC = (sendNIC + 1) % n + } + // Successfully obtained sending NIC + + return (recvNIC, sendNIC) diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/Part8.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part8.scala new file mode 100644 index 0000000000000000000000000000000000000000..4a5ea668a513651de3d4e0165c3d73b60997b04d --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/Part8.scala @@ -0,0 +1,85 @@ +package midterm + +import scala.collection.concurrent.{TrieMap, Map} +import java.util.concurrent.atomic.AtomicInteger +import scala.annotation.tailrec + +// Question 25 + +// See tests in midterm.Part8Test. +// Run with `sbt testOnly midterm.Part8Test`. + +// Represent a social network where user can follow each other. Each user is +// represented by an id that is an `Int`. +abstract class AbstractInstagram: + // The map storing the "following" relation of our social network. + // `graph(a)` contains the list of user ids that user `a` follows. + val graph: Map[Int, List[Int]] = new TrieMap[Int, List[Int]]() + + // The maximum user id allocated until now. This value should be incremented + // by one each time a new user is added. + val maxId = new AtomicInteger(0) + + // Allocates a new user and returns its unique id. Internally, this should + // also create an empty list at the corresponding id in `graph`. The + // implementation must be thread-safe. + def add(): Int + + // Make `a` follow `b`. The implementation must be thread-safe. + def follow(a: Int, b: Int): Unit + + // Makes `a` unfollow `b`. The implementation must be thread-safe. + def unfollow(a: Int, b: Int): Unit + + // Removes user with id `a`. This should also remove all references to `a` + // in `graph`. The implementation must be thread-safe. + def remove(a: Int): Unit + +class Instagram extends AbstractInstagram: + // This method is worth 6 points. + def add(): Int = + // It is important to increment and read the value in one atomic step. See + // test `testParallelWrongAdd` for an alternative wrong implementation. + val id = maxId.incrementAndGet + // Note: it is also correct to use `graph.putIfAbsent`, but not needed as + // `id` is always new and therefore absent from the map at this point. + graph.update(id, Nil) + id + + // This method is worth 8 points. + def remove(a: Int): Unit = + graph.remove(a) + // Iterate through all keys to make sure that nobody follows `a` anymore. + // For each key, we need to unfollow a in a thread-safe manner. Calling + // `unfollow` is the simplest way to so, as it is already guaranteed to be + // thread-safe. See test `testParallelWrongRemove` for an example of wrong + // implementation. + for b <- graph.keys do unfollow(b, a) + + // This method is worth 10 points. + def unfollow(a: Int, b: Int) = + // Here, it is important to read the value only once. First calling + // `.contains(a)` and then `graph(a)` (or `graph.apply(a)`--which is the + // same thing) does not work because `a` might be removed between the two + // calls. See `testParallelWrongUnfollow` for an example of this wrong + // implementation. + val prev = graph.get(a) + // Returns silently if `a` does not exist. + if prev.isEmpty then return + // We replace the list of users that `a` follows in an atomic manner. If the + // list of followed users changed concurrently, we start over. + if !graph.replace(a, prev.get, prev.get.filter(_ != b)) then unfollow(a, b) + + // This method is worth 12 points. + def follow(a: Int, b: Int) = + val prev = graph.get(a) + // Returns silently if `a` does not exist. + if prev.isEmpty then return + // We replace the list of users that `a` follows in an atomic manner. If the + // list of followed users changed concurrently, we start over. + if !graph.replace(a, prev.get, b :: prev.get) then follow(a, b) + // Difficult: this handles the case where `b` is concurrently removed by + // another thread. To detect this case, we must check if `b` still exists + // after we have followed it, and unfollow it if it is not the case. See + // test `testParallelFollowABRemoveB`. This last step is worth 4 points. + else if !graph.contains(b) then unfollow(a, b) diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/common.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/common.scala new file mode 100644 index 0000000000000000000000000000000000000000..642a3f4106d82efcc5fd70f23b6872c6442e57ce --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/common.scala @@ -0,0 +1,30 @@ +package midterm + +import java.util.concurrent.ForkJoinTask +import java.util.concurrent.RecursiveTask +import java.util.concurrent.ForkJoinWorkerThread +import java.util.concurrent.ForkJoinPool +import java.util.concurrent.atomic.AtomicInteger + +val forkJoinPool = ForkJoinPool() +var parallelismEnabled = true +var tasksCreated: AtomicInteger = AtomicInteger(0) + +def schedule[T](body: => T): ForkJoinTask[T] = + val t = new RecursiveTask[T]: + def compute = body + Thread.currentThread match + case wt: ForkJoinWorkerThread => t.fork() + case _ => forkJoinPool.execute(t) + t + +def task[T](body: => T): ForkJoinTask[T] = + tasksCreated.incrementAndGet + schedule(body) + +def parallel[A, B](op1: => A, op2: => B): (A, B) = + if parallelismEnabled then + val res1 = task { op1 } + val res2 = op2 + (res1.join(), res2) + else (op1, op2) diff --git a/previous-exams/2022-midterm-code/src/main/scala/midterm/instrumentation/Monitor.scala b/previous-exams/2022-midterm-code/src/main/scala/midterm/instrumentation/Monitor.scala new file mode 100644 index 0000000000000000000000000000000000000000..dfc3a73ff589c962a6f8e8069162af2012a9812c --- /dev/null +++ b/previous-exams/2022-midterm-code/src/main/scala/midterm/instrumentation/Monitor.scala @@ -0,0 +1,40 @@ +package midterm.instrumentation + +class Dummy + +trait Monitor: + given dummy: Dummy = new Dummy + + def wait()(implicit i: Dummy = dummy) = waitDefault() + + def synchronized[T](e: => T)(implicit i: Dummy = dummy) = synchronizedDefault( + e + ) + + def notify()(implicit i: Dummy = dummy) = notifyDefault() + + def notifyAll()(implicit i: Dummy = dummy) = notifyAllDefault() + + private val lock = new AnyRef + + // Can be overridden. + def waitDefault(): Unit = lock.wait() + def synchronizedDefault[T](toExecute: => T): T = lock.synchronized(toExecute) + def notifyDefault(): Unit = lock.notify() + def notifyAllDefault(): Unit = lock.notifyAll() + +trait LockFreeMonitor extends Monitor: + override def waitDefault() = + throw new Exception("Please use lock-free structures and do not use wait()") + override def synchronizedDefault[T](toExecute: => T): T = + throw new Exception( + "Please use lock-free structures and do not use synchronized()" + ) + override def notifyDefault() = + throw new Exception( + "Please use lock-free structures and do not use notify()" + ) + override def notifyAllDefault() = + throw new Exception( + "Please use lock-free structures and do not use notifyAll()" + ) diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/Mock2Test.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/Mock2Test.scala new file mode 100644 index 0000000000000000000000000000000000000000..4d1fab13a1a6050835de004349ce1e84f2af0e4c --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/Mock2Test.scala @@ -0,0 +1,29 @@ +package midterm + +import org.junit.* +import org.junit.Assert.* +import instrumentation.* + +class Mock2Test: + @Test + def test() = + TestUtils.assertDeadlock( + TestHelper.testManySchedules( + 2, + scheduler => + val a = new ScheduledAccount(50, scheduler) + val b = new ScheduledAccount(70, scheduler) + + ( + List( + () => a.transfer(b, 10), + () => b.transfer(a, 10) + ), + results => (true, "") + ) + ) + ) + + class ScheduledAccount(n: Int, val scheduler: Scheduler) + extends Account(n) + with MockedMonitor diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/Part1Test.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part1Test.scala new file mode 100644 index 0000000000000000000000000000000000000000..8f47c66f99330e02594a3c2104fd14d30c1c44c5 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part1Test.scala @@ -0,0 +1,26 @@ +package midterm + +import org.junit.* +import org.junit.Assert.* + +class Part1Test: + val testArray = + Array(0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19) + + @Test + def testQuestion1Pos() = + val tasksCreatedBefore = tasksCreated.get + assertEquals(Some(18), find(testArray, 18, 3)) + assertEquals(10, tasksCreated.get - tasksCreatedBefore) + + @Test + def testQuestion1Neg() = + assertEquals(find(testArray, 20, 3), None) + + @Test + def testQuestion2Pos(): Unit = + assertEquals(findAggregated(testArray, 18), Some(18)) + + @Test + def testQuestion2Neg(): Unit = + assertEquals(findAggregated(testArray, 20), None) diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/Part2Test.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part2Test.scala new file mode 100644 index 0000000000000000000000000000000000000000..2dda7b5f3e5286dcd17f3437af24deff7916c41b --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part2Test.scala @@ -0,0 +1,24 @@ +package midterm + +import org.junit.* +import org.junit.Assert.* + +class Part2Test: + val testArray2 = Array(0, 50, 7, 1, 28, 42) + val testList2 = List(0, 50, 7, 1, 28, 42) + + @Test + def testQuestion4Pos() = + assert(contains(testArray2, 7)) + + @Test + def testQuestion4Neg() = + assert(!contains(testArray2, 8)) + + @Test + def testQuestion6Pos() = + assert(contains(testList2, 7)) + + @Test + def testQuestion6Neg() = + assert(!contains(testList2, 8)) diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/Part4Test.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part4Test.scala new file mode 100644 index 0000000000000000000000000000000000000000..1991cb8f02e4237c528fa6e0081b04a997eb6563 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part4Test.scala @@ -0,0 +1,250 @@ +package midterm + +import midterm.instrumentation.Monitor +import midterm.instrumentation.MockedMonitor + +import org.junit.* +import org.junit.Assert.* +import instrumentation.* +import java.util.concurrent.atomic.AtomicInteger + +class Part4Test: + + // This test can result in a deadlock because locks can be called in any + // order. Here, Thread 1 locks Node 3 first and then Node 2, whereas Thread 2 + // locks Node 2 first and then Node 3. This will lead to a deadlock. + @Test + def testQuestion9() = + TestUtils.assertDeadlock( + TestHelper.testManySchedules( + 2, + scheduler => + val allNodes = (for i <- 0 to 6 yield ScheduledNode(i, scheduler)).toList + + // Shared by all threads + var sum: Int = 0 + def increment(e: Int) = sum += e + + ( + List( + () => + // Thread 1 + var nodes: List[Node] = List(allNodes(1), allNodes(3), allNodes(2), allNodes(4)) + nodes = nodes + lockFun(nodes, increment), + () => + // Thread 2 + var nodes: List[Node] = List(allNodes(5), allNodes(2), allNodes(3)) + nodes = nodes + lockFun(nodes, increment), + ), + results => (true, "") + ) + ) + ) + + // This will not lead to a deadlock because the lock acquire happens in a + // particular order. Thread 1 acquires locks in order 1->2->3->4, whereas + // Thread 2 acquires locks in order 2->3->5. + @Test + def testQuestion10() = + TestHelper.testManySchedules( + 2, + scheduler => + val allNodes = (for i <- 0 to 6 yield ScheduledNode(i, scheduler)).toList + + // Shared by all threads + var sum: Int = 0 + def increment(e: Int) = sum += e + + ( + List( + () => + // Thread 1 + var nodes: List[Node] = List(allNodes(1), allNodes(3), allNodes(2), allNodes(4)) + nodes = nodes.sortWith((x, y) => x.guid > y.guid) + lockFun(nodes, increment), + () => + // Thread 2 + var nodes: List[Node] = List(allNodes(5), allNodes(2), allNodes(3)) + nodes = nodes.sortWith((x, y) => x.guid > y.guid) + lockFun(nodes, increment), + ), + results => (true, "") + ) + ) + + + // This will not lead to a deadlock because the lock acquire happens in a + // particular order. Thread 1 acquires locks in order 4->3->2->1, whereas + // Thread 2 acquires locks in order 5->3->2. + @Test + def testQuestion11() = + TestHelper.testManySchedules( + 2, + scheduler => + val allNodes = (for i <- 0 to 6 yield ScheduledNode(i, scheduler)).toList + + // Shared by all threads + var sum: Int = 0 + def increment(e: Int) = sum += e + + ( + List( + () => + // Thread 1 + var nodes: List[Node] = List(allNodes(1), allNodes(3), allNodes(2), allNodes(4)) + nodes = nodes.sortWith((x, y) => x.guid < y.guid) + lockFun(nodes, increment), + () => + // Thread 2 + var nodes: List[Node] = List(allNodes(5), allNodes(2), allNodes(3)) + nodes = nodes.sortWith((x, y) => x.guid < y.guid) + lockFun(nodes, increment), + ), + results => (true, "") + ) + ) + + // This test can result in a deadlock because locks are not called in any + // order. Thread 1 acquire order (3->2->4->1), Thread 2 acquire order + // (2->3->5). Thread 1 locks Node3 first and then Node2, whereas Thread 2 + // locks Node 2 first and then Node3. This will lead to a deadlock. + @Test + def testQuestion12() = + TestUtils.assertDeadlock( + TestHelper.testManySchedules( + 2, + scheduler => + val allNodes = (for i <- 0 to 6 yield ScheduledNode(i, scheduler)).toList + + // Shared by all threads + var sum: Int = 0 + def increment(e: Int) = sum += e + + ( + List( + () => + // Thread 1 + var nodes: List[Node] = List(allNodes(1), allNodes(3), allNodes(2), allNodes(4)) + nodes = nodes.tail.appended(nodes(0)) + lockFun(nodes, increment), + () => + // Thread 2 + var nodes: List[Node] = List(allNodes(5), allNodes(2), allNodes(3)) + nodes = nodes.tail.appended(nodes(0)) + lockFun(nodes, increment), + ), + results => (true, "") + ) + ) + ) + + // sum returns wrong answer because there is a data race on the sum variable. + @Test(expected = classOf[AssertionError]) + def testQuestion13() = + TestHelper.testManySchedules( + 2, + scheduler => + val allNodes = (for i <- 0 to 6 yield ScheduledNode(i, scheduler)).toList + + // Shared by all threads + var sum: Int = 0 + def increment(e: Int) = + val previousSum = scheduler.exec{sum}("Get sum") + scheduler.exec{sum = previousSum + e}("Write sum") + + ( + List( + () => + // Thread 1 + var nodes: List[Node] = List(allNodes(1), allNodes(3), allNodes(2), allNodes(4)) + nodes = nodes.sortWith((x, y) => x.guid < y.guid) + lockFun(nodes, increment), + () => + // Thread 2 + var nodes: List[Node] = List(allNodes(5), allNodes(2), allNodes(3)) + nodes = nodes.sortWith((x, y) => x.guid < y.guid) + lockFun(nodes, increment), + ), + results => + if sum != 20 then + (false, f"Wrong sum: expected 20 but got $sum") + else + (true, "") + ) + ) + + // sum value will be correct here because "sum += e" is protected by a lock. + @Test + def testQuestion14() = + TestHelper.testManySchedules( + 2, + sched => + val allNodes = (for i <- 0 to 6 yield ScheduledNode(i, sched)).toList + + val monitor = new MockedMonitor: // Monitor is a type of a lock. + def scheduler = sched + + // Shared by all threads + var sum: Int = 0 + def increment(e: Int) = + monitor.synchronized { sum += e } + + ( + List( + () => + // Thread 1 + var nodes: List[Node] = List(allNodes(1), allNodes(3), allNodes(2), allNodes(4)) + nodes = nodes.sortWith((x, y) => x.guid < y.guid) + lockFun(nodes, increment), + () => + // Thread 2 + var nodes: List[Node] = List(allNodes(5), allNodes(2), allNodes(3)) + nodes = nodes.sortWith((x, y) => x.guid < y.guid) + lockFun(nodes, increment), + ), + results => + if sum != 20 then + (false, f"Wrong sum: expected 20 but got $sum") + else + (true, "") + ) + ) + + // total will give correct output here as it is an atomic instruction. + @Test + def testQuestion15() = + TestHelper.testManySchedules( + 2, + sched => + val allNodes = (for i <- 0 to 6 yield ScheduledNode(i, sched)).toList + + // Shared by all threads + var total: AtomicInteger = new AtomicInteger(0) + def increment(e: Int) = + total.addAndGet(e) + + ( + List( + () => + // Thread 1 + var nodes: List[Node] = List(allNodes(1), allNodes(3), allNodes(2), allNodes(4)) + nodes = nodes.sortWith((x, y) => x.guid < y.guid) + lockFun(nodes, increment), + () => + // Thread 2 + var nodes: List[Node] = List(allNodes(5), allNodes(2), allNodes(3)) + nodes = nodes.sortWith((x, y) => x.guid < y.guid) + lockFun(nodes, increment), + ), + results => + if total.get != 20 then + (false, f"Wrong total: expected 20 but got $total") + else + (true, "") + ) + ) + + + class ScheduledNode(value: Int, val scheduler: Scheduler) extends Node(value) with MockedMonitor diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/Part6Test.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part6Test.scala new file mode 100644 index 0000000000000000000000000000000000000000..d6412345fc9bff74fd9a68ad3eeee6137d42a045 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part6Test.scala @@ -0,0 +1,33 @@ +package midterm + +import org.junit.* +import org.junit.Assert.* +import midterm.instrumentation.* + +class Part6Test: + @Test(expected = classOf[AssertionError]) + def testQuestion21() = + TestHelper.testManySchedules( + 2, + scheduler => + val ticketsManager = ScheduledTicketsManager(1, scheduler) + + ( + List( + () => + // Thread 1 + ticketsManager.getTicket(), + () => + // Thread 2 + ticketsManager.getTicket() + ), + results => + if ticketsManager.remainingTickets < 0 then + (false, "Sold more tickets than available!") + else (true, "") + ) + ) + + class ScheduledTicketsManager(totalTickets: Int, val scheduler: Scheduler) + extends TicketsManager(totalTickets) + with MockedMonitor diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/Part7Test.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part7Test.scala new file mode 100644 index 0000000000000000000000000000000000000000..e818585d31ac34b2ac80c9819ed6433d8248229c --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part7Test.scala @@ -0,0 +1,89 @@ +package midterm + +import org.junit.* +import org.junit.Assert.* +import midterm.instrumentation.* + +class Part7Test: + @Test + def testNicManagerSequential() = + val nicsManager = NICManager(4) + assertEquals((0, 1), nicsManager.assignNICs()) + assertEquals((2, 3), nicsManager.assignNICs()) + + @Test + def testQuestion22() = + testNicManagerParallel(2, 3) + + @Test + def testQuestion23() = + val nicsManager = NICManager(2) + + // Thread 1 + assertEquals((0, 1), nicsManager.assignNICs()) + nicsManager.nics(0).assigned = false + nicsManager.nics(1).assigned = false + + // Thread 2 + assertEquals((0, 1), nicsManager.assignNICs()) + nicsManager.nics(0).assigned = false + nicsManager.nics(1).assigned = false + + @Test + def testQuestion24() = + testNicManagerParallel(3, 2, true) + + @Test + def testQuestion24NotLimitingRecvNICs() = + TestUtils.assertMaybeDeadlock( + testNicManagerParallel(3, 2) + ) + + def testNicManagerParallel( + threads: Int, + nics: Int, + limitRecvNICs: Boolean = false + ) = + TestHelper.testManySchedules( + threads, + scheduler => + val nicsManager = ScheduledNicsManager(nics, scheduler) + val tasks = for i <- 0 until threads yield () => + // Thread i + val (recvNIC, sendNIC) = nicsManager.assignNICs(limitRecvNICs) + + // Do something with NICs... + + // Un-assign NICs + nicsManager.nics(recvNIC).assigned = false + nicsManager.nics(sendNIC).assigned = false + ( + tasks.toList, + results => + if nicsManager.nics.count(_.assigned) != 0 then + (false, f"All NICs should have been released.") + else (true, "") + ) + ) + + class ScheduledNicsManager(n: Int, scheduler: Scheduler) + extends NICManager(n): + class ScheduledNIC( + _index: Int, + _assigned: Boolean, + val scheduler: Scheduler + ) extends NIC(_index, _assigned) + with MockedMonitor: + override def index = scheduler.exec { super.index }( + "", + Some(res => f"read NIC.index == $res") + ) + override def assigned = scheduler.exec { super.assigned }( + "", + Some(res => f"read NIC.assigned == $res") + ) + override def assigned_=(v: Boolean) = scheduler.exec { super.assigned = v }( + f"write NIC.assigned = $v" + ) + override val nics = + (for i <- 0 until n yield ScheduledNIC(i, false, scheduler)).toList diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/Part8Test.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part8Test.scala new file mode 100644 index 0000000000000000000000000000000000000000..6d5a50a6bf7053f1a02720e8500f7923ca1a30fb --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/Part8Test.scala @@ -0,0 +1,378 @@ +package midterm + +import org.junit.* +import org.junit.Assert.* +import instrumentation.* + +import scala.collection.concurrent.TrieMap +import scala.collection.concurrent.{TrieMap, Map} + +class Part8Test: + @Test + def usage() = + val insta = Instagram() + assertEquals(1, insta.add()) + assertEquals(2, insta.add()) + insta.follow(1, 2) + assertEquals(insta.graph, Map(1 -> List(2), 2 -> List())) + insta.follow(2, 1) + insta.unfollow(1, 2) + assertEquals(insta.graph, Map(1 -> List(), 2 -> List(1))) + insta.follow(3, 1) // fails silently + assertEquals(insta.graph, Map(1 -> List(), 2 -> List(1))) + insta.remove(1) + assertEquals(insta.graph, Map(2 -> List())) + insta.unfollow(1, 2) // fails silently + + @Test + def testParallelFollowABRemoveA() = + TestHelper.testManySchedules( + 2, + scheduler => + val insta = new Instagram: + override val graph = + ScheduledTrieMap(TrieMap[Int, List[Int]](), scheduler) + + val u1 = insta.add() + val u2 = insta.add() + + ( + List( + () => + // Thread 1 + insta.follow(u1, u2), + () => + // Thread 2 + insta.remove(u1) + ), + results => + val size = insta.graph.size + if size != 1 then + (false, f"Wrong number of user: expected 1 but got ${size}") + else validateGraph(insta) + ) + ) + + @Test + def testParallelFollowABRemoveB() = + TestHelper.testManySchedules( + 2, + scheduler => + val insta = new Instagram: + override val graph = + ScheduledTrieMap(TrieMap[Int, List[Int]](), scheduler) + + val u1 = insta.add() + val u2 = insta.add() + + ( + List( + () => + // Thread 1 + insta.follow(u1, u2), + () => + // Thread 2 + insta.remove(u2) + ), + results => + val size = insta.graph.size + if size != 1 then + (false, f"Wrong number of user: expected 1 but got ${size}") + else validateGraph(insta) + ) + ) + + @Test + def testParallelFollowACRemoveB() = + TestHelper.testManySchedules( + 2, + scheduler => + val insta = new Instagram: + override val graph = + ScheduledTrieMap(TrieMap[Int, List[Int]](), scheduler) + + val u1 = insta.add() + val u2 = insta.add() + val u3 = insta.add() + insta.follow(u1, u2) + + ( + List( + () => + // Thread 1 + insta.follow(u1, u3), + () => + // Thread 2 + insta.remove(u2) + ), + results => + val size = insta.graph.size + if size != 2 then + (false, f"Wrong number of user: expected 2 but got ${size}") + else validateGraph(insta) + ) + ) + + @Test + def testParallelFollow() = + TestHelper.testManySchedules( + 2, + scheduler => + val insta = new Instagram: + override val graph = + ScheduledTrieMap(TrieMap[Int, List[Int]](), scheduler) + + val u1 = insta.add() + val u2 = insta.add() + val u3 = insta.add() + + ( + List( + () => + // Thread 1 + insta.follow(u1, u2), + () => + // Thread 2 + insta.follow(u1, u3) + ), + results => + val u1FollowingSize = insta.graph(u1).size + if u1FollowingSize != 2 then + ( + false, + f"Wrong number of users followed by user 1: expected 2 but got ${u1FollowingSize}" + ) + else validateGraph(insta) + ) + ) + + @Test + def testParallelRemove() = + TestHelper.testManySchedules( + 2, + scheduler => + val insta = new Instagram: + override val graph = + ScheduledTrieMap(TrieMap[Int, List[Int]](), scheduler) + + // Setup + val u1 = insta.add() + val u2 = insta.add() + val u3 = insta.add() + insta.follow(u1, u2) + insta.follow(u2, u1) + insta.follow(u2, u3) + insta.follow(u3, u1) + + ( + List( + () => + // Thread 1 + insta.remove(u2), + () => + // Thread 2 + insta.remove(u3) + ), + results => + val size = insta.graph.size + if size != 1 then + (false, f"Wrong number of user: expected 1 but got ${size}") + else validateGraph(insta) + ) + ) + + // We test wrong code here, so we expect an assertion error. You can replace + // the next line by `@Test` if you want to see the error with the failing + // schedule. + @Test(expected = classOf[AssertionError]) + def testParallelWrongAdd() = + TestHelper.testManySchedules( + 2, + scheduler => + val insta = new Instagram: + override val graph = + ScheduledTrieMap(TrieMap[Int, List[Int]](), scheduler) + + // This implementation of `add` is wrong, because two threads might + // allocate the same id. + // Consider the following schedule: + // T1: res = 1 + // T2: res = 2 + // T2: graph.update(2, Nil) + // T2: 2 + // T1: graph.update(2, Nil) + // T1: 2 + override def add(): Int = + val res = maxId.incrementAndGet + graph.update(maxId.get, Nil) + res + + ( + List( + () => + // Thread 1 + insta.add(), + () => + // Thread 2 + insta.add() + ), + results => + if results(0) != results(1) then + (false, f"Allocated twice id ${results(0)}") + else validateGraph(insta) + ) + ) + + // We test wrong code here, so we expect an assertion error. You can replace + // the next line by `@Test` if you want to see the error with the failing + // schedule. + @Test(expected = classOf[AssertionError]) + def testParallelWrongRemove() = + TestHelper.testManySchedules( + 2, + scheduler => + val insta = new Instagram: + override val graph = + ScheduledTrieMap(TrieMap[Int, List[Int]](), scheduler) + + // This implementation of `remove` is wrong because we don't retry to + // call `graph.replace` when it fails. Therefore, user 1 might end up + // following user 2 that has been removed, or not following user 3 + // which is concurrently followed. + override def remove(idToRemove: Int): Unit = + graph.remove(idToRemove) + for (key, value) <- graph do + graph.replace(key, value, value.filter(_ != idToRemove)) + // Note: writing `graph(key) = value.filter(_ != idToRemove)` + // would also be wrong because it does not check the previous + // value. Therefore, it could erase a concurrent update. + + val u1 = insta.add() + val u2 = insta.add() + val u3 = insta.add() + insta.follow(u1, u2) + + ( + List( + () => + // Thread 1 + insta.follow(u1, u3), + () => + // Thread 2 + insta.remove(u2) + ), + results => + val size = insta.graph.size + if insta.graph(u1).size != 1 then + (false, f"Wrong number of users followed by 1: expected 1 but got ${insta.graph(u1)}") + else validateGraph(insta) + ) + ) + + // We test wrong code here, so we expect an assertion error. You can replace + // the next line by `@Test` if you want to see the error with the failing + // schedule. + @Test(expected = classOf[AssertionError]) + def testParallelWrongUnfollow() = + TestHelper.testManySchedules( + 2, + scheduler => + val insta = new Instagram: + override val graph = + ScheduledTrieMap(TrieMap[Int, List[Int]](), scheduler) + override def unfollow(a: Int, b: Int): Unit = + if !graph.contains(a) then return + val prev = graph(a) // Might throw java.util.NoSuchElementException + if !graph.replace(a, prev, prev.filter(_ != b)) then unfollow(a, b) + + val u1 = insta.add() + val u2 = insta.add() + insta.follow(u1, u2) + + ( + List( + () => + // Thread 1 + insta.unfollow(u1, u2), + () => + // Thread 2 + insta.remove(u1) + ), + results => + val size = insta.graph.size + if size != 1 then + (false, f"Wrong number of user: expected 1 but got ${size}") + else validateGraph(insta) + ) + ) + + def validateGraph(insta: Instagram): (Boolean, String) = + for (a, following) <- insta.graph; b <- following do + if !insta.graph.contains(b) then + return (false, f"User $a follows non-existing user $b") + (true, "") + + final class ScheduledIterator[T]( + private val myIterator: Iterator[T], + private val scheduler: Scheduler + ) extends Iterator[T]: + override def hasNext = + myIterator.hasNext + override def next() = + scheduler.exec(myIterator.next)("", Some(res => f"Iterator.next == $res")) + override def knownSize: Int = + myIterator.knownSize + + final class ScheduledTrieMap[K, V]( + private val myMap: Map[K, V], + private val scheduler: Scheduler + ) extends Map[K, V]: + override def apply(key: K): V = + scheduler.exec(myMap(key))( + "", + Some(res => f"TrieMap.apply($key) == $res") + ) + override def contains(key: K): Boolean = + scheduler.exec(myMap.contains(key))( + "", + Some(res => f"TrieMap.contains($key) == $res") + ) + override def get(key: K): Option[V] = + scheduler.exec(myMap.get(key))( + "", + Some(res => f"TrieMap.get($key) == $res") + ) + override def addOne(kv: (K, V)) = + scheduler.exec(myMap.addOne(kv))(f"TrieMap.addOne($kv)") + this + override def subtractOne(k: K) = + scheduler.exec(myMap.subtractOne(k))(f"TrieMap.subtractOne($k)") + this + override def iterator() = + scheduler.log("TrieMap.iterator") + ScheduledIterator(myMap.iterator, scheduler) + override def replace(k: K, v: V): Option[V] = + scheduler.exec(myMap.replace(k, v))( + "", + Some(res => f"TrieMap.replace($k, $v) == $res") + ) + override def replace(k: K, oldvalue: V, newvalue: V): Boolean = + scheduler.exec(myMap.replace(k, oldvalue, newvalue))( + "", + Some(res => f"TrieMap.replace($k, $oldvalue, $newvalue) == $res") + ) + override def putIfAbsent(k: K, v: V): Option[V] = + scheduler.exec(myMap.putIfAbsent(k, v))( + "", + Some(res => f"TrieMap.putIfAbsent($k, $v)") + ) + override def remove(k: K): Option[V] = + scheduler.exec(myMap.remove(k))( + "", + Some(res => f"TrieMap.remove($k)") + ) + override def remove(k: K, v: V): Boolean = + scheduler.exec(myMap.remove(k, v))( + "", + Some(res => f"TrieMap.remove($k, $v)") + ) diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/MockedMonitor.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/MockedMonitor.scala new file mode 100644 index 0000000000000000000000000000000000000000..341d8feb7fc6e9978987e0440a7dfe30c8b7a7b3 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/MockedMonitor.scala @@ -0,0 +1,46 @@ +package midterm.instrumentation + +trait MockedMonitor extends Monitor: + def scheduler: Scheduler + + // Can be overriden. + override def waitDefault() = + scheduler.log("wait") + scheduler updateThreadState Wait(this, scheduler.threadLocks.tail) + override def synchronizedDefault[T](toExecute: =>T): T = + scheduler.log("synchronized check") + val prevLocks = scheduler.threadLocks + scheduler updateThreadState Sync(this, prevLocks) // If this belongs to prevLocks, should just continue. + scheduler.log("synchronized -> enter") + try + toExecute + finally + scheduler updateThreadState Running(prevLocks) + scheduler.log("synchronized -> out") + override def notifyDefault() = + scheduler mapOtherStates { + state => state match + case Wait(lockToAquire, locks) if lockToAquire == this => SyncUnique(this, state.locks) + case e => e + } + scheduler.log("notify") + override def notifyAllDefault() = + scheduler mapOtherStates { + state => state match + case Wait(lockToAquire, locks) if lockToAquire == this => Sync(this, state.locks) + case SyncUnique(lockToAquire, locks) if lockToAquire == this => Sync(this, state.locks) + case e => e + } + scheduler.log("notifyAll") + +abstract class ThreadState: + def locks: Seq[AnyRef] +trait CanContinueIfAcquiresLock extends ThreadState: + def lockToAquire: AnyRef +case object Start extends ThreadState { def locks: Seq[AnyRef] = Seq.empty } +case object End extends ThreadState { def locks: Seq[AnyRef] = Seq.empty } +case class Wait(lockToAquire: AnyRef, locks: Seq[AnyRef]) extends ThreadState +case class SyncUnique(lockToAquire: AnyRef, locks: Seq[AnyRef]) extends ThreadState with CanContinueIfAcquiresLock +case class Sync(lockToAquire: AnyRef, locks: Seq[AnyRef]) extends ThreadState with CanContinueIfAcquiresLock +case class Running(locks: Seq[AnyRef]) extends ThreadState +case class VariableReadWrite(locks: Seq[AnyRef]) extends ThreadState diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/Scheduler.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/Scheduler.scala new file mode 100644 index 0000000000000000000000000000000000000000..8c26437f9f6a56a8c3b78e45a1ab6398c78c0868 --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/Scheduler.scala @@ -0,0 +1,276 @@ +package midterm.instrumentation + +import java.util.concurrent._; +import scala.concurrent.duration._ +import scala.collection.mutable._ +import Stats._ + +import java.util.concurrent.atomic.AtomicInteger + +sealed abstract class Result +case class RetVal(rets: List[Any]) extends Result +case class Except(msg: String, stackTrace: Array[StackTraceElement]) extends Result +case class Timeout(msg: String) extends Result + +/** + * A class that maintains schedule and a set of thread ids. + * The schedules are advanced after an operation of a SchedulableBuffer is performed. + * Note: the real schedule that is executed may deviate from the input schedule + * due to the adjustments that had to be made for locks + */ +class Scheduler(sched: List[Int]): + val maxOps = 500 // a limit on the maximum number of operations the code is allowed to perform + + private var schedule = sched + private var numThreads = 0 + private val realToFakeThreadId = Map[Long, Int]() + private val opLog = ListBuffer[String]() // a mutable list (used for efficient concat) + private val threadStates = Map[Int, ThreadState]() + + /** + * Runs a set of operations in parallel as per the schedule. + * Each operation may consist of many primitive operations like reads or writes + * to shared data structure each of which should be executed using the function `exec`. + * @timeout in milliseconds + * @return true - all threads completed on time, false -some tests timed out. + */ + def runInParallel(timeout: Long, ops: List[() => Any]): Result = + numThreads = ops.length + val threadRes = Array.fill(numThreads) { None: Any } + var exception: Option[Except] = None + val syncObject = new Object() + var completed = new AtomicInteger(0) + // create threads + val threads = ops.zipWithIndex.map { + case (op, i) => + new Thread(new Runnable() { + def run(): Unit = { + val fakeId = i + 1 + setThreadId(fakeId) + try { + updateThreadState(Start) + val res = op() + updateThreadState(End) + threadRes(i) = res + // notify the main thread if all threads have completed + if completed.incrementAndGet() == ops.length then { + syncObject.synchronized { syncObject.notifyAll() } + } + } catch { + case e: Throwable if exception != None => // do nothing here and silently fail + case e: Throwable => + log(s"throw ${e.toString}") + exception = Some(Except(s"Thread $fakeId crashed on the following schedule: \n" + opLog.mkString("\n"), + e.getStackTrace)) + syncObject.synchronized { syncObject.notifyAll() } + //println(s"$fakeId: ${e.toString}") + //Runtime.getRuntime().halt(0) //exit the JVM and all running threads (no other way to kill other threads) + } + } + }) + } + // start all threads + threads.foreach(_.start()) + // wait for all threads to complete, or for an exception to be thrown, or for the time out to expire + var remTime = timeout + syncObject.synchronized { + timed { if completed.get() != ops.length then syncObject.wait(timeout) } { time => remTime -= time } + } + if exception.isDefined then + exception.get + else if remTime <= 1 then // timeout ? using 1 instead of zero to allow for some errors + Timeout(opLog.mkString("\n")) + else + // every thing executed normally + RetVal(threadRes.toList) + + // Updates the state of the current thread + def updateThreadState(state: ThreadState): Unit = + val tid = threadId + synchronized { + threadStates(tid) = state + } + state match + case Sync(lockToAquire, locks) => + if locks.indexOf(lockToAquire) < 0 then waitForTurn else + // Re-aqcuiring the same lock + updateThreadState(Running(lockToAquire +: locks)) + case Start => waitStart() + case End => removeFromSchedule(tid) + case Running(_) => + case _ => waitForTurn // Wait, SyncUnique, VariableReadWrite + + def waitStart(): Unit = + //while (threadStates.size < numThreads) { + //Thread.sleep(1) + //} + synchronized { + if threadStates.size < numThreads then + wait() + else + notifyAll() + } + + def threadLocks = + synchronized { + threadStates(threadId).locks + } + + def threadState = + synchronized { + threadStates(threadId) + } + + def mapOtherStates(f: ThreadState => ThreadState) = + val exception = threadId + synchronized { + for k <- threadStates.keys if k != exception do + threadStates(k) = f(threadStates(k)) + } + + def log(str: String) = + if (realToFakeThreadId contains Thread.currentThread().getId()) then + val space = (" " * ((threadId - 1) * 2)) + val s = space + threadId + ":" + "\n".r.replaceAllIn(str, "\n" + space + " ") + //println(s) + opLog += s + + /** + * Executes a read or write operation to a global data structure as per the given schedule + * @param msg a message corresponding to the operation that will be logged + */ + def exec[T](primop: => T)(msg: => String, postMsg: => Option[T => String] = None): T = + if ! (realToFakeThreadId contains Thread.currentThread().getId()) then + primop + else + updateThreadState(VariableReadWrite(threadLocks)) + val m = msg + if m != "" then log(m) + if opLog.size > maxOps then + throw new Exception(s"Total number of reads/writes performed by threads exceed $maxOps. A possible deadlock!") + val res = primop + postMsg match + case Some(m) => log(m(res)) + case None => + res + + private def setThreadId(fakeId: Int) = synchronized { + realToFakeThreadId(Thread.currentThread.getId) = fakeId + } + + def threadId = + try + realToFakeThreadId(Thread.currentThread().getId()) + catch + case e: NoSuchElementException => + throw new Exception("You are accessing shared variables in the constructor. This is not allowed. The variables are already initialized!") + + private def isTurn(tid: Int) = synchronized { + (!schedule.isEmpty && schedule.head != tid) + } + + def canProceed(): Boolean = + val tid = threadId + canContinue match + case Some((i, state)) if i == tid => + //println(s"$tid: Runs ! Was in state $state") + canContinue = None + state match + case Sync(lockToAquire, locks) => updateThreadState(Running(lockToAquire +: locks)) + case SyncUnique(lockToAquire, locks) => + mapOtherStates { + _ match + case SyncUnique(lockToAquire2, locks2) if lockToAquire2 == lockToAquire => Wait(lockToAquire2, locks2) + case e => e + } + updateThreadState(Running(lockToAquire +: locks)) + case VariableReadWrite(locks) => updateThreadState(Running(locks)) + true + case Some((i, state)) => + //println(s"$tid: not my turn but $i !") + false + case None => + false + + var threadPreference = 0 // In the case the schedule is over, which thread should have the preference to execute. + + /** returns true if the thread can continue to execute, and false otherwise */ + def decide(): Option[(Int, ThreadState)] = + if !threadStates.isEmpty then // The last thread who enters the decision loop takes the decision. + //println(s"$threadId: I'm taking a decision") + if threadStates.values.forall { case e: Wait => true case _ => false } then + val waiting = threadStates.keys.map(_.toString).mkString(", ") + val s = if threadStates.size > 1 then "s" else "" + val are = if threadStates.size > 1 then "are" else "is" + throw new Exception(s"Deadlock: Thread$s $waiting $are waiting but all others have ended and cannot notify them.") + else + // Threads can be in Wait, Sync, SyncUnique, and VariableReadWrite mode. + // Let's determine which ones can continue. + val notFree = threadStates.collect { case (id, state) => state.locks }.flatten.toSet + val threadsNotBlocked = threadStates.toSeq.filter { + case (id, v: VariableReadWrite) => true + case (id, v: CanContinueIfAcquiresLock) => !notFree(v.lockToAquire) || (v.locks contains v.lockToAquire) + case _ => false + } + if threadsNotBlocked.isEmpty then + val waiting = threadStates.keys.map(_.toString).mkString(", ") + val s = if threadStates.size > 1 then "s" else "" + val are = if threadStates.size > 1 then "are" else "is" + val whoHasLock = threadStates.toSeq.flatMap { case (id, state) => state.locks.map(lock => (lock, id)) }.toMap + val reason = threadStates.collect { + case (id, state: CanContinueIfAcquiresLock) if !notFree(state.lockToAquire) => + s"Thread $id is waiting on lock ${state.lockToAquire} held by thread ${whoHasLock(state.lockToAquire)}" + }.mkString("\n") + throw new Exception(s"Deadlock: Thread$s $waiting are interlocked. Indeed:\n$reason") + else if threadsNotBlocked.size == 1 then // Do not consume the schedule if only one thread can execute. + Some(threadsNotBlocked(0)) + else + val next = schedule.indexWhere(t => threadsNotBlocked.exists { case (id, state) => id == t }) + if next != -1 then + //println(s"$threadId: schedule is $schedule, next chosen is ${schedule(next)}") + val chosenOne = schedule(next) // TODO: Make schedule a mutable list. + schedule = schedule.take(next) ++ schedule.drop(next + 1) + Some((chosenOne, threadStates(chosenOne))) + else + threadPreference = (threadPreference + 1) % threadsNotBlocked.size + val chosenOne = threadsNotBlocked(threadPreference) // Maybe another strategy + Some(chosenOne) + //threadsNotBlocked.indexOf(threadId) >= 0 + /* + val tnb = threadsNotBlocked.map(_._1).mkString(",") + val s = if (schedule.isEmpty) "empty" else schedule.mkString(",") + val only = if (schedule.isEmpty) "" else " only" + throw new Exception(s"The schedule is $s but$only threads ${tnb} can continue")*/ + else canContinue + + /** + * This will be called before a schedulable operation begins. + * This should not use synchronized + */ + var numThreadsWaiting = new AtomicInteger(0) + //var waitingForDecision = Map[Int, Option[Int]]() // Mapping from thread ids to a number indicating who is going to make the choice. + var canContinue: Option[(Int, ThreadState)] = None // The result of the decision thread Id of the thread authorized to continue. + private def waitForTurn = + synchronized { + if numThreadsWaiting.incrementAndGet() == threadStates.size then + canContinue = decide() + notifyAll() + //waitingForDecision(threadId) = Some(numThreadsWaiting) + //println(s"$threadId Entering waiting with ticket number $numThreadsWaiting/${waitingForDecision.size}") + while !canProceed() do wait() + } + numThreadsWaiting.decrementAndGet() + + /** + * To be invoked when a thread is about to complete + */ + private def removeFromSchedule(fakeid: Int) = synchronized { + //println(s"$fakeid: I'm taking a decision because I finished") + schedule = schedule.filterNot(_ == fakeid) + threadStates -= fakeid + if numThreadsWaiting.get() == threadStates.size then + canContinue = decide() + notifyAll() + } + + def getOperationLog() = opLog diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/Stats.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/Stats.scala new file mode 100644 index 0000000000000000000000000000000000000000..2d6d76dd63ce507a6b14db597fad6fa74b9259ff --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/Stats.scala @@ -0,0 +1,19 @@ +package midterm.instrumentation + +import java.lang.management._ + +/** + * A collection of methods that can be used to collect run-time statistics about Leon programs. + * This is mostly used to test the resources properties of Leon programs + */ +object Stats: + def timed[T](code: => T)(cont: Long => Unit): T = + var t1 = System.currentTimeMillis() + val r = code + cont((System.currentTimeMillis() - t1)) + r + + def withTime[T](code: => T): (T, Long) = + var t1 = System.currentTimeMillis() + val r = code + (r, (System.currentTimeMillis() - t1)) diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/TestHelper.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/TestHelper.scala new file mode 100644 index 0000000000000000000000000000000000000000..5bd22dd29410415b02120f1346937b67d523839d --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/TestHelper.scala @@ -0,0 +1,112 @@ +package midterm.instrumentation + +import scala.util.Random +import scala.collection.mutable.{Map => MutableMap} + +import Stats._ + +object TestHelper: + val noOfSchedules = 10000 // set this to 100k during deployment + val readWritesPerThread = 20 // maximum number of read/writes possible in one thread + val contextSwitchBound = 10 + val testTimeout = 240 // the total time out for a test in seconds + val schedTimeout = 15 // the total time out for execution of a schedule in secs + + // Helpers + /*def testManySchedules(op1: => Any): Unit = testManySchedules(List(() => op1)) + def testManySchedules(op1: => Any, op2: => Any): Unit = testManySchedules(List(() => op1, () => op2)) + def testManySchedules(op1: => Any, op2: => Any, op3: => Any): Unit = testManySchedules(List(() => op1, () => op2, () => op3)) + def testManySchedules(op1: => Any, op2: => Any, op3: => Any, op4: => Any): Unit = testManySchedules(List(() => op1, () => op2, () => op3, () => op4))*/ + + def testSequential[T](ops: Scheduler => Any)(assertions: T => (Boolean, String)) = + testManySchedules(1, + (sched: Scheduler) => { + (List(() => ops(sched)), + (res: List[Any]) => assertions(res.head.asInstanceOf[T])) + }) + + /** + * @numThreads number of threads + * @ops operations to be executed, one per thread + * @assertion as condition that will executed after all threads have completed (without exceptions) + * the arguments are the results of the threads + */ + def testManySchedules(numThreads: Int, + ops: Scheduler => + (List[() => Any], // Threads + List[Any] => (Boolean, String)) // Assertion + ) = + var timeout = testTimeout * 1000L + val threadIds = (1 to numThreads) + //(1 to scheduleLength).flatMap(_ => threadIds).toList.permutations.take(noOfSchedules).foreach { + val schedules = (new ScheduleGenerator(numThreads)).schedules() + var schedsExplored = 0 + schedules.takeWhile(_ => schedsExplored <= noOfSchedules && timeout > 0).foreach { + //case _ if timeout <= 0 => // break + case schedule => + schedsExplored += 1 + val schedr = new Scheduler(schedule) + //println("Exploring Sched: "+schedule) + val (threadOps, assertion) = ops(schedr) + if threadOps.size != numThreads then + throw new IllegalStateException(s"Number of threads: $numThreads, do not match operations of threads: $threadOps") + timed { schedr.runInParallel(schedTimeout * 1000, threadOps) } { t => timeout -= t } match + case Timeout(msg) => + throw new java.lang.AssertionError("assertion failed\n"+"The schedule took too long to complete. A possible deadlock! \n"+msg) + case Except(msg, stkTrace) => + val traceStr = "Thread Stack trace: \n"+stkTrace.map(" at "+_.toString).mkString("\n") + throw new java.lang.AssertionError("assertion failed\n"+msg+"\n"+traceStr) + case RetVal(threadRes) => + // check the assertion + val (success, custom_msg) = assertion(threadRes) + if !success then + val msg = "The following schedule resulted in wrong results: \n" + custom_msg + "\n" + schedr.getOperationLog().mkString("\n") + throw new java.lang.AssertionError("Assertion failed: "+msg) + } + if timeout <= 0 then + throw new java.lang.AssertionError("Test took too long to complete! Cannot check all schedules as your code is too slow!") + + /** + * A schedule generator that is based on the context bound + */ + class ScheduleGenerator(numThreads: Int): + val scheduleLength = readWritesPerThread * numThreads + val rands = (1 to scheduleLength).map(i => new Random(0xcafe * i)) // random numbers for choosing a thread at each position + def schedules(): LazyList[List[Int]] = + var contextSwitches = 0 + var contexts = List[Int]() // a stack of thread ids in the order of context-switches + val remainingOps = MutableMap[Int, Int]() + remainingOps ++= (1 to numThreads).map(i => (i, readWritesPerThread)) // num ops remaining in each thread + val liveThreads = (1 to numThreads).toSeq.toBuffer + + /** + * Updates remainingOps and liveThreads once a thread is chosen for a position in the schedule + */ + def updateState(tid: Int): Unit = + val remOps = remainingOps(tid) + if remOps == 0 then + liveThreads -= tid + else + remainingOps += (tid -> (remOps - 1)) + val schedule = rands.foldLeft(List[Int]()) { + case (acc, r) if contextSwitches < contextSwitchBound => + val tid = liveThreads(r.nextInt(liveThreads.size)) + contexts match + case prev :: tail if prev != tid => // we have a new context switch here + contexts +:= tid + contextSwitches += 1 + case prev :: tail => + case _ => // init case + contexts +:= tid + updateState(tid) + acc :+ tid + case (acc, _) => // here context-bound has been reached so complete the schedule without any more context switches + if !contexts.isEmpty then + contexts = contexts.dropWhile(remainingOps(_) == 0) + val tid = contexts match + case top :: tail => top + case _ => liveThreads(0) // here, there has to be threads that have not even started + updateState(tid) + acc :+ tid + } + schedule #:: schedules() diff --git a/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/TestUtils.scala b/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/TestUtils.scala new file mode 100644 index 0000000000000000000000000000000000000000..6417d5c1f4e05a8f138d1d9aafc5bdc312c1000e --- /dev/null +++ b/previous-exams/2022-midterm-code/src/test/scala/midterm/instrumentation/TestUtils.scala @@ -0,0 +1,33 @@ +package midterm.instrumentation + +import scala.concurrent._ +import scala.concurrent.duration._ +import scala.concurrent.ExecutionContext.Implicits.global +import org.junit.Assert.* + +object TestUtils: + def failsOrTimesOut[T](action: => T): Boolean = + val asyncAction = Future { + action + } + try + Await.result(asyncAction, 2000.millisecond) + catch + case _: Throwable => return true + return false + + def assertDeadlock[T](action: => T): Unit = + try + action + throw new AssertionError("No error detected.") + catch + case e: AssertionError => + assert(e.getMessage.contains("Deadlock"), "No deadlock detected.") + + def assertMaybeDeadlock[T](action: => T): Unit = + try + action + throw new AssertionError("No error detected.") + catch + case e: AssertionError => + assert(e.getMessage.contains("A possible deadlock!"), "No deadlock detected.") diff --git a/previous-exams/2022-midterm-solutions.pdf b/previous-exams/2022-midterm-solutions.pdf new file mode 100644 index 0000000000000000000000000000000000000000..f2f66ce13686cd9a68bde8cb76d4b1e416a944cd Binary files /dev/null and b/previous-exams/2022-midterm-solutions.pdf differ diff --git a/previous-exams/2022-midterm.pdf b/previous-exams/2022-midterm.pdf new file mode 100644 index 0000000000000000000000000000000000000000..b8de1de8dc42b407d59c9ab5a49b4a383aed851d Binary files /dev/null and b/previous-exams/2022-midterm.pdf differ