3 ms·
The slow part here is going to be HTML handling. The comparator - turndown.js - is built on top of domino.js, a mature HTML lib built as a more performance-foc
by lucideer 2y ago
The slow part here is going to be HTML handling.
The comparator - turndown.js - is built on top of domino.js, a mature HTML lib built as a more performance-focused version of Mozilla's DOMJS (an already mature project in itself), so even as slow as NodeJS itself may be, you're running up against some pretty well-crafted libraries in an ecosystem with a long lineage of HTML handling.