jryans created this revision. Herald added projects: clang, LLVM. Herald added subscribers: llvm-commits, cfe-commits.
When building Doxygen docs for llvm and clang, it helpfully prints a warning at the end noting that the `LOOKUP_CACHE_SIZE` value was too small to keep all symbols in memory. By increasing to the size it recommends, Doxygen builds have greatly improved performance. On my machine, time to run `doxygen-llvm` changes from 34 minutes to 22 minutes, which is a decent amount of time saved by changing a single number. Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D62138 Files: clang/docs/doxygen.cfg.in llvm/docs/doxygen.cfg.in Index: llvm/docs/doxygen.cfg.in =================================================================== --- llvm/docs/doxygen.cfg.in +++ llvm/docs/doxygen.cfg.in @@ -385,7 +385,7 @@ # the optimal cache size from a speed point of view. # Minimum value: 0, maximum value: 9, default value: 0. -LOOKUP_CACHE_SIZE = 2 +LOOKUP_CACHE_SIZE = 4 #--------------------------------------------------------------------------- # Build related configuration options Index: clang/docs/doxygen.cfg.in =================================================================== --- clang/docs/doxygen.cfg.in +++ clang/docs/doxygen.cfg.in @@ -384,7 +384,7 @@ # the optimal cache size from a speed point of view. # Minimum value: 0, maximum value: 9, default value: 0. -LOOKUP_CACHE_SIZE = 2 +LOOKUP_CACHE_SIZE = 3 #--------------------------------------------------------------------------- # Build related configuration options
Index: llvm/docs/doxygen.cfg.in =================================================================== --- llvm/docs/doxygen.cfg.in +++ llvm/docs/doxygen.cfg.in @@ -385,7 +385,7 @@ # the optimal cache size from a speed point of view. # Minimum value: 0, maximum value: 9, default value: 0. -LOOKUP_CACHE_SIZE = 2 +LOOKUP_CACHE_SIZE = 4 #--------------------------------------------------------------------------- # Build related configuration options Index: clang/docs/doxygen.cfg.in =================================================================== --- clang/docs/doxygen.cfg.in +++ clang/docs/doxygen.cfg.in @@ -384,7 +384,7 @@ # the optimal cache size from a speed point of view. # Minimum value: 0, maximum value: 9, default value: 0. -LOOKUP_CACHE_SIZE = 2 +LOOKUP_CACHE_SIZE = 3 #--------------------------------------------------------------------------- # Build related configuration options
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits