Optional opts: FnOptionstask name
Task options
Optional resultthe result object
Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise.
change the result object values
Generated using TypeDoc
A class that represents each benchmark task in Tinybench. It keeps track of the results, name, Bench instance, the task function and the number times the task function has been executed.