Time a function: Difference between revisions
m
→{{header|RPL}}
(add RPL) |
m (→{{header|RPL}}) |
||
Line 2,334:
=={{header|RPL}}==
In its first versions, RPL did not provide user access to system clock - but
{| class="wikitable"
! RPL code
Line 2,364 ⟶ 2,363:
</pre>
Yes, more than 6 seconds to loop 1000 times is quite slow.
=={{header|Ruby}}==
Ruby's Benchmark module provides a way to generate nice reports (numbers are in seconds):
|