I think we just found a serious bug! Cyrill, could you perform a division in the same image you used for delay test and post result here?
> 123 / 2.0 On mac I get a float 61.5 Cheers, Alex On Sat, Mar 12, 2016 at 8:33 PM, Cyril Ferlicot D. <cyril.ferli...@gmail.com > wrote: > Le 12/03/2016 18:47, Aliaksei Syrel a écrit : > > 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%). > > > > 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. > > 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 > > > > If you wish to compare I join a csv. This is my setup: > > Image > ----- > C:\Users\JeCisC\AppData\Roaming\Pharo\images\Common tools-Pharo 5.0 > (beta)-26\Common tools-Pharo 5.0 (beta)-26.image > Pharo5.0 > Latest update: #50636 > Unnamed > > Virtual Machine > --------------- > C:\Users\JeCisC\Desktop\PharoVMSpur\Pharo.exe > CoInterpreter * VMMaker.oscog-rmacnak.1586 uuid: > 8e44b2a7-68ee-4fc9-8513-a04520267053 Dec 13 2015 > StackToRegisterMappingCogit * VMMaker.oscog-rmacnak.1586 uuid: > 8e44b2a7-68ee-4fc9-8513-a04520267053 Dec 13 2015 > https://github.com/estebanlm/pharo-vm.git Commit: > 6dc730123e8f2b0327839b235d16e0604a92288e Date: 2015-12-13 00:23:41 +0100 > By: Esteban Lorenzano <esteba...@gmail.com> Jenkins build #456 > > Win32 built on Dec 13 2015 00:58:42 Compiler: 4.6.2 > VMMaker versionString https://github.com/estebanlm/pharo-vm.git Commit: > 6dc730123e8f2b0327839b235d16e0604a92288e Date: 2015-12-13 00:23:41 +0100 > By: Esteban Lorenzano <esteba...@gmail.com> Jenkins build #456 > CoInterpreter * VMMaker.oscog-rmacnak.1586 uuid: > 8e44b2a7-68ee-4fc9-8513-a04520267053 Dec 13 2015 > StackToRegisterMappingCogit * VMMaker.oscog-rmacnak.1586 uuid: > 8e44b2a7-68ee-4fc9-8513-a04520267053 Dec 13 2015 > > Operating System/Hardware > ------------------------- > Win32 6.1 IX86 > > Operating System Details > ------------------------ > Operating System: Windows 7 Professional N (Build 7601 Service Pack 1) > Registered Owner: JeCisC > Registered Company: > SP major version: 1 > SP minor version: 0 > Suite mask: 100 > Product type: 1 > > > > -- > Cyril Ferlicot > > http://www.synectique.eu > > 165 Avenue Bretagne > Lille 59000 France >