Skip to content

Commit

Permalink
Benchmark fanout with 20+ assets
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo committed Jan 24, 2023
1 parent 72bd50c commit 5c32308
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hydra-node/exe/tx-cost/TxCost.hs
Original file line number Diff line number Diff line change
Expand Up @@ -190,8 +190,8 @@ computeAbortCost =

computeFanOutCost :: IO [(NumUTxO, TxSize, MemUnit, CpuUnit, Lovelace)]
computeFanOutCost = do
interesting <- catMaybes <$> mapM compute [1, 2, 3, 5, 10, 50]
limit <- maybeToList . getFirst <$> foldMapM (fmap First . compute) [100, 99 .. 51]
interesting <- catMaybes <$> mapM compute [1, 2, 3, 5, 10, 20]
limit <- maybeToList . getFirst <$> foldMapM (fmap First . compute) [100, 99 .. 21]
pure $ interesting <> limit
where
compute numElems = do
Expand Down

0 comments on commit 5c32308

Please sign in to comment.