Ash K on Nostr: Benchmark of the day. Rasterising a large SVG on the main thread (drawing an img ...
Benchmark of the day. Rasterising a large SVG on the main thread (drawing an img element to canvas), vs in a web worker using canvg to do the same. Canvg takes twice as long, but on slower machines the on-thread method drops frames. Which one do you pick? cc
Joshua Byrd (npub1m0e…mqsy) #WebDev #SVG