sammccall added a comment.

FWIW, as-is with no caching, this is a ~2% slowdown on my machine (5.82 -> 5.72 
MB/s on SemaCodeComplete.cpp).
Whereas D130150 <https://reviews.llvm.org/D130150> using the grammar is a a 7% 
speedup (5.82 -> 6.22), so roughly an 9% performance difference between the 
approaches.
My guess is we'll get some but not all of this back through caching, as hashing 
isn't free and we'll increase the size of our working set.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D130337

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to