fuzion-lang.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.duration.seconds 1) say (time.stopwatch (() -> f))
What are effects?
last changed: 2024-07-01
next: Idiom # 133: Case-insensitive string contains