7 ms·
Author here, I'm working on making it faster. Currently, for the test page https://github.com/letmutex/htmd/blob/main/examples/page-to-markdown/html/Elon%20Mus
by letmutex 2y ago
Author here, I'm working on making it faster.
Currently, for the test page https://github.com/letmutex/htmd/blob/main/examples/page-to-markdown/html/Elon%20Musk%20-%20Wikipedia.html https://github.com/letmutex/htmd/blob/main/examples/page-to-..., the debug build is slower than turndown.js (~750ms vs ~670ms on my machine), the release build brings that down to ~170ms. It can definitely be faster, at least the debug build shouldn't be slower than turndown.js.
I haven't checked which parts can be improved, so I'm not sure how much time we can save after optimization.