Re:(Yet Another) Lisp in Go
by sebastianconcpt on Tuesday May 10, 2022 @08:42AM
(#31326364)
I've ran that on 64bits Pharo 7 in a mid 2015 mac book pro and it measures only the time taken for the factorial (excluding system startup/shutdown).
By the way, I'm not recognizing that command, I'm curious, what smalltalk is that you're using there?
$ cat fact.st
Stdio stdout
nextPutAll: 100 factorial printString;
nextPut: Character lf.!
SmalltalkImage current snapshot: false andQuit: true!
$ time bin/pharo --headless Pharo10-SNAPSHOT-64bit-502addc.image fact.st
93326215443944152681699238856266700490715968264381621468592963895217599993229915608941463976156518286253697920827223758251185210916864000000000000000000000000
real 0m0.350s
user 0m0.303s
sys 0m0.049s> I've ran that on…
I don't think we know about the hardware used for the other measurements — so sketchy comparison.
> … excluding system startup/shutdown…
Why would you do that when the other measurements included startup/shutdown?
https://github.com/eigenhombre/l1/
> … not recognizing that command…
Cincom Smalltalk, VisualWorks® 8.3 run with `time` from a terminal window command line, like the other measurements.
In any case, shouldn't your measurement be made the same way John Jacobsen seems to have made measurements —