FunctionTracker
FunctionTracker computes the actual cost of evaluating a function with the given arguments and result.
Methods
Section titled “Methods”cost()
Section titled “cost()”cost(
options):number|undefined
cost returns the invocation cost, or undefined to defer to the estimator and standard rules.
Parameters
Section titled “Parameters”options
Section titled “options”Returns
Section titled “Returns”number | undefined