-
Notifications
You must be signed in to change notification settings - Fork 1
silly little ActionScript stopwatch/profiler/timer/benchmarker
moredip/TickTock
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is an EXTREMELY simple little stopwatch class. You can measure wall-clock durations in two ways: var tt:TickTock = new TickTock(); tt.start(); doSomeWork(); tt.stop(); trace( "That took "+tickTock.elapsedTimeInMilliseconds+" milliesconds" ); or in a more functional, closure-y style: var tt:TickTock = TickTock.measure( function(){ doSomeWork(); }); trace( "That took "+tickTock.elapsedTimeInMilliseconds+" milliesconds" );
About
silly little ActionScript stopwatch/profiler/timer/benchmarker
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published