Explorar el Código

Updated todo to reflect caching.

Some data from linux-2.6 and wine repositories:

linux-2.6:

Execution time 8574.73483 secs, 8539.54468 secs (99.59 %) in external commands)
Execution time 532.61431 secs, 509.50925 secs (95.66 %) in external commands)

-> time reduced to ~6%

wine:

Execution time 1538.62315 secs, 1512.65805 secs (98.31 %) in external commands)
Execution time 341.02903 secs, 331.91908 secs (97.33 %) in external commands)

-> time reduced to ~22%

And this is just one particular function that is cached.

The downside is more used diskspace, the cache for linux-2.6 for example
is 2.9 MiB at the moment.
Heikki Hokkanen hace 17 años
padre
commit
4f38e59344
Se han modificado 1 ficheros con 1 adiciones y 8 borrados
  1. 1
    8
      doc/TODO.txt

+ 1
- 8
doc/TODO.txt Ver fichero

@@ -14,14 +14,7 @@
14 14
 - Commandline options
15 15
 	--title "Project name"
16 16
 	--debug / --verbose
17
-- state saving/restoring?
18
-	- could save data that can not be recreated quickly (for example files/lines data)
19
-		- tags
20
-		- files_by_stamp could be cached
21
-	- would have to cope with cases where history is rewritten
22
-	- use pickle.dump() & pickle.load()
23
-	- where to save the state file? <repo>/.git/gitstats.dat ?
24
-	- also save command line settings and use them next run if not overridden?
17
+- save command line settings and use them next run if not overridden?
25 18
 
26 19
 [Stats]
27 20
 - General