Tobias Gruetzmacher
2c771feb3e
Clear right direction (left).
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
пре 17 година
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 година
Heikki Hokkanen
29ef55792b
Use zlib to compress the cache.
пре 17 година
Heikki Hokkanen
ce7f45b62c
Cache file count for each commit.
пре 17 година
Heikki Hokkanen
1f1e6447dd
DataCollertor learned loadCache() & saveCache().
пре 17 година
Heikki Hokkanen
2b852d8ab9
Deleted the stale roadmap.
пре 17 година
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 година
Heikki Hokkanen
128e1adaae
Updated some docs.
пре 17 година
Heikki Hokkanen
b75bf01262
Remove some debugging prints etc.
Added in a01045f2480a21f28dd90e278b4f560020a97b9e.
пре 17 година
Heikki Hokkanen
14979d6dab
Merge branch 'work' into windows
пре 17 година
Heikki Hokkanen
7c13d11970
Cleanup.
Removed unneeded pass statements and done TODO tags.
пре 17 година
Heikki Hokkanen
bf413b3a65
Bugfix for files_by_stamp calculation.
пре 17 година
Heikki Hokkanen
be2cbda242
Use lists instead of tuples for better readability.
пре 17 година
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 година
Heikki Hokkanen
80ca8cb2ef
Env var GNUPLOT overrides gnuplot path.
By default 'gnuplot' will be searched from the system path.
пре 17 година
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 година
Shixin Zeng
a01045f248
runs with msysgit on Win32
Signed-off-by: Heikki Hokkanen <hoxu@users.sf.net>
пре 17 година
Heikki Hokkanen
1517256900
Minor optimization for line counting.
- git-rev-list: use %T instead of %H
- git-ls-tree: added --name-only
пре 18 година
Heikki Hokkanen
9df3f8e6f2
Added try/except to catch weird lines from git-log --shortstat.
This is a workaround for linux-2.6 repository.
пре 18 година
Heikki Hokkanen
cea9ebaa9f
Removed unnecessary gnuplot files.
пре 18 година
Heikki Hokkanen
f34e1491fc
Cleanup: added DataCollector.refine()
Any additional statistics based on the extracted data should be produced in it.
пре 18 година
Heikki Hokkanen
f9fa40d813
List of Authors: added "# by commits" column.
пре 18 година
Heikki Hokkanen
c31ca0c2f8
todo: activity -> Pace of Changes.
пре 18 година
Heikki Hokkanen
74b80b4ce0
todo: state saving -> command line settings.
пре 18 година
Heikki Hokkanen
fc614c6d50
authors: added "Next top 5" column to author of month/year.
Only names are shown for the next 5.
пре 18 година
Heikki Hokkanen
df8f910b19
todo: ideas on state saving/restoring.
пре 18 година
Heikki Hokkanen
5024a7ce03
Portability: use "#!/usr/bin/env python" for the shebang line.
Thanks to Alexander Botero-Lowry.
пре 18 година
Heikki Hokkanen
4274e58ac8
Portability: use python's reverse() instead of |tac.
This should make gitstats work on FreeBSD.
Thanks to Alexander Botero-Lowry.
пре 18 година
Heikki Hokkanen
3ffee5fce8
doc/author.txt: subject should include "gitstats".
пре 18 година
Heikki Hokkanen
29040361ca
Reverted gitstats to revision 76d1dc7a8be6523fde1252850790494442220e0c.
This reverts "Attempt to optimize file counting." and related commits.
(commit c257429c561af8b99bb0a0daa65871a80a9fedb2)
пре 18 година
Heikki Hokkanen
4da1619fb4
todo: total repository size.
пре 18 година
Heikki Hokkanen
b10f1a573d
git-ls-files: look for '^c' instead of '^commit'.
пре 18 година
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 година
Heikki Hokkanen
1eb86dbf2c
gnuplot: added bmargin for plots that had rotated x labels cut off.
пре 18 година
Heikki Hokkanen
76d1dc7a8b
Don't list the "wc -l" commands.
пре 18 година
Heikki Hokkanen
faf762f4dd
Fixed escaping for "wc -l".
пре 18 година
Heikki Hokkanen
b79278897c
Workaround for unexpected content (line statistics).
Hopefully fixes a problem with linux-2.6 repository.
пре 18 година
Heikki Hokkanen
41da84c96f
todo: more items.
пре 18 година
Heikki Hokkanen
87e9aa1668
todo: --debug.
пре 18 година
Heikki Hokkanen
8adcbf8182
Optimization: removed unneeded "git-ls-files".
пре 18 година
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 година
Heikki Hokkanen
5e9c722ef5
Output time used in internal/external execution.
пре 18 година
Heikki Hokkanen
4382511926
todo: commandline options.
пре 18 година
Heikki Hokkanen
d6d6d2534e
Optimized "total commits" counting.
Removed an extra "git-rev-list".
пре 18 година
Heikki Hokkanen
d87b7a004f
Include project name in the title.
For now it's taken from the basename of the repository path.
пре 18 година
Heikki Hokkanen
3b5e00ed1c
todo: cleanup of gnuplot input files.
пре 18 година
Heikki Hokkanen
ebb337bbaa
todo: x-label bug & show raw data.
пре 18 година
Heikki Hokkanen
87c85c79b9
todo cleanup.
пре 18 година
Heikki Hokkanen
e1a3374cce
Improved style.
пре 18 година
Heikki Hokkanen
453f6e453c
todo: remove stale items.
пре 18 година