-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ac7252c
commit 4bb3804
Showing
1 changed file
with
23 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
## Microbenchmark | ||
|
||
Here are instructions on running and tuning the `microbenchmark-pages` target. | ||
|
||
```bash | ||
# On Windows | ||
% cmake src -B build | ||
% cmake --build build --config Release | ||
% .\build\Release\microbenchmark-pages.exe | ||
|
||
# On other platforms | ||
% cmake src -B build -DCMAKE_BUILD_TYPE=Release | ||
% cmake --build build | ||
% .\build\microbenchmark-pages.exe | ||
|
||
# TODO: Maybe these can be merged into one, just needs testing. | ||
``` | ||
|
||
Settings can be set using CMake at configuration time (the first step). | ||
|
||
```bash | ||
% cmake src -B build -DMBP_OBJECT_SIZE=32 -DMBP_OBJECT_DISTANCE=4096 | ||
``` |