Multi-module KDoc generation super slow

I’m running

gradle check dokkaHtmlMultiModule

as part of my git pre-commit checks for a MPP.

The documentation generation takes a lot longer than the building and test running combined.

$ time gradle check
...
real	0m23.916s
user	0m1.627s
sys	0m0.163s

$ time gradle dokkaHtmlMultiModule
...

real	2m58.019s
user	0m2.013s
sys	0m0.270s

This really slows down sending of a small PR, but I’m loathe to turn off health checks.
Is there some way to quickly get documentation related health checks?