[PATCH] D140271: [NFCI][llvm-exegesis] Benchmark: parallelize codegen (5x ... 8x less wallclock)

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 16 13:44:07 PST 2023


lebedev.ri added a comment.

In D140271#4056530 <https://reviews.llvm.org/D140271#4056530>, @RKSimon wrote:

> 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

See https://discourse.llvm.org/t/does-anyone-use-llvm-exegesis-feedback-wanted/67729/5?u=lebedevri


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