[Vm-dev] Re: [squeak-dev] Re: 2 raisedTo: 100000000` crashes VM

Fabio Niephaus lists at fniephaus.com
Fri Jun 3 12:59:49 UTC 2016


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 at freudenbergs.de>
wrote:

> On 02.06.2016, at 03:19, Eliot Miranda <eliot.miranda at 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]
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20160603/a8a195ff/attachment.htm


More information about the Vm-dev mailing list