A benchmark.
Unique key for a (benchmark, param) tuple in a Plan.
Unique key for a (benchmark, param) tuple in a Plan.
Universal equality holds; it can be used as a map key.
Given a A
, set a B
up and provide a Teardown.
A suite of benchmarks.
A suite of benchmarks.
If you want to use this suite in the GUI, you'll need a japgolly.scalajs.benchmark.gui.GuiSuite which combines this with some extra data needed just for the GUI.
Benchmarks take parameter data (or if they don't need any, then they'll take Unit
).
To run a suite of benchmarks (without using a GUI), combine this with your desired param values to form a Plan,
and then pass it to one of the run methods in japgolly.scalajs.benchmark.engine.Engine.
Perform some effect to teardown something setup via Setup.
A benchmark. A single procedure to measure.
A param that alters the benchmark / data used by the benchmark.