mirror of
https://github.com/Bodigrim/tasty-bench.git
synced 2024-09-11 08:45:33 +03:00
Clarify warning about concurrent execution
This commit is contained in:
parent
956bd87e28
commit
396e2ccd34
@ -785,7 +785,7 @@ instance IsTest Benchmarkable where
|
|||||||
1 -> do
|
1 -> do
|
||||||
est <- measureTimeUntil (lookupOption opts) (lookupOption opts) b
|
est <- measureTimeUntil (lookupOption opts) (lookupOption opts) b
|
||||||
pure $ testPassed $ show (Response est (lookupOption opts) (lookupOption opts))
|
pure $ testPassed $ show (Response est (lookupOption opts) (lookupOption opts))
|
||||||
_ -> pure $ testFailed "Benchmarks should be run in a single-threaded mode (--jobs 1)"
|
_ -> pure $ testFailed "Benchmarks must not be run concurrently. Please pass --jobs 1 and/or avoid +RTS -N."
|
||||||
|
|
||||||
-- | Attach a name to 'Benchmarkable'.
|
-- | Attach a name to 'Benchmarkable'.
|
||||||
--
|
--
|
||||||
|
Loading…
Reference in New Issue
Block a user