Repository navigation
Tango performance comparison harness - #523
Merged
tinder-maxwellelliott merged 1 commit intoOct 15, 2026
Merged
Conversation
Add tools/perf/tango_compare.py, a stdlib-only harness that benchmarks bazel-diff against Uber's Tango on identical workloads. It builds Tango's example server and client from source at a pinned commit, generates synthetic genrule workspaces (small/medium/large/xlarge presets, custom sizes, or a real repository), and times both tools end to end on the same base..head pair: cold (fresh Bazel servers), warm (servers alive, Tango with -bypass-cache) and diff-only. Tool order alternates per iteration. The impacted label sets are cross-checked and a markdown summary plus a JSON metrics report are written. The pure helpers (Tango's id-mapped JSON stream, Go duration strings, label diffing, spec parsing, summary rendering) are covered by a py_test under //tools/perf. The harness itself is not a py_binary, like the serve harnesses, because it can shell out to `bazel build`. A new perf-tango-compare workflow runs the four presets nightly and on dispatch (workloads, iterations, Tango ref, pool size, quick profile inputs), publishing the summary as a step summary and a 90-day artifact. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FUbHuckDDMM9DEvfiZo6xo
maxwellE
force-pushed
the
perf/tango-compare-harness
branch
from
October 15, 2026 16:07
91e0672 to
f3a1c12
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A new cron based harness we can use to compare performance between these tools