Measured performance decrease between major releases of Marked, time for a performance pass?
Author: alystairCreated Jan 12, 2022Updated Mar 1, 2022
Labelsproposal
What pain point are you perceiving? Since MarkedJS's inception most major versions have increased time needed to complete parsing. The numbers shown below were captured on second page load /w 6x CPU slowdown - only Marked version being revised, nothing else. Marked processing time has increased more than 2x since v0.8.2
Version 0.8.2

Version 2.0.3

Version 4.0.9

Describe the solution you'd like Perhaps it's time to look at an optimization pass and potential short circuits that could be taken to restore some previously lost performance? I feel performance should remain somewhat consistent...
Source: markedjs/marked