diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-01-06 20:53:40 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-01-06 20:53:40 +0000 |
commit | 9c540f5100e97dab38afdf4a27540ed63060348b (patch) | |
tree | 4eac5bce6f94ae5c0ac7dbdc88940e0fef285408 /mdoc.h | |
parent | 64929c4dd7ee9b3c9e2f16421b938ea9ffc8696c (diff) | |
download | mandoc-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 'mdoc.h')
0 files changed, 0 insertions, 0 deletions