Create benchmark test suite

Open
#45 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
go

Research direction

Start by reviewing dependencies #35 (pkg/tar-diff tests) and #36 (pkg/tar-patch tests), then identify the diff generation, patch application, rolling checksum, and bsdiff entry points. Add benchmarks for the listed file sizes, similarity levels, and critical paths, a documented baseline, a make benchmark target, and optional CI execution.

Written by the indexing model from the issue text.

Description

Create benchmarks to establish performance baselines and track regressions.

Tasks

  • Benchmark diff generation for various file sizes
  • Benchmark patch application
  • Benchmark rolling checksum computation
  • Benchmark bsdiff for different similarity levels
  • Add make benchmark target

Acceptance Criteria

  • Benchmark suite covers critical code paths
  • Performance baseline documented
  • CI can optionally run benchmarks

Dependencies

  • Depends on #35 (pkg/tar-diff tests)
  • Depends on #36 (pkg/tar-patch tests)
Dominant language
Go
Stars
66
Forks
27
Avg merge
14d 3h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from containers/tar-diff

All issues in containers/tar-diff

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.