[PATCH] D124042: [ELF] Shrink binding and type in Symbol

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 19 23:57:00 PDT 2022


MaskRay added a comment.

BTW: the new lld (/tmp/c/1) may be slightly faster:

  % hyperfine --warmup 2 --min-runs 10 "numactl -C 20-27 "{/tmp/c/0,/tmp/c/1}" -flavor gnu @response.txt --threads=8"
  Benchmark 1: numactl -C 20-27 /tmp/c/0 -flavor gnu @response.txt --threads=8
    Time (mean ± σ):      5.568 s ±  0.022 s    [User: 9.089 s, System: 2.293 s]
    Range (min … max):    5.529 s …  5.605 s    10 runs
   
  Benchmark 2: numactl -C 20-27 /tmp/c/1 -flavor gnu @response.txt --threads=8
    Time (mean ± σ):      5.543 s ±  0.026 s    [User: 9.038 s, System: 2.287 s]
    Range (min … max):    5.518 s …  5.605 s    10 runs
   
  Summary
    'numactl -C 20-27 /tmp/c/1 -flavor gnu @response.txt --threads=8' ran
      1.00 ± 0.01 times faster than 'numactl -C 20-27 /tmp/c/0 -flavor gnu @response.txt --threads=8'
  
  % hyperfine --warmup 2 --min-runs 10 "numactl -C 20-27 "{/tmp/c/0,/tmp/c/1}" -flavor gnu @response.txt --threads=8"
  Benchmark 1: numactl -C 20-27 /tmp/c/0 -flavor gnu @response.txt --threads=8
    Time (mean ± σ):      5.596 s ±  0.055 s    [User: 9.052 s, System: 2.322 s]
    Range (min … max):    5.510 s …  5.699 s    10 runs
   
  Benchmark 2: numactl -C 20-27 /tmp/c/1 -flavor gnu @response.txt --threads=8
    Time (mean ± σ):      5.548 s ±  0.041 s    [User: 9.018 s, System: 2.320 s]
    Range (min … max):    5.485 s …  5.628 s    10 runs
   
  Summary
    'numactl -C 20-27 /tmp/c/1 -flavor gnu @response.txt --threads=8' ran
      1.01 ± 0.01 times faster than 'numactl -C 20-27 /tmp/c/0 -flavor gnu @response.txt --threads=8'


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124042



More information about the llvm-commits mailing list