Fuzion Logo
fuzion-lang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.

bench

bench

§bench(f Function unit, milli_seconds i32)
 => 
f64
:
Any 

benchmark f for milli_seconds (1s warm up)

only completed iterations are counted, any iterations started before
the one second warmup has elapsed are not counted either

returns: iterations per second