Skip to content

benchmark-history: merged tier JSON is pretty-printed and passes GitHub's 100 MB limit #624

Backlog

Description

@seabbs-bot

The extra-tier deploy in the managed benchmark-history.yaml fails on ComposableRecurrences.jl, because the merged history/tiers/ad/results/latest.json is 349 MB, over GitHub's 100 MB file limit.
The suspected cause is that jq -s 'reduce .[] as $x ({}; . * $x)' pretty-prints its output, which makes the file about 5.4 times larger.
Proposed fix: merge with jq -c -s ... in both "Merge groups" and "Merge and publish extra tiers".
An optional cap on samples per benchmark for a tier would keep room as grids grow.

Detail
  • Run: EpiAware/ComposableRecurrences.jl actions run 47456238800, job history, step "Deploy extra tiers to benchmarks branch": File history/tiers/ad/results/latest.json is 349.04 MB; this exceeds GitHub's file size limit of 100.00 MB.
  • One shard (bench-ad-AD_gradients_ForwardDiff) is 20.2 MB compact. Passing it through the same jq -s reduce gives 108.3 MB, and jq -c -s gives 20.2 MB.
  • With -c, the four shards that succeeded would merge to roughly 65 MB, and about 85 MB with Enzyme forward. That fits, but not by much: 266 of 274 entries in a shard fill BenchmarkTools' 10000 samples.
  • No ad tier has ever reached the benchmarks branch. So the AD comparison page measures live in the docs build, which then hits the Documenter timeout.
  • The package is working around it by capping ad-tier gradient samples at 1000 in benchmark/benchmarks.jl.

This was opened by a bot. Please ping @seabbs for any questions.

Activity

  1. added
    bot
    on Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bot

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions