flang.dev — The Fuzion Language Portal
JavaScript seems to be disabled. Functionality is limited.
Fuzion
•
Idioms
•
Idiom # 132: Measure duration of procedure execution
Idiom # 132: Measure duration of procedure execution
See
programming-idioms.org
:
Code
time.stopwatch (() -> f)
What are effects?
Running Example
ex132 is f => time.nano.sleep (time.durations.seconds 1) say (time.stopwatch (() -> f))
What are effects?
next: Idiom # 133: Case-insensitive string contains