-
Notifications
You must be signed in to change notification settings - Fork 331
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
perf: Add low-level memory ops benchmark (#3551)
``` $ bazel run //rs/memory_tracker:memory_ops_bench -- par_iter/threads:8 mmap/par_iter/threads:8/ops:100 time: [1.2654 ms 1.2795 ms 1.2949 ms] thrpt: [77.227 Kelem/s 78.157 Kelem/s 79.028 Kelem/s] mmap_mprotect/par_iter/threads:8/ops:100 time: [1.8608 ms 1.8774 ms 1.8937 ms] thrpt: [52.808 Kelem/s 53.264 Kelem/s 53.740 Kelem/s] mmap_mprotect_read/par_iter/threads:8/ops:100 time: [4.9503 ms 4.9797 ms 5.0087 ms] thrpt: [19.965 Kelem/s 20.081 Kelem/s 20.201 Kelem/s] mmap_mprotect_write/par_iter/threads:8/ops:100 time: [9.0569 ms 9.1043 ms 9.1522 ms] thrpt: [10.926 Kelem/s 10.984 Kelem/s 11.041 Kelem/s] mmap_mprotect_read_write/par_iter/threads:8/ops:100 time: [19.574 ms 19.694 ms 19.815 ms] thrpt: [5.0466 Kelem/s 5.0778 Kelem/s 5.1087 Kelem/s] mmap_read_write/par_iter/threads:8/ops:100 time: [19.455 ms 19.597 ms 19.733 ms] thrpt: [5.0676 Kelem/s 5.1028 Kelem/s 5.1400 Kelem/s] file_read_write/par_iter/threads:8/ops:100 time: [315.32 µs 317.05 µs 318.70 µs] thrpt: [313.77 Kelem/s 315.41 Kelem/s 317.14 Kelem/s] ```
- Loading branch information
1 parent
a21f470
commit 7cd54f4
Showing
11 changed files
with
382 additions
and
7 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
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
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
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
Oops, something went wrong.