]> granicus.if.org Git - clang/commitdiff
[Docs] Increase Doxygen cache size
authorDon Hinton <hintonda@gmail.com>
Wed, 22 May 2019 00:56:42 +0000 (00:56 +0000)
committerDon Hinton <hintonda@gmail.com>
Wed, 22 May 2019 00:56:42 +0000 (00:56 +0000)
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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@361343 91177308-0d34-0410-b5e6-96231b3b80d8

docs/doxygen.cfg.in

index 61f9120017f1e1b4f7a3ac85b3088b0a8508c87f..9fe259ae74f33c8a39e14e80d95d8f1126291a33 100644 (file)
@@ -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