Dear all
-timeit- is now available on SSC, thanks as usual to Kit Baum. It is a simple wrapper program that replaces
by
In my opinion its main advantage is that your code can still look clean even with timers - the timer on/off lines made everything look super messy in my opinion, making it harder to debug or share code.
Currently the timer will keep running if your command returns an error. I will hopefully fix this in a future version, though suggestions on how to do this are welcome.
-timeit- is now available on SSC, thanks as usual to Kit Baum. It is a simple wrapper program that replaces
Code:
timer on 1 reg y x [note: any command here works, this is just an example] timer off 1
Code:
timeit 1: reg y x
Currently the timer will keep running if your command returns an error. I will hopefully fix this in a future version, though suggestions on how to do this are welcome.
Comment