3 ms·
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 wa
by sebastianconcpt 4y ago
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?
- igouy 4y ago$ 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
- igouy 4y ago> 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/ 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.