[REBOL] Report on WinCE Rebol --- Speed Comparison
From: dness::home::com at: 27-Jun-2001 22:23
Since questions have been raised here about REBOL on a Pocket PC class machine,
I thought it might be useful to run and simple experiment and report on it here.
The Experiment
I adapted the distributed `factorial.r' program to calculate a fibonacci
number. I did this in the most straightforward way (involving double recursion)
in a simple attempt to produce a program that would consume a detectable amount
of execution time so that comparisons could be made.
The Contexts
I ran the program in five different contexts:
Context 1: Rebol\View 1.2.1.3.1 on a 333mhz iDOT computer with 384mb ram
Context 2: Rebol Core 2.5.0.3.1 on the same machine
Context 3: Rebol\View 1.2.1.3.1 on an 800mhz Sony computer with 512mb ram
Context 4: Rebol Core 2.5.0.3.1 on the same machine
Context 5: Rebol\core 2.5.0.15.5 on a 206mhz Compaq iPAQ with 32mb
In all cases f(25) was calculated and returned (no surprise here) the correct
result.
The Results
Context Timing
1 333View 13 seconds
2 333Core 10 seconds
3 800View 3 seconds
4 800Core 2 seconds
5 iPAQ 1min 16seconds
For comparison with `other worlds' I used the same algorithm coded in both
the `J' and `K' languages (mathematical array processing interpretive languages
both related to APL). The timings were:
J 5.6 seconds and K 0.6 seconds.
I'd be happy to answer any questions or perform other experiments if it would
be meaningful to anyone.