← Back to context

Comment by igouy

3 months ago

> you're rebuilding images as you need to, usually starting from a golden master

For example, cp the "golden master" into the current directory and rename it "nbody.pharo_run.image".

"fileIn" the source code file (name passed on the commandline) "nbody.pharo" (and then cleanUp and garbageCollect) and "snapshot" the image.

Then invoke the program "main.st". In this example, the source code file defined a class method BenchmarksGame>>do: which performs a calculation and prints the result on stdout.

https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

It's the "cattle, not pets" mentality.

(There are different ways to manage startup, this is an adhoc simplistic approach.)