[squeak-dev] some SqueakJS benchmarks, comparing Smalltalk with JavaScript-via-Web-Workers

Craig Latta craig at blackpagedigital.com
Wed Sep 5 17:43:35 UTC 2018


     Oops, here's a more clearly-worded version...

     It's convenient to run JS code on the fly from within SqueakJS via
Web Workers. So let's run some benchmarks. :) The test: What's the
highest Fibonacci number you can calculate in one second? Each result is
that number, and then how much faster other systems are. "JS" refers to
JS code running in a Web Worker forked by SqueakJS, "ST" refers to
running the test in Smalltalk in SqueakJS.

     laptop native Cog on macOS: 40 (baseline)
     laptop Chrome JS: 34 (laptop native Cog on macOS is 17x faster)
     mobile Safari JS: 33 (laptop Chrome JS is 1.5x faster)
     laptop Chrome ST: 29 (laptop Chrome JS is 12x faster,
                           mobile Safari JS is 8x faster)
     mobile Safari ST: 24 (mobile Safari JS is 22x faster,
                           laptop Chrome ST is 3x faster)


-C

--
Craig Latta
Black Page Digital
Amsterdam :: San Francisco
craig at blackpagedigital.com
+31   6 2757 7177 (SMS ok)
+ 1 415  287 3547 (no SMS)



More information about the Squeak-dev mailing list