-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[benchmark] BenchmarkDriver check --markdown #21477
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added `--markdown` flag for the `check` command to output the `BenchmarkDoctor`’s report in the Markdown format (as used by swift-ci on GitHub).
@swift-ci please test |
@eeckstein Please review 🙏 |
@swift-ci benchmark |
Build comment file: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please look at the benchmark build log. There is a crash in the script.
Don't require the presence of `markdown` argument for initialization. (It doesn't exist when BenchmarkDoctor is used from `run_smoke_bench`.)
It's great that Update: Oh! It didn't 🤦♂️ You did… We don't do that because it requires building 2x? |
@swift-ci please test |
Build failed |
It does not. I started a benchmark run |
@swift-ci benchmark |
And, as it's not a compiler change, it's sufficient if you do a smoke test for this. |
Hmm… I ran full test, because I wanted CI to run through bencmark's |
They should run with smoke test, because they are in swift/test. But maybe I'm missing something here. |
I think smoke test doesn't build benchmark binaries for some reason. The unit tests for benchmark scripts get executed (pure python), but not the |
But none of them would have caught this bug…😔 It didn't occur to me I also need to adjust |
Build comment file:Performance: -O
How to read the dataThe tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.If you see any unexpected regressions, you should consider fixing the Noise: Sometimes the performance results (not code size!) contain false Hardware Overview
|
@eeckstein Can we make smoke test build the benchmark binary? |
That needs negotiation with @shahmishal. We are trying very hard to keep the smoke test time down to a minimum. |
@palimondo / @eeckstein How much extra time are we looking at building benchmark binary? |
When we just build a single executable, e.g. Benchmark_O (and not the Osize and Onone variants), it's about 5min user time on my machine. + 4 sec to run it (what we should do, because this gives more test coverage) |
Really don't know. I'm running my local builds on 2008 MBP… |
Added
--markdown
flag for thecheck
command to output theBenchmarkDoctor
’s report in the Markdown format (as used by swift-ci on GitHub).