-
Notifications
You must be signed in to change notification settings - Fork 472
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mkbench: emit and parse write amplification in write benchmarks
To better understand the write amplification over the duration of a write-throughput benchmark, emit the write amp after each interval. Update `mkbench` to parse the write amplification and expose in the output files. Make `(*Metrics).Total()` return a `LevelMetrics` pointer, to allow calling `WriteAmp()`, which has a pointer receiver.
- Loading branch information
Showing
9 changed files
with
53 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-227 Bytes
(97%)
internal/mkbench/testdata/data/20211027/pebble/write/size=1024/run_1/1.log.gz
Binary file not shown.
Binary file modified
BIN
-286 Bytes
(96%)
internal/mkbench/testdata/data/20211027/pebble/write/size=1024/run_1/2.log.gz
Binary file not shown.
Binary file modified
BIN
-289 Bytes
(96%)
internal/mkbench/testdata/data/20211028/pebble/write/size=1024/run_1/1.log.gz
Binary file not shown.
Binary file modified
BIN
-302 Bytes
(96%)
internal/mkbench/testdata/data/20211028/pebble/write/size=1024/run_1/2.log.gz
Binary file not shown.
4 changes: 2 additions & 2 deletions
4
...rnal/mkbench/testdata/write-throughput/20211027-pebble-write-size=1024-run_1-summary.json
Large diffs are not rendered by default.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
...rnal/mkbench/testdata/write-throughput/20211028-pebble-write-size=1024-run_1-summary.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters