diff options
author | Don Hinton <hintonda@gmail.com> | 2019-05-22 00:56:42 +0000 |
---|---|---|
committer | Don Hinton <hintonda@gmail.com> | 2019-05-22 00:56:42 +0000 |
commit | 120a6f09bb95e302c7a1f542302d9d96c8fe16d4 (patch) | |
tree | 3346ce1f29be01d9099d2e4fbf21051cd4e1df10 /clang/docs/doxygen.cfg.in | |
parent | 6a0d432e9e0f86b6659b4082b6053011d5fe5101 (diff) | |
download | bcm5719-llvm-120a6f09bb95e302c7a1f542302d9d96c8fe16d4.tar.gz bcm5719-llvm-120a6f09bb95e302c7a1f542302d9d96c8fe16d4.zip |
[Docs] Increase Doxygen cache size
Summary:
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.
Reviewed By: hintonda
Patch by J. Ryan Stinnett!
Tags: #clang, #llvm
Differential Revision: https://reviews.llvm.org/D62138
llvm-svn: 361343
Diffstat (limited to 'clang/docs/doxygen.cfg.in')
-rw-r--r-- | clang/docs/doxygen.cfg.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/docs/doxygen.cfg.in b/clang/docs/doxygen.cfg.in index 61f9120017f..9fe259ae74f 100644 --- a/clang/docs/doxygen.cfg.in +++ b/clang/docs/doxygen.cfg.in @@ -384,7 +384,7 @@ TYPEDEF_HIDES_STRUCT = NO # 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 |