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