Skip to content

0.1.0

Compare
Choose a tag to compare
@penemue penemue released this 30 Jan 00:00
· 58 commits to master since this release

Benchmarks results

Building the queue from collection of random elements:

Benchmark                                   Mode  Cnt   Score   Error   Units
JavaQueueRandomBenchmark.heapify           thrpt   20   1.812 ± 0.041  ops/ms
KeapQueueRandomBenchmark.heapify           thrpt   20   3.315 ± 0.019  ops/ms

Basic queue operations with random elements:

Benchmark                                   Mode  Cnt   Score   Error   Units
JavaQueueRandomBenchmark.offer             thrpt   20   3.652 ± 0.075  ops/us
JavaQueueRandomBenchmark.peek              thrpt   20  81.031 ± 0.488  ops/us
JavaQueueRandomBenchmark.poll              thrpt   20   4.267 ± 0.074  ops/us
KeapQueueRandomBenchmark.offer             thrpt   20   3.349 ± 0.077  ops/us
KeapQueueRandomBenchmark.peek              thrpt   20  82.927 ± 0.484  ops/us
KeapQueueRandomBenchmark.poll              thrpt   20  11.522 ± 0.264  ops/us

Offering ordered elements:

Benchmark                                   Mode  Cnt   Score   Error   Units
JavaQueueOrderedBenchmark.offerDecreasing  thrpt   20   5.506 ± 0.071  ops/us
JavaQueueOrderedBenchmark.offerIncreasing  thrpt   20  31.228 ± 0.363  ops/us
KeapQueueOrderedBenchmark.offerDecreasing  thrpt   20   8.318 ± 0.048  ops/us
KeapQueueOrderedBenchmark.offerIncreasing  thrpt   20   7.539 ± 0.099  ops/us

Maven Central