Module

Benchmark.Suite.Immutable

Package
purescript-benchmark
Repository
cyrbon/purescript-benchmark

Contains functions that operate on Suite, which is an immutable representation of the Benchmark.js' suite object.

Currently, there are no plans to add functions that modify the immutable Suite as that would require cloning the Suite on each operation. For this reason, typically you want to use SuiteM and Benchmark.Suite.Monad, which provide a monadic interface to a mutable representation of the suite object (SuiteST s).

#runSuite Source

runSuite :: forall e s. Suite -> Eff (st :: ST s | e) Unit

Executes all benchmarks within the suite.