summaryrefslogtreecommitdiffstats
path: root/regress/roff
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-01-06 20:53:40 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-01-06 20:53:40 +0000
commit9c540f5100e97dab38afdf4a27540ed63060348b (patch)
tree4eac5bce6f94ae5c0ac7dbdc88940e0fef285408 /regress/roff
parent64929c4dd7ee9b3c9e2f16421b938ea9ffc8696c (diff)
downloadmandoc-9c540f5100e97dab38afdf4a27540ed63060348b.tar.gz
Do not sync to disk after each individual manual page (duh!),
only sync to disk one single time when all data is ready. Rebuild times for /usr/share/man/mandoc.db shrink on my notebook: In standard mode from 45 seconds to 11 seconds (75% reduction) In -Q mode from 25 seconds to 3.1 seconds (87% reduction) For comparison: makewhatis(8): 4.2 seconds That is, in -Q mode, we are now *faster* than the existing makewhatis(8), and careful profiling shows there is still a lot of room for improval.
Diffstat (limited to 'regress/roff')
0 files changed, 0 insertions, 0 deletions