Skip to content

Commit

Permalink
[Benchmark] Reduce the number of benchmarks (IntersectMBO#6328)
Browse files Browse the repository at this point in the history
  • Loading branch information
effectfully authored and v0d1ch committed Dec 6, 2024
1 parent b2d7cd9 commit 28b5fd3
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 28b5fd3

Please sign in to comment.