Created
July 24, 2015 11:28
-
-
Save gabeno/ea80e8aaf606c55c80a1 to your computer and use it in GitHub Desktop.
List Timing Results
This file contains 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
# tests done on an ubuntu vm | |
concat 1.65812611580 milliseconds | |
append 0.07023715973 milliseconds | |
list comprehension 0.03012800217 milliseconds | |
list range 0.00904202461 milliseconds |
factor in time for calling a function, eliminate this overhead (https://github.com/gabeno/cs/commit/5f45810826a616767a9aedcbe596366c556a5f20):
time for calling a function 0.00007104874 milliseconds
concat 1.61438107491 milliseconds
append 0.07360911369 milliseconds
list comprehension 0.02981185913 milliseconds
list range 0.00812816620 milliseconds
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See code here: https://github.com/gabeno/cs/commit/8ebb77771d09ad0d65208048f587ec93e96033ef
Vm box details:
$ uname -a Linux gm-server 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux