[PATCH] D96035: [dsymutil][DWARFlinker] implement separate multi-thread processing for compile units.

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 9 10:12:59 PDT 2022


avl added a comment.

> It would probably be worthwhile to do a few performance experiments here as well to make sure this doesn't regress debugging performance.

please, consider run-time/memory results for lldb used with clang built with various dsymutil options:

                          |    time, sec  |  Memory, Gbytes | .debug_info, bytes |
  ------------------------|---------------|-----------------|--------------------|
                          |               |                 |                    |
  clang-original-noodr    |     8.58      |     1.82        |    1461723785      |
                          |               |                 |                    |
  ------------------------|---------------|--------------------------------------|
                          |               |                 |                    |
  clang-original-odr      |     8.41      |     1.76        |     484472706      |
                          |               |                 |                    |
  ------------------------|---------------|--------------------------------------|
                          |               |                 |                    |
  clang-dlnext-odr        |     8.75      |     1.98        |     155118011      |   <<<< single type unit size is 40495379 bytes.
                          |               |                 |                    |
  ------------------------|---------------|--------------------------------------|

tested lldb version:

  lldb --version
  lldb version 15.0.0git (https://github.com/llvm/llvm-project.git revision d9cea8d3a8fff86672174780312674871729578c)
    clang revision d9cea8d3a8fff86672174780312674871729578c
    llvm revision d9cea8d3a8fff86672174780312674871729578c

lldb run command:

  /usr/bin/time -l lldb clang --source lldb-commands

set of commands passed to lldb through --source option:

  b main
  r
  n
  n
  n
  fr v
  exit

If above set of commands  is not very relevant for testing lldb performance then I will retest with another set.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96035/new/

https://reviews.llvm.org/D96035



More information about the llvm-commits mailing list