Skip to content

alexpomsft/gitreplaytester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a script to replay a CHANGELOG.json file, commit by commit, useful for inspecting the git repo growth as a result of the commits.

  • Replace the sample beachball CHANGELOG.json file in the data directory with a big one.
  • Run npx ts-node ./playChangeLog.ts

You may modify the cwd variable to produce output in a different directory. Note that the script does clean the target directory when run. You may also consider modifying the for loop at the bottom to produce less commits.

Data

This data is taken from a changelog which has over 3500 entries.

File size is from ls -hs. Directory size is taken from du -hs.

commit count CHANGELOG.json Repo Folder git gc --aggressive
50 400K 2.2M 616K
500 680K 30M 1.3M
3505 2.2M 356M 5.7M

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published