Skip to content

Commit

Permalink
Fix benchmark tables format
Browse files Browse the repository at this point in the history
  • Loading branch information
Artem Labazin authored and Artem Labazin committed Apr 17, 2019
1 parent bb15e90 commit d42677c
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions benchmarks/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,33 +96,33 @@ In this test we have simultaneous write and read operations. There 3 threads to

> **NOTICE:** `tape` has a "good" score, because of fast reads (around **30000**)...but it is rash reads of `NULL`s. Take a look at the write score - nearly **1600**, so the queue is almost always empty.
| Benchmark | Description | Mode | Score | Error | Units |
|:---------------------------------------------------------------------------------------------|:-------------:|:-----:|------------:|----------:|:------|
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | write + read | thrpt | 429808.465 | 21900.206 | ops/s |
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | read | thrpt | 214922.413 | 10854.872 | ops/s |
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | write | thrpt | 214886.052 | 11046.534 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | write + read | thrpt | 19979.111 | 1813.331 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | read | thrpt | 9979.437 | 906.492 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | write | thrpt | 9992.674 | 906.847 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | write + read | thrpt | 32328.193 | 1500.906 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | read | thrpt | 30704.119 | 1413.401 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | write | thrpt | 1624.075 | 97.712 | ops/s |
| Benchmark | Description | Mode | Score | Error | Units |
|:---------------------------------------------------------------------------------------------|:------------:|:-----:|------------:|----------:|:------|
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | write + read | thrpt | 429808.465 | 21900.206 | ops/s |
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | read | thrpt | 214922.413 | 10854.872 | ops/s |
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | write | thrpt | 214886.052 | 11046.534 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | write + read | thrpt | 19979.111 | 1813.331 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | read | thrpt | 9979.437 | 906.492 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | write | thrpt | 9992.674 | 906.847 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | write + read | thrpt | 32328.193 | 1500.906 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | read | thrpt | 30704.119 | 1413.401 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | write | thrpt | 1624.075 | 97.712 | ops/s |

**HDD** slow VPS machine:

> **NOTICE:** `tape` has a "good" score, because of fast reads (around **6500**)...but it is rash reads of `NULL`s. Take a look at the write score - nearly **600**, so the queue is almost always empty.
| Benchmark | Description | Mode | Score | Error | Units |
|:---------------------------------------------------------------------------------------------|:-------------:|:-----:|------ -----:|----------:|:------|
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | write + read | thrpt | 125998.278 | 11024.132 | ops/s |
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | read | thrpt | 63031.627 | 5524.542 | ops/s |
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | write | thrpt | 62966.651 | 5500.945 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | write + read | thrpt | 6597.817 | 381.055 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | read | thrpt | 3305.614 | 155.694 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | write | thrpt | 3292.204 | 250.553 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | write + read | thrpt | 7104.478 | 785.961 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | read | thrpt | 6511.880 | 755.388 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | write | thrpt | 592.598 | 33.931 | ops/s |
| Benchmark | Description | Mode | Score | Error | Units |
|:---------------------------------------------------------------------------------------------|:------------:|:-----:|------------:|----------:|:------|
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | write + read | thrpt | 125998.278 | 11024.132 | ops/s |
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | read | thrpt | 63031.627 | 5524.542 | ops/s |
| [batched](./src/main/java/org/infobip/lib/popout/benchmarks/BatchedReadWriteBenchmarks.java) | write | thrpt | 62966.651 | 5500.945 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | write + read | thrpt | 6597.817 | 381.055 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | read | thrpt | 3305.614 | 155.694 | ops/s |
| [synced](./src/main/java/org/infobip/lib/popout/benchmarks/SyncedReadWriteBenchmarks.java) | write | thrpt | 3292.204 | 250.553 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | write + read | thrpt | 7104.478 | 785.961 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | read | thrpt | 6511.880 | 755.388 | ops/s |
| [tape](./src/main/java/org/infobip/lib/popout/benchmarks/TapeReadWriteBenchmarks.java) | write | thrpt | 592.598 | 33.931 | ops/s |

## How to setup the environment

Expand Down

0 comments on commit d42677c

Please sign in to comment.