Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
»

bench

bench

(f Function unit, d time.duration, warm_up time.duration)
 => 
f64
[Contains abstract features]
benchmark f by iterating it for nano_seconds

only completed iterations are counted, any iterations started before
warm_up_nano_seconds has elapsed are not counted either

returns: iterations per second
0.094dev (2025-06-18 15:08:51 GIT hash 89cffc23ae669b0898a5564fefbf793fcb8e5ca7 built by fridi@fzen)