REBOL 3.0

Relative speeds from compiler optimizations

Carl Sassenrath, CTO
REBOL Technologies
20-Feb-2011 19:29 GMT

Article #0352
Main page || Index || Prior Article [0351] || 13 Comments || Send feedback

As an experiment for A111, I compared various compiler optimizations using the simple technique shown in this line:

r3 --do "print [size? system/options/boot speed?]"

Here are the results for different optimizations:

optexe-sizeinterpnativememorydisk
none5195125855245993137
-Os36340455444132116164
-O141678471504098104169
-O245774483484112114171
-O356014482154208117168

You can see that the default -O2 used for releases produces a good blend of results.

Measurements taken on a mid-priced CPU: Intel i5-2500 CPU @ 3.30GHz (quad core.)

13 Comments

REBOL 3.0
Updated 11-Nov-2024 - Edit - Copyright REBOL Technologies - REBOL.net