News for hackers. Stuff that matters.
Re:Render mathematical expressions in Markdown On GitHub by lelandfe on Friday May 20, 2022 @06:42AM (#31445588)
Let me rephrase: distributing work to web workers won’t be faster in first page load than images in this conversation.

Because we have to participate in the main thread either way, prerendered images will always paint faster. There is simply too much action in the thread during the initial GitHub page lifecycle. The 40-50ms (~one long task) cost of spinning up a new web worker just solidifies that.

There are no comments on this comment yet.