pharo-project / pharo-vm

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

Profile vm #806

Closed PalumboN closed 4 days ago

PalumboN commented 1 month 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 4 days ago

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