package eval
- Alphabetic
- Public
- Protected
Value Members
- object MapsEval extends App
A small evaluation of the performance of the different map implementations supported by Scala and Java.
A small evaluation of the performance of the different map implementations supported by Scala and Java. The evaluation is done w.r.t. typical workloads found in OPAL.
Fill maps... AnyRefMap.add: 0,1480 s Java ConcurrentHashMap.add: 0,1276 s Java HashMap.add: 0,0987 s HashMap.add: 0,5341 s TreeMap.add: 1,1166 s Query maps... AnyRefMap.get: 1,8579 s Java ConcurrentHashMap.get: 1,6284 s Java HashMap.get: 1,3532 s immutable HashMap.get: 1,8304 s immutable TreeMap.get: 19,0907 s
- object SetsEval extends App
A small evaluation of the performance of the different map implementations supported by Scala and Java.
A small evaluation of the performance of the different map implementations supported by Scala and Java. The evaluation is done w.r.t. typical workloads found in OPAL.
Fill maps... AnyRefMap.add: 0,1480 s OpenHashMap.add: 0,1233 s Java ConcurrentHashMap.add: 0,1276 s Java HashMap.add: 0,0987 s HashMap.add: 0,5341 s TreeMap.add: 1,1166 s Query maps... AnyRefMap.get: 1,8579 s OpenHashMap.get: 1,6853 s Java ConcurrentHashMap.get: 1,6284 s Java HashMap.get: 1,3532 s immutable HashMap.get: 1,8304 s immutable TreeMap.get: 19,0907 s