Time a function: Difference between revisions
m
→{{header|Factor}}: update to Factor 0.98; add works with template; add USING: ; use output template
m (→{{header|Factor}}: update to Factor 0.98; add works with template; add USING: ; use output template) |
|||
Line 973:
=={{header|Factor}}==
{{works with|Factor|0.98}}
<lang factor>[ 10000 iota sum drop ] time</lang>▼
<lang factor>USING: kernel sequences tools.time ;
Running time: 0.002888635 seconds▼
{{out}}
Additional information was collected.▼
<pre>
dispatch-stats. - Print method dispatch statistics▼
gc-events. - Print all garbage collection events▼
gc-stats. - Print breakdown of different garbage collection events▼
gc-summary. - Print aggregate garbage collection statistics▼
</pre>
=={{header|Forth}}==
|