Re: Checking the Milliseconds

2021-04-08 Thread Keith Martin via use-livecode
I ran the original code on my MacBook Pro (16in 2019, 2.3GHx 8 core i9). Three quarters of the results were over 4000, almost 150 of those were 4400 or above. The highest value was 4493. Average: 3873 (rounded) Median: 4081 Standard Deviation: 611 (rounded) k __

Re: Checking the Milliseconds

2021-04-08 Thread Craig Newman via use-livecode
Hi. I rand this a few times on an iMac 3.2Ghz Intel I5 I got very consistent counts, averaging 2605, and most count deviating very little from that value Craig > On Apr 8, 2021, at 1:24 AM, Mark Wieder via use-livecode > wrote: > > On 4/7/21 9:38 PM, Tom Glod via use-livecode wrote: >> I he

Re: Checking the Milliseconds

2021-04-07 Thread Mark Wieder via use-livecode
On 4/7/21 9:38 PM, Tom Glod via use-livecode wrote: I hear you Sean ..it is pretty interesting These are like gritty details about the engine, and I love learning them. I did not expect less than a microsecond / operation, thats for sure. There are a few other operations I would like to test

Re: Checking the Milliseconds

2021-04-07 Thread Tom Glod via use-livecode
I hear you Sean ..it is pretty interesting These are like gritty details about the engine, and I love learning them. I did not expect less than a microsecond / operation, thats for sure. There are a few other operations I would like to test in this way. thanks for reminding me about the detail

Re: Checking the Milliseconds

2021-04-07 Thread Sean Cole (Pi) via use-livecode
Hi Tom It is really interesting to see the results from this though. Tried it on my various machines and got pretty much the same results as everyone else consistently. It's amazing to see that in the region of 3000 loops occur in the period of 1ms. which means we are perhaps getting 1 (lowish lev

Re: Checking the Milliseconds

2021-04-07 Thread Tom Glod via use-livecode
Excellent ... Yes the 1st one was usually the one that was the lowest for me, for the reason you described. But you also cleared up the mysterious big jumps,I too now get a consistent result. Thanks for chimming in On Wed, Apr 7, 2021 at 3:59 PM Niggemann, Bernd via use-livecode < use-livecode@li

Re: Checking the Milliseconds

2021-04-07 Thread Niggemann, Bernd via use-livecode
I tried this and got pretty constant results except for maybe the first ten iterations. I figured if you just jump in with the milliseconds you would not be at the "beginning" of the milliseconds and added a repeat loop to mitigate that effect. Furthermore I appended the result to a variable.

Re: Checking the Milliseconds

2021-04-07 Thread Tom Glod via use-livecode
rage==>2947.388 > > Interesting > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On > Behalf > Of Tom Glod via

Re: Checking the Milliseconds

2021-04-07 Thread Tom Glod via use-livecode
ay, April 07, 2021 12:03 PM > To: How to use LiveCode > Cc: Tom Glod > Subject: Checking the Milliseconds > > Hey peeps, > > I wanted to measure how many times the LC engine can check the milliseconds > count during each millisecond that passes. > > The results really

RE: Checking the Milliseconds

2021-04-07 Thread Ralph DiMola via use-livecode
n Information Services rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Tom Glod via use-livecode Sent: Wednesday, April 07, 2021 12:03 PM To: How to use LiveCode Cc: Tom Glod Subject: Checking the Milliseconds Hey peeps, I wanted to

RE: Checking the Milliseconds

2021-04-07 Thread Ralph DiMola via use-livecode
vecode Sent: Wednesday, April 07, 2021 12:03 PM To: How to use LiveCode Cc: Tom Glod Subject: Checking the Milliseconds Hey peeps, I wanted to measure how many times the LC engine can check the milliseconds count during each millisecond that passes. The results really surprised me, I thought it wo

Re: Checking the Milliseconds

2021-04-07 Thread Tom Glod via use-livecode
> > > Ralph DiMola > IT Director > Evergreen Information Services > rdim...@evergreeninfo.net > > > -Original Message- > From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On > Behalf > Of Tom Glod via use-livecode > Sent: Wednesday, A

RE: Checking the Milliseconds

2021-04-07 Thread Ralph DiMola via use-livecode
rdim...@evergreeninfo.net -Original Message- From: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Tom Glod via use-livecode Sent: Wednesday, April 07, 2021 12:03 PM To: How to use LiveCode Cc: Tom Glod Subject: Checking the Milliseconds Hey peeps, I wanted to measur

Re: Checking the Milliseconds

2021-04-07 Thread Tore Nilsen via use-livecode
It averages around 3850 and 3900 every time I try. However, when I try to run the test 1 times the average goes down to just above 3600. BigSur on Xeon W 3GHz. Best regards Tore Nilsen > 7. apr. 2021 kl. 18:03 skrev Tom Glod via use-livecode > : > > Hey peeps, > > I wanted to measure how

Checking the Milliseconds

2021-04-07 Thread Tom Glod via use-livecode
Hey peeps, I wanted to measure how many times the LC engine can check the milliseconds count during each millisecond that passes. The results really surprised me, I thought it would be less, but I don't know why really. Anyone want to take a guess? What is strange about my results, is that ever