Timing
Generated from the engine's own definition: compute-engine's symbol, which we neither extend nor document by hand. No examples yet — the crosswalk is the reason it has a page.
Timing(expr) evaluates expr and returns a pair: the time the evaluation took, in microseconds, then the value; read them as Timing(expr)[1] and Timing(expr)[2]. Timing(expr, n) evaluates expr n times (at least 3), drops the fastest and the slowest run, and returns the mean time of the others
Timing(value, repeat: integer?) -> tuple<number, value>as compute-engine declares itTyped signatures
| Type | Package | Applies |
|---|---|---|
(value, repeat: integer?) -> tuple<number, value> | compute-engine | always |