chiark / gitweb /
Add some performance testing scripts
authorKarl Hasselström <kha@treskal.com>
Wed, 23 Jul 2008 21:29:09 +0000 (23:29 +0200)
committerKarl Hasselström <kha@treskal.com>
Thu, 24 Jul 2008 22:03:14 +0000 (00:03 +0200)
commit5200ae3c962ebebdd7f0cab00d94eaab2c3d4f86
treebaae20502e6df734d5438261a835951561b8b7a9
parent1743e45992c1eea47f52b704a6e0d36c59008924
Add some performance testing scripts

find_patchbomb.py: Given a git repo, finds the longest linear sequence
  of commits. Useful for testing StGit on a real repository.

setup.sh: Creates two test repositories, one synthetic and one based
  on the Linux kernel repo, with strategically placed tags.

create_synthetic_repo.py: Helper script for setup.sh; it produces
  output that is to be fed to git fast-import.

perftest.py: Runs one of a (small) number of hard-coded performance
  tests against a copy of one of the repos created by setup.sh. The
  initial testcases all involve uncommitting a large number of patches
  and then rebasing them.

Signed-off-by: Karl Hasselström <kha@treskal.com>
perf/.gitignore [new file with mode: 0644]
perf/create_synthetic_repo.py [new file with mode: 0644]
perf/find_patchbomb.py [new file with mode: 0644]
perf/perftest.py [new file with mode: 0644]
perf/setup.sh [new file with mode: 0644]