Benchmarking suite for the Scala collections
Extracted from the benchmarking subproject of the scala/collection-strawman repository.
There are four different benchmarks:
SeqBenchmarkbenchmarks the collections extendingimmutable.Seq:ArraySeq,List,LazyListandVector.SetBenchmarkbenchmarks the collections extendingimmutable.Set:BitSet,HashSet,LongSet,ListSetandTreeSet.MapBenchmarkbenchmarks the collections extendingimmutable.Map:HashMap,LongMapandTreeMap.SeqMapBenchmarkbenchmarks the collections extendingimmutable.SeqMap:ListMap,OrderedMapandVectorMap.
Run the time benchmarks using a command like the following (JMH flags can be specified, see sbt-jmh):
sbt benchmarks/jmh:run -rf json -t 1 -gc true .*