Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
phadej committed Apr 25, 2024
1 parent 59d30e8 commit cc025a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bench/macro/lsm-tree-bench-wp8.hs
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ doDryRun gopts opts = do
let q = n * (1 - ((d - 1) / d) ** (n - 1))

printf "Probability of a duplicate: %5f\n" p
printf "Expected number of duplicate: %5f\n" q
printf "Expected number of duplicate: %5f out of %f\n" q n

-- TODO: open session to measure that as well.
let initGen = SM.mkSMGen opts.seed
Expand Down Expand Up @@ -257,7 +257,7 @@ doDryRun gopts opts = do
| k <- inserts
]

evaluate $ force (batch1, batch2)
_ <- evaluate $ force (batch1, batch2)

return nextG

Expand Down

0 comments on commit cc025a3

Please sign in to comment.