Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add benchmark #138

Merged
merged 1 commit into from
Sep 10, 2024
Merged

ci: add benchmark #138

merged 1 commit into from
Sep 10, 2024

Conversation

KKould
Copy link
Collaborator

@KKould KKould commented Sep 6, 2024

No description provided.

@KKould KKould requested a review from ethe September 6, 2024 08:31
@KKould KKould force-pushed the ci/benchmark branch 9 times, most recently from 17459fe to 3f59742 Compare September 6, 2024 15:43
Copy link

github-actions bot commented Sep 9, 2024

ReadBenchmark: +--------------------------------------------+-------+---------+

WriteBenchmark: +-------------------------------+--------+---------+

Copy link

github-actions bot commented Sep 9, 2024

ReadBenchmark:

WriteBenchmark:

Copy link

github-actions bot commented Sep 9, 2024

ReadBenchmark:

WriteBenchmark:

@KKould KKould force-pushed the ci/benchmark branch 2 times, most recently from c19e326 to 9d91a0c Compare September 9, 2024 09:10
Copy link

github-actions bot commented Sep 9, 2024

ReadBenchmark:

WriteBenchmark:

Copy link

github-actions bot commented Sep 9, 2024

ReadBenchmark: +--------------------------------------------+-------+---------+\n| | tonbo | rocksdb |\n+==============================================================+\n| random range reads | 0ms | 0ms |\n|--------------------------------------------+-------+---------|\n| random range reads | 0ms | 0ms |\n|--------------------------------------------+-------+---------|\n| random range projection reads | 1ms | 0ms |\n|--------------------------------------------+-------+---------|\n| random range projection reads | 1ms | 0ms |\n|--------------------------------------------+-------+---------|\n| random range projection reads (4 threads) | 1ms | 0ms |\n|--------------------------------------------+-------+---------|\n| random range projection reads (8 threads) | 1ms | 0ms |\n|--------------------------------------------+-------+---------|\n| random range projection reads (16 threads) | 1ms | 0ms |\n|--------------------------------------------+-------+---------|\n| random range projection reads (32 threads) | 1ms | 0ms |\n+--------------------------------------------+-------+---------+

WriteBenchmark: +-------------------------------+--------+---------+\n| | tonbo | rocksdb |\n+==================================================+\n| bulk load | 6462ms | 9583ms |\n|-------------------------------+--------+---------|\n| individual writes | 8354ms | 10617ms |\n|-------------------------------+--------+---------|\n| individual writes (4 threads) | 9470ms | 10566ms |\n|-------------------------------+--------+---------|\n| individual writes (8 threads) | 8492ms | 10537ms |\n|-------------------------------+--------+---------|\n| batch writes | 8621ms | 7128ms |\n|-------------------------------+--------+---------|\n| batch writes (4 threads) | 7733ms | 7109ms |\n|-------------------------------+--------+---------|\n| batch writes (8 threads) | 8654ms | 7143ms |\n|-------------------------------+--------+---------|\n| removals | 3130ms | 3848ms |\n+-------------------------------+--------+---------+

Copy link

github-actions bot commented Sep 9, 2024

+--------------------------------------------+-------+---------+
| | tonbo | rocksdb |
+==============================================================+
| random range reads | 0ms | 0ms |
|--------------------------------------------+-------+---------|
| random range reads | 0ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads | 1ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads | 1ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads (4 threads) | 1ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads (8 threads) | 1ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads (16 threads) | 1ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads (32 threads) | 1ms | 0ms |
+--------------------------------------------+-------+---------+

Copy link

github-actions bot commented Sep 9, 2024

+-------------------------------+--------+---------+
| | tonbo | rocksdb |
+==================================================+
| bulk load | 6508ms | 9437ms |
|-------------------------------+--------+---------|
| individual writes | 8123ms | 10476ms |
|-------------------------------+--------+---------|
| individual writes (4 threads) | 9378ms | 10597ms |
|-------------------------------+--------+---------|
| individual writes (8 threads) | 8368ms | 10617ms |
|-------------------------------+--------+---------|
| batch writes | 8476ms | 7141ms |
|-------------------------------+--------+---------|
| batch writes (4 threads) | 7641ms | 7082ms |
|-------------------------------+--------+---------|
| batch writes (8 threads) | 8482ms | 7062ms |
|-------------------------------+--------+---------|
| removals | 3108ms | 3807ms |
+-------------------------------+--------+---------+

Copy link

github-actions bot commented Sep 9, 2024

+--------------------------------------------+-------+---------+
| | tonbo | rocksdb |
+==============================================================+
| random range reads | 0ms | 0ms |
|--------------------------------------------+-------+---------|
| random range reads | 0ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads | 1ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads | 1ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads (4 threads) | 1ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads (8 threads) | 1ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads (16 threads) | 1ms | 0ms |
|--------------------------------------------+-------+---------|
| random range projection reads (32 threads) | 1ms | 0ms |
+--------------------------------------------+-------+---------+

Copy link

github-actions bot commented Sep 9, 2024

+-------------------------------+---------+---------+
| | tonbo | rocksdb |
+===================================================+
| bulk load | 6314ms | 9488ms |
|-------------------------------+---------+---------|
| individual writes | 12012ms | 10395ms |
|-------------------------------+---------+---------|
| individual writes (4 threads) | 9347ms | 10501ms |
|-------------------------------+---------+---------|
| individual writes (8 threads) | 8281ms | 10515ms |
|-------------------------------+---------+---------|
| batch writes | 8572ms | 7112ms |
|-------------------------------+---------+---------|
| batch writes (4 threads) | 7736ms | 7124ms |
|-------------------------------+---------+---------|
| batch writes (8 threads) | 8649ms | 7151ms |
|-------------------------------+---------+---------|
| removals | 3105ms | 3825ms |
+-------------------------------+---------+---------+

Copy link

github-actions bot commented Sep 9, 2024

Read:

|                                            | tonbo    | rocksdb |
+=================================================================+
| random range reads                         | 132657ms | 37949ms |
|--------------------------------------------+----------+---------|
| random range reads                         | 120071ms | 36496ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 53682ms  | 36609ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 55558ms  | 36524ms |
|--------------------------------------------+----------+---------|
| random range projection reads (4 threads)  | 38887ms  | 36652ms |
|--------------------------------------------+----------+---------|
| random range projection reads (8 threads)  | 37313ms  | 36667ms |
|--------------------------------------------+----------+---------|
| random range projection reads (16 threads) | 36485ms  | 35168ms |
|--------------------------------------------+----------+---------|
| random range projection reads (32 threads) | 32200ms  | 35350ms |
+--------------------------------------------+----------+---------+

Copy link

github-actions bot commented Sep 9, 2024

Write:

```|                               | tonbo  | rocksdb |
```+==================================================+
```| bulk load                     | 6491ms | 9675ms  |
```|-------------------------------+--------+---------|
```| individual writes             | 8681ms | 10647ms |
```|-------------------------------+--------+---------|
```| individual writes (4 threads) | 9400ms | 10694ms |
```|-------------------------------+--------+---------|
```| individual writes (8 threads) | 8568ms | 10628ms |
```|-------------------------------+--------+---------|
```| batch writes                  | 8667ms | 7285ms  |
```|-------------------------------+--------+---------|
```| batch writes (4 threads)      | 7797ms | 7155ms  |
```|-------------------------------+--------+---------|
```| batch writes (8 threads)      | 8681ms | 7166ms  |
```|-------------------------------+--------+---------|
```| removals                      | 3185ms | 3850ms  |
```+-------------------------------+--------+---------+

@KKould KKould force-pushed the ci/benchmark branch 2 times, most recently from a826feb to cd8575b Compare September 9, 2024 10:46
Copy link

github-actions bot commented Sep 9, 2024

Read:

|                                            | tonbo    | rocksdb |
+=================================================================+
| random range reads                         | 118708ms | 37134ms |
|--------------------------------------------+----------+---------|
| random range reads                         | 111157ms | 37081ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 49460ms  | 37115ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 49805ms  | 37245ms |
|--------------------------------------------+----------+---------|
| random range projection reads (4 threads)  | 38224ms  | 37275ms |
|--------------------------------------------+----------+---------|
| random range projection reads (8 threads)  | 37473ms  | 37180ms |
|--------------------------------------------+----------+---------|
| random range projection reads (16 threads) | 35169ms  | 35633ms |
|--------------------------------------------+----------+---------|
| random range projection reads (32 threads) | 32340ms  | 35655ms |
+--------------------------------------------+----------+---------+

Copy link

github-actions bot commented Sep 9, 2024

Write:

|                               | tonbo  | rocksdb |
+==================================================+
| bulk load                     | 6487ms | 9615ms  |
|-------------------------------+--------+---------|
| individual writes             | 8394ms | 10726ms |
|-------------------------------+--------+---------|
| individual writes (4 threads) | 9371ms | 10849ms |
|-------------------------------+--------+---------|
| individual writes (8 threads) | 8537ms | 10782ms |
|-------------------------------+--------+---------|
| batch writes                  | 8570ms | 7288ms  |
|-------------------------------+--------+---------|
| batch writes (4 threads)      | 7750ms | 7255ms  |
|-------------------------------+--------+---------|
| batch writes (8 threads)      | 8641ms | 7325ms  |
|-------------------------------+--------+---------|
| removals                      | 3180ms | 3913ms  |
+-------------------------------+--------+---------+

Copy link

github-actions bot commented Sep 9, 2024

Read:

|                                            | tonbo    | rocksdb |
+=================================================================+
| random range reads                         | 130436ms | 38185ms |
|--------------------------------------------+----------+---------|
| random range reads                         | 120612ms | 38135ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 50569ms  | 38045ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 50615ms  | 38229ms |
|--------------------------------------------+----------+---------|
| random range projection reads (4 threads)  | 38190ms  | 38202ms |
|--------------------------------------------+----------+---------|
| random range projection reads (8 threads)  | 37263ms  | 38085ms |
|--------------------------------------------+----------+---------|
| random range projection reads (16 threads) | 34549ms  | 36565ms |
|--------------------------------------------+----------+---------|
| random range projection reads (32 threads) | 32516ms  | 36428ms |
+--------------------------------------------+----------+---------+

Copy link

github-actions bot commented Sep 9, 2024

Write:

|                               | tonbo  | rocksdb |
+==================================================+
| bulk load                     | 6415ms | 9571ms  |
|-------------------------------+--------+---------|
| individual writes             | 8308ms | 10609ms |
|-------------------------------+--------+---------|
| individual writes (4 threads) | 9395ms | 10653ms |
|-------------------------------+--------+---------|
| individual writes (8 threads) | 8443ms | 10579ms |
|-------------------------------+--------+---------|
| batch writes                  | 8524ms | 7158ms  |
|-------------------------------+--------+---------|
| batch writes (4 threads)      | 7628ms | 7097ms  |
|-------------------------------+--------+---------|
| batch writes (8 threads)      | 8593ms | 7115ms  |
|-------------------------------+--------+---------|
| removals                      | 3180ms | 3893ms  |
+-------------------------------+--------+---------+

Copy link

Read:

+--------------------------------------------+----------+---------+
|                                            | tonbo    | rocksdb |
+=================================================================+
| random range reads                         | 124448ms | 37718ms |
|--------------------------------------------+----------+---------|
| random range reads                         | 122719ms | 37737ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 51329ms  | 37726ms |
|--------------------------------------------+----------+---------|
| random range projection reads              | 51752ms  | 37612ms |
|--------------------------------------------+----------+---------|
| random range projection reads (4 threads)  | 40338ms  | 37789ms |
|--------------------------------------------+----------+---------|
| random range projection reads (8 threads)  | 36343ms  | 37711ms |
|--------------------------------------------+----------+---------|
| random range projection reads (16 threads) | 33768ms  | 36279ms |
|--------------------------------------------+----------+---------|
| random range projection reads (32 threads) | 31381ms  | 36455ms |
+--------------------------------------------+----------+---------+

Copy link

Write:

+-------------------------------+--------+---------+
|                               | tonbo  | rocksdb |
+==================================================+
| bulk load                     | 6390ms | 9559ms  |
|-------------------------------+--------+---------|
| individual writes             | 8308ms | 10686ms |
|-------------------------------+--------+---------|
| individual writes (4 threads) | 9365ms | 10734ms |
|-------------------------------+--------+---------|
| individual writes (8 threads) | 8371ms | 10714ms |
|-------------------------------+--------+---------|
| batch writes                  | 8527ms | 7168ms  |
|-------------------------------+--------+---------|
| batch writes (4 threads)      | 7717ms | 7100ms  |
|-------------------------------+--------+---------|
| batch writes (8 threads)      | 8627ms | 7115ms  |
|-------------------------------+--------+---------|
| removals                      | 3171ms | 3850ms  |
+-------------------------------+--------+---------+

@ethe ethe merged commit dffca5f into main Sep 10, 2024
10 checks passed
@ethe ethe deleted the ci/benchmark branch September 10, 2024 06:49
@KKould KKould linked an issue Oct 9, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

CI Test: Performance regression testing
2 participants