Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Does Codidact render MathJAX more slowly than StackExchange?

+4
−2

Apology if the issue is my Internet connection. Does MathJAX render more sluggishly here than on Stack Ex for anyone else?

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.
Why should this post be closed?

2 comment threads

Yes! But, not too much. (1 comment)
General comments (2 comments)

1 answer

+5
−0

As Derek Elkins says, MathJax is rendered client-side both here and on StackExchanges.

That means that Internet connection speed as well as server latency only influence how long it takes until the content is loaded and your browser starts rendering.

The rendering time itself is only influenced by the choice of the JavaScript MathJax rendering library and the overall page HTML layout (in case reflows are necessary) and possibly also all the other rendering processes that are going on.

It seems that the used scripts are currently https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-AMS_HTML-full for StackExchange and https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js for Codidact.

Maybe there are also specific settings of these libraries that can influence the rendering speed.

Just now I compared the rendering of a simple matrix with about 20 rows pasting it into the ask question form of math.stackexchange/codidact and waiting for the preview to render and while StackExchange was almost instantaneous, Codidact took like half a second to start rendering but didn't take longer, when I increased the number of rows in the matrix. I therefore guess that the delay for Codidact is simply a delay to not constantly update the preview form while StackExchange doesn't do that (I didn't want to publish dummy questions).

Overall I very much expect the pure rendering performance of MathJax to be quite similar on both platforms. One would need more sophisticated setups to really measure it.

History
Why does this post require attention from curators or moderators?
You might want to add some details to your flag.

0 comment threads

Sign up to answer this question »