Skip to content

Commit

Permalink
[Benchmark] Reduce the number of benchmarks (#6328)
Browse files Browse the repository at this point in the history
  • Loading branch information
effectfully authored Jul 30, 2024
1 parent 613ab5f commit ffe41b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions plutus-benchmark/lists/bench/Bench.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ benchmarks ctx =
mkBMsForSort name f =
bgroup name $ sizesForSort <&> \n ->
bench (show n) $ benchTermCek ctx (f n)
sizesForSort = [10, 20..500]
sizesForSort = [50, 100..300]
mkBMsForSum name f =
bgroup name $ sizesForSum <&> \n ->
bench (show n) $ benchTermCek ctx (f [1..n])
sizesForSum = [10, 50, 100, 500, 1000, 5000, 10000]
sizesForSum = [100, 500, 1000, 2500, 5000]

main :: IO ()
main = do
Expand Down
3 changes: 0 additions & 3 deletions plutus-benchmark/nofib/bench/Shared.hs
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,8 @@ mkBenchMarks (benchClausify, benchKnights, benchPrime, benchQueens) = [
, bench "8x8" $ benchKnights 100 8
]
, bgroup "primetest" [ bench "05digits" $ benchPrime Prime.P5
, bench "08digits" $ benchPrime Prime.P8
, bench "10digits" $ benchPrime Prime.P10
, bench "20digits" $ benchPrime Prime.P20
, bench "30digits" $ benchPrime Prime.P30
, bench "40digits" $ benchPrime Prime.P40
, bench "50digits" $ benchPrime Prime.P50
-- Larger primes are available in Primes.hs, but may take a long time.
]
Expand Down

0 comments on commit ffe41b8

Please sign in to comment.