futurGH/ts-to-jsdoc

slow

Closed this issue · 2 comments

ts-to-jsdoc is painfully slow

running the 2 small tests from #6 takes 40 seconds on my quad-core laptop

im aware that this is a limitation of the upstream ts-morph which uses typescript under the hood

maybe we can disable type checking?
maybe we can use swc?

Hm, a ts-to-jsdoc with ts-morph ripped out wouldn't really be ts-to-jsdoc.. I want to avoid scope creep without a compelling reason, since this isn't all that complex a project in the first place. If you want to try implementing that, go for it; I'd be happy to include a link in the README pointing to it as a faster option, but I don't think it's something I want to include in this project.

yeah, demand is like zero.
most people will just use deno (based on swc) to run typescript