youtube image
From YouTube: Comparison of highlighting via WASM vs using pure javascript

Description

In order to try to figure out whether we can replace our syntax highlighting library with a faster WASM version, I decided to benchmark different solutions out there.

I'm using Highlight.js and comparing it to Chroma (go) and Syntect (rust)

The code can be found here:
https://gitlab.com/shekharpatnaik/wasm-syntax-highlighting-comparison