Module

Benchmark.Output

Package
purescript-benchmark
Repository
cyrbon/purescript-benchmark

This module is responsible for printing the result of a benchmark

#printResultOnCycle Source

printResultOnCycle :: forall m e s. SuiteM s e m (m Unit)

Subscribes to Suite's on("cycle" event and outputs String(event.target) to console.

#printResultTableOnComplete Source

printResultTableOnComplete :: forall m e s. SuiteM s e m (m Unit)

Accumulate benchmark results on each cycle, and onComplete print a table containing all results.