Skip to content

Use only the latest date subdir of each system for the dashboard#874

Merged
alexey-milovidov merged 2 commits into
mainfrom
website-latest-snapshot
May 8, 2026
Merged

Use only the latest date subdir of each system for the dashboard#874
alexey-milovidov merged 2 commits into
mainfrom
website-latest-snapshot

Conversation

@alexey-milovidov
Copy link
Copy Markdown
Member

Summary

  • Previously generate-results.sh picked, for every (system, basename), the latest dated copy across all date subdirs. After re-running a system on a new date that doesn't cover all machines, the dashboard would still surface stale machines from older snapshots of that system.
  • Switch the rule: for each <system>/results/, take the lexicographically greatest YYYYMMDD subdirectory and emit every file in it. Older subdirs remain on disk as history but are not rendered.
  • Entry count dropped 678 → 464 (the older-snapshot entries that no longer match the latest run).

Test plan

  • bash generate-results.sh finishes without errors.
  • data.generated.js contains entries only from the latest date subdir of each system.
  • Loading index.html shows only the most recent benchmark snapshot per system.

🤖 Generated with Claude Code

generate-results.sh used to take, for every (system, basename), the
latest dated copy across all date subdirectories. That meant the
website would still surface a benchmark machine after the system was
re-run on a new date that no longer covers that machine.

Switch the rule: for each <system>/results/, find the lexicographically
greatest YYYYMMDD subdirectory and emit every file it contains. Older
subdirs remain in the repo as history but are not rendered.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@alexey-milovidov alexey-milovidov self-assigned this May 8, 2026
@alexey-milovidov alexey-milovidov merged commit 5226887 into main May 8, 2026
alexey-milovidov added a commit that referenced this pull request May 8, 2026
Revert #874: restore previous generate-results.sh behavior
lukasvogel pushed a commit to lukasvogel/ClickBench that referenced this pull request May 11, 2026
…est-snapshot"

This reverts commit 5226887, reversing
changes made to 153c080.
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