pharo-project / pharo-vm

This is the VM used by Pharo
http://pharo.org
Other
115 stars 71 forks source link

Profile vm #806

Closed PalumboN closed 5 months ago

PalumboN commented 6 months ago

We (@guillep @jordanmontt @doste @RenaudFondeur and me in the VMDojo) make a small change to profile the bytecode numbers executed by the interpreter.

A PROFILE option to cmake was added, so we can control the profiling easily without editing the code :)

For now there is only Bytecode as accepted value (or None as default for a normal, non-profiling VM). We are thinking to add more options like Profile message sends.

PalumboN commented 5 months ago

Moved to the repo for experiments https://github.com/evref-inria/pharo-vm/pull/1