Created
September 21, 2017 11:11
-
-
Save rasmusx/0bf2f4b998d4715d6c90385f69ed639b to your computer and use it in GitHub Desktop.
Keyboard macro time benchmark
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Measure time of keyboard macro. | |
| Modify your macro to send enter in the beginning and end. This is used | |
| to determine start and beginning of macro in this script. | |
| ''' | |
| import time | |
| from sys import stdin | |
| print("Send newline to start timing") | |
| stdin.readline() | |
| start = time.time() | |
| stdin.readline() | |
| print(time.time()-start) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment