A standard library to time pieces of code is required.
timeit:init // initializes the timer
0 while dup 1000 < do
"Hello, world!\n" puts
inc end drop
timeit:_end // returns the time elapsed and deinitializes the timer
... // do something with the time value
A standard library to time pieces of code is required.