Repository navigation
Conversation
bx view --cli and improve bx series / bx historybx view --cli and improve bx series / bx history (do not merge)
Member
Author
|
Sprinting with Joris we noticed there's no straightforward cli way to see performance changes locally. View is probably the wrong cli location to put this under and I'll probably close it soon. |
Collaborator
|
Try |
Member
Author
|
@ev-br with which command though? |
Collaborator
|
|
Member
Author
|
This was more for demonstration purpose, closing. |
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.
Summary
Adds terminal rendering for the derived view marts already computed by
benchx.views.marts, and improvesbx seriesandbx historyergonomics while staying strictly within the component boundaries indocs/design/system-decomposition.md:bx view --cli [changes|movers|latest|commits](Views, §3.9):build_martsintoviews.load_marts(...)so HTML and terminal views share one pipeline (and work Arrow-free on JSONL stores /--results).src/benchx/views/text.pyto renderchanges,movers,latest, andcommitstables to stdout (with--commit REF,--workload REGEX,-n/--limit, and--json).changesandmoversas heuristic relative changes (not comparator verdicts; formal cross-run/history verdicts belong inbx compare, cf. How to compare two runs (bx comparein read mode) #160).bx series(Store query, §3.1):load-average, matchingbx head --table); adds--allto include condition series (explicit--quantity load-averagestill works without--all).projection.workload_labelso parametrized series are distinguishable.bx history(Store query, §3.1;benchmark-result-schema.md§4.1):--repo DIR(defaulting to the project root checkout) to order revision-axis points by git ancestry + committer date when git commit metadata is available, falling back to measurement start otherwise.Example
Testing
tests/test_cli_views.pycoveringbx view --cli(all 4 views, filters,--json, flag conflict refusals, JSONL/Arrow-free and Parquet stores),bx seriesmeasurand default + parameter display +--all, andbx history --repogit-ancestry ordering.1104 passed, 18 skipped; 2 loopback HTTP server tests deselected due to local sandbox).