Skip to content

Instantly share code, notes, and snippets.

View MichaelPereira's full-sized avatar

Michael Pereira MichaelPereira

  • Northwesterrn Mutual
  • Paris/New York/Milwaukee
View GitHub Profile
@MichaelPereira
MichaelPereira / loadGen.py
Created August 22, 2012 14:07 — forked from anonymous/loadGen.py
Two scripts for 1. generating a git repo with lots of files and 2. generating and timing a series of small, synthetic commits to a repo
#!/usr/local/bin/python -t
# Originally by Joshua Redstone
#
# Hacky script to generate gobs of files to test git operations as a function
# of the number of files in the repo.
#
# Call at least with setting baseDir
# ./loadGen.py --baseDir=foo
# This creates a git repo with lots of files in dir 'foo'
#