Hi

At some point I got a feeling that actual Delay time is longer than
expected. It is especially visible on small delays less than 100ms
(otherwise difference is < 1%).

[image: Inline image 1]
Documentation says that *Delay waits approximately* for specified amount of
time. However, according to experimental data an actual difference is
always positive with the value around 1.5-2 seconds. It is actually strange
where such a constant difference, independent from delay length, comes from.
[image: Inline image 2]
To conclude, if you want to wait more precisely you need to create delays
with duration 1.5 seconds less than expected. Also it would be interesting
to test on different hardwares to make sure that difference stays constant
(around 1.5-2s)

I used the following script to gather data and save in .csv file
http://ws.stfx.eu/DSCLG2ON0VBI

Tested on:
Pharo: #50636
Spur-VM: #463
OS: Mac OS Yosemite
CPU: Intel Core i7 2.39 GHz

Cheers,
Alex

Reply via email to