- :floating
- or :nothing
benchmark
benchmark given code
Parameters
benchmark action :block :bytecode
Attributes
get | get benchmark time |
Returns
Examples
copybenchmark [ ; some process that takes some time loop 1..10000 => prime? ] ; [benchmark] time: 0.065s
copybenchmark.get [ loop 1..10000 => prime? ] ; => 0.3237628936767578