compodoc: [BUG] Documentation Generation is Slow with Large Projects

Overview of the issue

I have an Angular 2.4 CLI project with 10ish modules and nearly 90 components (and growing!). When I run compodoc, it takes about 2-3 minutes to complete. This is a great piece of software, and I love it, but 3 minutes to build our documentation library is rough, especially coming from AngularJS, where a single pass of gulp-ngdoc on an application twice as big takes less than a second.

Operating System, Node.js, npm, compodoc version(s)

This seems to happen regardless of the environment… Windows 8 & Mac OS X compodoc 0.0.40 npm 4.0.5 node 7.4.0

Compodoc installed globally or locally ?

locally

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 1
  • Comments: 25 (13 by maintainers)

Commits related to this issue

Most upvoted comments

@RobertBroersma @jongunter I have found the source of this issue, it was about files initial scanning, and glob exclusion in exclude attribute in tsconfig.json. The scanning part has been rewritten, and successfully tested on Primeng project, which has around 228 modules and 206 components. The fix will come in next release 1.0.0-beta.14 If you want to test before, install locally the development version of compodoc :

npm i --save-dev https://github.com/compodoc/compodoc#develop
node_modules/bin/compodoc -p src/tsconfig.json

@csentis

Fixed, little issue with chokidar and root markdowns files support. Ok in development branch. Release 1.0.0-beta.14 very soon this week.