[all-commits] [llvm/llvm-project] 86ec59: [BOLT] Only parse probes for profiled functions in...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Wed Sep 11 16:36:36 PDT 2024


  Branch: refs/heads/users/aaupov/spr/main.bolt-drop-blocks-without-profile-in-bat-yaml
  Home:   https://github.com/llvm/llvm-project
  Commit: 86ec59e2f789ae6469ff434f3b6455f09af5919c
      https://github.com/llvm/llvm-project/commit/86ec59e2f789ae6469ff434f3b6455f09af5919c
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    M bolt/lib/Rewrite/PseudoProbeRewriter.cpp

  Log Message:
  -----------
  [BOLT] Only parse probes for profiled functions in profile-write-pseudo-probes mode (#106365)

Implement selective probe parsing for profiled functions only when
emitting probe information to YAML profile as suggested in

https://github.com/llvm/llvm-project/pull/102904#pullrequestreview-2248714190

For a large binary, this reduces probe parsing 
- processing time from 10.5925s to 5.6295s,
- peak RSS from 10.54 to 7.98 GiB.


  Commit: 33c5a0cddf6dadfe28fff3e02e60e2dabd1f8c0f
      https://github.com/llvm/llvm-project/commit/33c5a0cddf6dadfe28fff3e02e60e2dabd1f8c0f
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:

  Log Message:
  -----------
  [𝘀𝗽𝗿] changes introduced through rebase

Created using spr 1.3.4

[skip ci]


Compare: https://github.com/llvm/llvm-project/compare/a1a651fe9244...33c5a0cddf6d

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list