[squeak-dev] Measuring process time of the VM (user+sys)

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Tue Jan 11 13:21:03 UTC 2022


Hi all,


I am running some performance benchmarks using #timeToRunWithoutGC via smalltalkCI on GitHub Actions (Ubuntu) and am observing a very high standard deviation of the results. I suppose that GitHub is temporarily suspending my workflow for reasons. Is my assumption correct that such suspensions would *not* be transparent to primitiveUTCMicrosecondClock, which acts similar to a wall clock? Does the VM provide any means to measure the time that was actually spent inside the VM process? I believe I am searching for an equivalent of the linux time command where I would sum up user + system time (because expensive I/O calls from my benchmarked code are indeed relevant) and then subtract the GC time. Is there already any support for this in the VM, or would this require major efforts?


Thanks in advance!


Best,

Christoph
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20220111/bd85d6ff/attachment.html>


More information about the Squeak-dev mailing list