[PATCH] D140271: [NFCI][llvm-exegesis] Benchmark: parallelize codegen (5x ... 8x less wallclock)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 16 07:42:14 PST 2023
RKSimon added a comment.
In D140271#4056430 <https://reviews.llvm.org/D140271#4056430>, @lebedev.ri wrote:
> In D140271#4056248 <https://reviews.llvm.org/D140271#4056248>, @RKSimon wrote:
>
>> Has anyone got a recent profile of llvm-exegesis upto --benchmark-phase=assemble-measured-code?
>
> for all-opcode pass,
>
> - `--benchmark-phase=prepare-snippet` is instantenious, takes less than a second
> - `--benchmark-phase=prepare-and-assemble-snippet` takes maybe 2..5 seconds
> - `--benchmark-phase=assemble-measured-code` takes minutes.
I meant an actual profile - not just a timing - to see where the cycles are going - my hope is that there will be a series of minor changes we can make instead of going down the multi-threading path
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D140271/new/
https://reviews.llvm.org/D140271
More information about the llvm-commits
mailing list