File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed
Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -87,6 +87,9 @@ benchTableConfig :: LSM.TableConfig
8787benchTableConfig =
8888 LSM. defaultTableConfig {LSM. confFencePointerIndex = LSM. CompactIndex }
8989
90+ benchSalt :: LSM. Salt
91+ benchSalt = 4
92+
9093-------------------------------------------------------------------------------
9194-- Keys and values
9295-------------------------------------------------------------------------------
@@ -413,7 +416,7 @@ doSetup' gopts opts = do
413416
414417 let name = LSM. toSnapshotName " bench"
415418
416- LSM. withSession (mkTracer gopts) hasFS hasBlockIO (FS. mkFsPath [] ) $ \ session -> do
419+ LSM. withSession (mkTracer gopts) hasFS hasBlockIO benchSalt (FS. mkFsPath [] ) $ \ session -> do
417420 tbl <- LSM. newTableWith @ IO @ K @ V @ B (mkTableConfigSetup gopts opts benchTableConfig) session
418421
419422 forM_ (groupsOfN 256 [ 0 .. initialSize gopts ]) $ \ batch -> do
@@ -575,7 +578,7 @@ doRun gopts opts = do
575578
576579 let name = LSM. toSnapshotName " bench"
577580
578- LSM. withSession (mkTracer gopts) hasFS hasBlockIO (FS. mkFsPath [] ) $ \ session ->
581+ LSM. withSession (mkTracer gopts) hasFS hasBlockIO benchSalt (FS. mkFsPath [] ) $ \ session ->
579582 withLatencyHandle $ \ h -> do
580583 -- open snapshot
581584 -- In checking mode we start with an empty table, since our pure
You can’t perform that action at this time.
0 commit comments