[PATCH] D86406: Speedup llvm-dwarfdump 3.9x

Joerg Sonnenberger via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 25 04:59:58 PDT 2020


joerg added a comment.

Can you change `raw_fd_ostream::has_colors` to memoize the result of `FileDescriptorHasColors(FD)` instead? That should give most of the performance gain without breaking the abstractions as much.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D86406



More information about the llvm-commits mailing list