On my machine:

SqueakJS:  2832ms
RSqueak: 2523ms (*)

(*) using fallback Smalltalk code for large integer; https://www.hpi.uni-potsdam.de/hirschfeld/artefacts/rsqueak/bundle/RSqueak.zip


Maybe the JITs realize that the result of "2 raisedTo: ...." is not being used and omit the calculation?

--

On Thu, Jun 2, 2016 at 12:24 PM Bert Freudenberg <bert@freudenbergs.de> wrote:
On 02.06.2016, at 03:19, Eliot Miranda <eliot.miranda@gmail.com> wrote:
> OK, tis fixed in VMMaker.oscog-eem.1879.
>
> Reporting - 774 tallies, 6,836 msec.

Nice!

Is this finally a benchmark where SqueakJS can beat other VMs?

[10 timesRepeat: [(2 raisedTo: 100000000) basicSize]] timeToRun

Interp: 18042 ms
Cog: 7965 ms
Spur: ?
SqueakJS: 2821 ms (*)

:D

- Bert -

(*) http://bertfreudenberg.github.io/SqueakJS/run/#url=http://freudenbergs.de/bert/squeakjs&files=[Squeak4.5-13680.image,Squeak4.5-13680.changes,SqueakV41.sources]