pursuit icon indicating copy to clipboard operation
pursuit copied to clipboard

Slow page loads on packages with many modules

Open baffalop opened this issue 2 years ago • 1 comments

Pursuit is overall a fantastic tool, but unfortunately one of my first experiences using it in anger was when I started learning Deku. At first I thought some links weren't working at all, because every single page load on that package takes ~6s for me. I suspect the thing about this package that gives Pursuit a severe performance hit is number of modules: I think it has a separate module for every single attribute and every element in the HTML spec.

Is it because of Pursuit's file-based database that this particularly impacts performance? I imagine reading and parsing many small files will be slower than a handful of huge ones. Are there any quick wins to be had mitigating this?

baffalop avatar Mar 24 '23 21:03 baffalop

Unfortunately, I'm not familiar enough with this codebase to answer your questions.

JordanMartinez avatar Mar 25 '23 17:03 JordanMartinez