-
Notifications
You must be signed in to change notification settings - Fork 3
Performance
mrbrdo edited this page Oct 19, 2014
·
5 revisions
OUTDATED
Compiled
Total: 499 OK: 499 KO: 0 Crash: 0 Time: 0.009083 seconds
mruby interpreted
Total: 499 OK: 499 KO: 0 Crash: 0 Time: 0.566691 seconds
Pretty good :-)
Right now the performance of method calling should be improved. But we can see some performance improvement with tight loops (note I use while because each will use method calling on Proc).
i = 0 while i < 1000000000 5 * 1.7 i += 1 end puts i
Compiled
real 0m12.952s
Mruby interpreter
real 1m14.385s