Skip to content

Add vectorbench: VTracer against codecs at matched quality - #1

Merged
tannevaled merged 2 commits into
mainfrom
feat/vectorbench
Nov 29, 2026
Merged

tannevaled merged 2 commits into
mainfrom
feat/vectorbench

Conversation

@tannevaled

Copy link
Copy Markdown
Contributor

What

vectorbench, a cobra CLI that measures frame-by-frame VTracer vectorisation against x264, x265, SVT-AV1 and VP9 at matched PSNR and VMAF, per content class (cartoon, anime, screen, natural).

  • Pinned tools: VTracer 0.6.5 and resvg 0.50.0 are refused if the version differs; the encoders and ffmpeg are recorded in every result.
  • Nine Xiph clips fetched by URL (Range request, 24 frames) and verified by SHA-256; never committed (*.y4m is ignored).
  • results.json records tool versions, machine, one-minute load at start and end, and a stamped waiver when a run goes ahead above the load limit.
  • Markdown report: every number is labelled measured, estimated (interpolated between the two measured settings that bracket the target), a bound (<=) or n/a.
  • Flicker proxy: path churn between consecutive frames (bounding-box IoU matching, colour distance, shift).

Checks

  • go test -race on ubuntu, macos and windows; 32-bit build; four fuzz targets; govulncheck.
  • Mutation sweep of every refusal: 0 survivors; the tests that were missing are in this PR.
  • Coverage: bench 97%, cmd 95%.

Timings on the reference host come in a follow-up PR with the results file.

🤖 Generated with Claude Code

tannevaled and others added 2 commits November 29, 2026 14:14
…ed quality

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Windows has no load average source, so run refuses before reaching the
missing-ffmpeg check the test wants to exercise.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@tannevaled
tannevaled merged commit 9a12ac8 into main Nov 29, 2026
7 checks passed
@tannevaled
tannevaled deleted the feat/vectorbench branch November 29, 2026 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant