Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 5 of 5 total
Thread Suggestion: TStopwatch.
Wed, Dec 13 2017 1:28 AMPermanent Link

Steve Gill

Avatar

Hi Tim,

Delphi has TStopwatch which I personally find very useful.  If it is at all possible to create something like this for EWB, could I please request that you add it to the wish list.

Thanks.

= Steve
Wed, Dec 13 2017 1:16 PMPermanent Link

Raul

Team Elevate Team Elevate

> Delphi has TStopwatch which I personally find very useful.  If it is at all possible to create something like this for EWB, could I please request that you add it to the wish list.

EWB is javascript running in a browser and AFAIK you cannot do anything
better than milliseconds.

EWB DateTime is already in milliseconds so simply store start value and
then at the end subtract from now and you have elpased msec

Raul
Thu, Dec 14 2017 12:28 AMPermanent Link

Steve Gill

Avatar

<<  EWB DateTime is already in milliseconds so simply store start value and
then at the end subtract from now and you have elpased msec  >>

Yeah thanks Raul.  Already doing it like that.

= Steve
Fri, Dec 15 2017 12:59 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Raul,

<< EWB is javascript running in a browser and AFAIK you cannot do anything better than milliseconds.

EWB DateTime is already in milliseconds so simply store start value and then at the end subtract from now and you have elpased msec >>

There actually *is* a high-precision timer, but it's IE 10 or higher.  But, I'm killing IE9 as the baseline in 2.07 and moving it to IE11, so I can finally start moving EWB completely into the modern browser support.

https://developer.mozilla.org/en-US/docs/Web/API/Performance/now

Tim Young
Elevate Software
www.elevatesoft.com
Sun, Dec 17 2017 5:03 PMPermanent Link

Steve Gill

Avatar

<< But, I'm killing IE9 as the baseline in 2.07 and moving it to IE11, so I can finally start moving EWB completely into the modern browser support. >>

That's great news Tim - that opens up a whole lot of possibilities.

= Steve
Image