Here's the same scripts I posted earlier, but polished and extended.
---
Karl Hasselström (5):
Global performance logging
Log subprocess calls during performance testing
Show full command in subprocess profiling
Log subproces activity to a file
Add some performance testing scripts perf/.gitignore | 2 +
perf/create_synthetic_repo.py | 61 ++++++++++++++++++++++++++
perf/find_patchbomb.py | 31 +++++++++++++
perf/perftest.py | 96 +++++++++++++++++++++++++++++++++++++++++
perf/setup.sh | 52 ++++++++++++++++++++++
stgit/main.py | 11 ++++-
stgit/out.py | 11 +++--
stgit/run.py | 61 +++++++++++++++++++++-----
8 files changed, 306 insertions(+), 19 deletions(-)
create mode 100644 perf/.gitignore
create mode 100644 perf/create_synthetic_repo.py
create mode 100644 perf/find_patchbomb.py
create mode 100644 perf/perftest.py
create mode 100644 perf/setup.sh