Chris A.
Chris A.
This combination worked on the Linux CI/CD instance, but I need to make `linker-plugin-lto` and `--linkopt=-fuse-ld=lld` linux-only as it failed on my Mac. ``` build --compilation_mode=opt build --@rules_rust//rust/settings:lto=thin build --@rules_rust//rust/settings:extra_rustc_flag=-Cembed-bitcode=true...
> You can use platform-specific config feature in .bazelrc or create your own toolchain. > > https://bazel.build/run/bazelrc#enable_platform_specific_config Yes, thank you. I already had it I just wasn't leveraging it yet,...
> Not a maintainer, but curious if you've used a tool like [elf_diff](https://github.com/noseglasses/elf_diff) to see what types of differences exist. I've been sorting, diffing, comparing the symbol tables with `nm`...
@lgarbarini I haven't had a chance to try that tool yet but it does seem like the slowdown is evenly spread across two particular crates that really need to be...
 Oh what I wouldn't give for this tool to be written in Rust instead of Python.
While we're waiting for elf_diff to finish, here's how I've been comparing the symbols: ``` #!/usr/bin/env bash export CARGO_BINARY=/home/callen/.cargo/cache/release/deps/benchmark-c0594d7ce94f306a export BAZEL_BINARY=(...path to the bazel-bin/ benchmark binary) nm -gUC $CARGO_BINARY |...
Someone in another thread raised it so I'll say it explicitly here: I _have_ profiled this over and over. The slowdown is spread across the entire call graph of the...
@marvin-hansen There's only so much I can say about this which is related to why an MRE is so hard, but a few things: - I don't use musl because...
@lgarbarini I looked at the elf_diff results this morning, I saw some false deleted/added where it was the same symbol with the same asm read-out getting flagged for unknown reasons....
Yeah I'm still having this perf issue with the Bazel-built version of my program. I managed to get some unrelated issues fixed and got back to the original baseline performance...