Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cachegrind: ignore leading path to the benchmarked rustls checkout
For each PR benchmark we create two checkouts of the rustls repository, each one in its own directory (e.g. `/tmp/.tmpZE2KDR` and `/tmp/.tmpq8vPPQ`). As a consequence, when comparing the cachegrind output the diff tool fails to correlate the functions of both runs. The result is a totally useless diff, where all instructions from the baseline are considered to have disappeared and all instructions from the candidate to have appeared (for an example, see https://bench.rustls.dev/comparisons/371463d8129f4f0541e38063358ec2ad4428a44a:453cf7968b251b22db5bcadebefe3ea37125b630/cachegrind-diff/handshake_tickets_aws_lc_rs_1.2_rsa_aes_server) This commit tells cachegrind to ignore the leading path (everything up to `target/release/build`), restoring the ability to track individual rustls functions.
- Loading branch information