Skip to content

Commit 52d9d21

Browse files
committed
Fix
1 parent 4c71846 commit 52d9d21

File tree

1 file changed

+2
-0
lines changed
  • plutus-core/cost-model/budgeting-bench/Benchmarks

1 file changed

+2
-0
lines changed

plutus-core/cost-model/budgeting-bench/Benchmarks/Values.hs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ newPolicyId gen = do
9797
-- generated bytestring is going to be larger than Value.maxKeyLen, because we
9898
-- append a counter integer to ensure uniqueness. This is acceptable for benchmarking
9999
-- purposes, as we're interested in the worst-case performance.
100+
-- Actually, this wouldn't be acceptable if we were to measure based on the size of the
101+
-- keys, because we would want to view how key size affects performance!
100102
newTokenName :: StateGenM StdGen -> BenchState TokenName
101103
newTokenName gen = do
102104
bs <- uniformByteStringM Value.maxKeyLen gen

0 commit comments

Comments
 (0)