forked from open-s4c/benchkit
-
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.
[LevelDB] Add freshdb_for_each_run variable (open-s4c#51)
Add `freshdb_for_each_run` bool variable. If False, has same behavior as previously. Otherwise, on each run the database is reset and refilled with data. Additionally, changes the `num` variable for certain benchmarks (fillseq, overwrite, etc), in order to avoid durations too variable according to number of threads. `num` now refers to the total number of operations done by *all threads*. I.e., each thread runs `num // nb_threads` operations. Signed-off-by: Rafael Chehab <[email protected]>
- Loading branch information
Showing
1 changed file
with
23 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