question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] Documentation Generation is Slow with Large Projects

See original GitHub issue
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

Issue Analytics

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

github_iconTop GitHub Comments

2reactions
vogloblinskycommented, Jul 27, 2017

@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
1reaction
vogloblinskycommented, Aug 8, 2017

@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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

162401 – [code model] Parsing large projects is too slow & ...
I am trying to index a rather large project, the ACE+TAO middleware ... In the normal project creation, the "build" folder is excluded....
Read more >
Loading project takes ages - Bugs Report
Katalon project very slow to open on startup of Katalon --- VPN? ... A large project would take long to build on startup....
Read more >
Slow performance with v6.83 - Problems / Bugs
Hi,. I am working on numerous large scale projects and I have noticed very slow performance in working on the following cases: -...
Read more >
566090 – IDE freeze when invoking show implementations on large ...
Bug 566090 - IDE freeze when invoking show implementations on large projects ... Some thing to note is the type hierarchy generation is...
Read more >
Bug - Addressables - Extremely slow load time
Talking about / The project in question has about 5gb of assets (in the built player), so it's not particularly large. It's for...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found