GWP-ASan is the "production" variant as compiled by compiler-rt, and it's useful to be able to benchmark changes in GWP-ASan or Scudo's GWP-ASan hooks across versions. GWP-ASan is sampled, and sampled allocations are much slower, but given the amount of allocations that happen under test here - we actually get a reasonable representation of GWP-ASan's negligent performance impact between runs.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Forgot to update the once-init nonce. It needs to be moved to a member, rather than a global.
compiler-rt/lib/scudo/standalone/benchmarks/malloc_benchmark.cpp | ||
---|---|---|
75 | Probably include <vector>, I think on some platforms it's not inferred. |
compiler-rt/lib/scudo/standalone/benchmarks/malloc_benchmark.cpp | ||
---|---|---|
75 | (done in the commit) |
Probably include <vector>, I think on some platforms it's not inferred.