For the following parameters:
- eps = 0.005
- delta = 1E-8
- seed = 1
- heavyHittersPct: 0.2 (CMS variants) / heavyHittersCount: 1000 (SketchMap)
Input data: 100 small numbers, i.e. the sequence (1, 2, ..., 100).
Results:
CMS
(hardcodedK=Long
): 354,000 ns (details) / previous benchmark:160k/s
CMS[Long]
(*): 360,000 ns (details) / previous benchmark:160k/s
CMS[BigInt]
(*): 912,000 ns (details) / previous benchmark:65k/s
SketchMap[Long, Long]
: 38,382,000 ns (details)SketchMap[BigInt, Long]
: 38,377,000 ns (details) / previous benchmark:0.3k/s
(*) denotes new, generic CMS implementation
Same parameters as above but different input data. This benchmark, when run against BigInt
, is expected to run slower than benchmark variant A above because BigInt
operations become slower the larger the numbers represented by a BigInt
are.
Input data: large(r) numbers, i.e. randomly drawn numbers from a 2^2048
address space.
Because of the input data characteristics this benchmark variant cannot be run for
Long
.
Results:
CMS[BigInt]
(*): 3,067,000 ns (details) / previous benchmark:22k/s
SketchMap[BigInt, Long]
: 119,841,000 ns (details)
(*) denotes new, generic CMS implementation
Several benchmarks logged warnings and/or errors similar to the following:
WARNING: Hotspot compilation occurred during timing. Depending on the scope of the benchmark, this might significantly impact results. Consider running with a longer warmup.
WARNING: Hotspot compilation occurred after warmup, but outside of timing. Depending on the scope of the benchmark, this might significantly impact results. Consider running with a longer warmup.
WARNING: GC occurred during timing. Depending on the scope of the benchmark, this might significantly impact results. Consider running with a larger heap size.
- MacBook Pro Retina (Late 2013), 2.3 GHz Intel Core i7, 16 GB RAM
- Mac OS X 10.9.5
- Oracle Java 7 (1.7.0_55)
- IntelliJ IDEA 13.1