Tobias Gruetzmacher
2c771feb3e
Clear right direction (left).
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
17 lat temu
Heikki Hokkanen
4f38e59344
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.
17 lat temu
Heikki Hokkanen
29ef55792b
Use zlib to compress the cache.
17 lat temu
Heikki Hokkanen
ce7f45b62c
Cache file count for each commit.
17 lat temu
Heikki Hokkanen
1f1e6447dd
DataCollertor learned loadCache() & saveCache().
17 lat temu
Heikki Hokkanen
2b852d8ab9
Deleted the stale roadmap.
17 lat temu
Heikki Hokkanen
1756f27c42
License is GPLv2 / GPLv3.
As stated in doc/README, contributions from now on should be under
"GPLv2 or older" to allow upgrading to newer versions of GPL
(if I think they are sensible :-)
This is essentially the same as "GPLv2 or older approved by the author."
Feedback is welcome.
17 lat temu
Heikki Hokkanen
128e1adaae
Updated some docs.
17 lat temu
Heikki Hokkanen
b75bf01262
Remove some debugging prints etc.
Added in a01045f2480a21f28dd90e278b4f560020a97b9e.
17 lat temu
Heikki Hokkanen
14979d6dab
Merge branch 'work' into windows
17 lat temu
Heikki Hokkanen
7c13d11970
Cleanup.
Removed unneeded pass statements and done TODO tags.
17 lat temu
Heikki Hokkanen
bf413b3a65
Bugfix for files_by_stamp calculation.
17 lat temu
Heikki Hokkanen
be2cbda242
Use lists instead of tuples for better readability.
17 lat temu
Heikki Hokkanen
3710b9178e
Revert to earlier behaviour when showing commands.
The command being run will be shown first, and then prefixed with the
running time after it has been completed.
17 lat temu
Heikki Hokkanen
80ca8cb2ef
Env var GNUPLOT overrides gnuplot path.
By default 'gnuplot' will be searched from the system path.
17 lat temu
Shixin Zeng
a7f0f5ea50
set "shell = True" when call subprocess.Popen
On unix, when "shell = False" (default), the args must be a list of
args. While on Windows, filling args with a list causes problems. As a
trade-off, set the this flag and using a string as the command, although
this might sacrifice some performance, but that's not the main concern
in this script.
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
17 lat temu
Shixin Zeng
a01045f248
runs with msysgit on Win32
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
17 lat temu
Heikki Hokkanen
1517256900
Minor optimization for line counting.
- git-rev-list: use %T instead of %H
- git-ls-tree: added --name-only
18 lat temu
Heikki Hokkanen
9df3f8e6f2
Added try/except to catch weird lines from git-log --shortstat.
This is a workaround for linux-2.6 repository.
18 lat temu
Heikki Hokkanen
cea9ebaa9f
Removed unnecessary gnuplot files.
18 lat temu
Heikki Hokkanen
f34e1491fc
Cleanup: added DataCollector.refine()
Any additional statistics based on the extracted data should be produced in it.
18 lat temu
Heikki Hokkanen
f9fa40d813
List of Authors: added "# by commits" column.
18 lat temu
Heikki Hokkanen
c31ca0c2f8
todo: activity -> Pace of Changes.
18 lat temu
Heikki Hokkanen
74b80b4ce0
todo: state saving -> command line settings.
18 lat temu
Heikki Hokkanen
fc614c6d50
authors: added "Next top 5" column to author of month/year.
Only names are shown for the next 5.
18 lat temu
Heikki Hokkanen
df8f910b19
todo: ideas on state saving/restoring.
18 lat temu
Heikki Hokkanen
5024a7ce03
Portability: use "#!/usr/bin/env python" for the shebang line.
Thanks to Alexander Botero-Lowry.
18 lat temu
Heikki Hokkanen
4274e58ac8
Portability: use python's reverse() instead of |tac.
This should make gitstats work on FreeBSD.
Thanks to Alexander Botero-Lowry.
18 lat temu
Heikki Hokkanen
3ffee5fce8
doc/author.txt: subject should include "gitstats".
18 lat temu
Heikki Hokkanen
29040361ca
Reverted gitstats to revision 76d1dc7a8be6523fde1252850790494442220e0c.
This reverts "Attempt to optimize file counting." and related commits.
(commit c257429c561af8b99bb0a0daa65871a80a9fedb2)
18 lat temu
Heikki Hokkanen
4da1619fb4
todo: total repository size.
18 lat temu
Heikki Hokkanen
b10f1a573d
git-ls-files: look for '^c' instead of '^commit'.
18 lat temu
Heikki Hokkanen
c257429c56
Attempt to optimize file counting.
Two executions of 'git-rev-list' were merged and python used instead of sh
snippet. From initial testing this seems to _slow_ things down.
18 lat temu
Heikki Hokkanen
1eb86dbf2c
gnuplot: added bmargin for plots that had rotated x labels cut off.
18 lat temu
Heikki Hokkanen
76d1dc7a8b
Don't list the "wc -l" commands.
18 lat temu
Heikki Hokkanen
faf762f4dd
Fixed escaping for "wc -l".
18 lat temu
Heikki Hokkanen
b79278897c
Workaround for unexpected content (line statistics).
Hopefully fixes a problem with linux-2.6 repository.
18 lat temu
Heikki Hokkanen
41da84c96f
todo: more items.
18 lat temu
Heikki Hokkanen
87e9aa1668
todo: --debug.
18 lat temu
Heikki Hokkanen
8adcbf8182
Optimization: removed unneeded "git-ls-files".
18 lat temu
Heikki Hokkanen
2b1cf3e22a
Bugfix for line statistics.
Earlier this borked on author names containing "," (or example, wine
repository). Now it will instead check for line containing "files changed,".
18 lat temu
Heikki Hokkanen
5e9c722ef5
Output time used in internal/external execution.
18 lat temu
Heikki Hokkanen
4382511926
todo: commandline options.
18 lat temu
Heikki Hokkanen
d6d6d2534e
Optimized "total commits" counting.
Removed an extra "git-rev-list".
18 lat temu
Heikki Hokkanen
d87b7a004f
Include project name in the title.
For now it's taken from the basename of the repository path.
18 lat temu
Heikki Hokkanen
3b5e00ed1c
todo: cleanup of gnuplot input files.
18 lat temu
Heikki Hokkanen
ebb337bbaa
todo: x-label bug & show raw data.
18 lat temu
Heikki Hokkanen
87c85c79b9
todo cleanup.
18 lat temu
Heikki Hokkanen
e1a3374cce
Improved style.
18 lat temu
Heikki Hokkanen
453f6e453c
todo: remove stale items.
18 lat temu