Skip to content

Conversation

@ankitml
Copy link

@ankitml ankitml commented Jan 23, 2026

switches addBenchmarkEntry to use a singleton GitGraphAnalyzer

ankitml and others added 14 commits December 19, 2025 11:26
Add GitGraphAnalyzer class for finding previous benchmarks based on git ancestry
instead of execution time. This fixes release branch comparisons where PRs
were comparing against wrong baseline commits.

- Add src/gitGraph.ts with git analysis functions
- Modify addBenchmarkEntry.ts to use git-graph aware previous benchmark selection
- Update default_index_html.ts to sort visualization data by commit timestamp

Fixes #3769
Add comprehensive tests for GitGraphAnalyzer and addBenchmarkEntry integration.
All 227 tests pass successfully.
Co-authored-by: Stu Hood <stuhood@gmail.com>
Signed-off-by: Ankit  <573824+ankitml@users.noreply.github.com>
@ankitml ankitml closed this Jan 23, 2026
@ankitml ankitml deleted the ankitml/upstream-comments branch January 23, 2026 22:43
@ankitml ankitml restored the ankitml/upstream-comments branch January 23, 2026 22:44
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