Skip to content
This repository has been archived by the owner on Feb 22, 2023. It is now read-only.

Latest commit

 

History

History
executable file
·
13 lines (10 loc) · 832 Bytes

README.md

File metadata and controls

executable file
·
13 lines (10 loc) · 832 Bytes

Update:

For more decent benchmarking, a cleaned up version is being developed here: https://github.com/n-st/borgbench Thus this repository is deprecated.

borgbench

A crude python script to benchmark borg (https://github.com/borgbackup/borg/) with different settings for compression and deduplication. It is a very simple script that creates an archive under /tmp/borgbench/ from /tmp/borgbench/testdata.

  • chunking: Test of differenct chunking settings vs compressed and deduplicated reduction ratio You can pass the string for the '--compression' setting as the first argument. It will output the chunking-settings, original size, compressed size, deduplicated size, unique and total chunks.
  • compression Uses default chunking and tries compression level 1-9, also outputting the time the creation of the archive took.