I used to use marked but now exploring marktex.
However, before I swapped I put some logging around how long it takes to render. E.g.
let t0=performance.now()
text = marktex(text)
let t1=performance.now()
console.warn('marktex', t1-t0);
I did this for both rendering engines. Ran lots and lots of markdown through them and the collected the times and analyzed each's average:
MARKED 0.146812227074
MARKTEX 1.331
I know I need the gfm features but I'm not entirely sure what options are the ones that slow down the most. Is it just that marktex does more?
I used to use marked but now exploring marktex.
However, before I swapped I put some logging around how long it takes to render. E.g.
I did this for both rendering engines. Ran lots and lots of markdown through them and the collected the times and analyzed each's average:
I know I need the gfm features but I'm not entirely sure what options are the ones that slow down the most. Is it just that marktex does more?