Skip to content
This repository has been archived by the owner on Feb 22, 2024. It is now read-only.

Dellsystem #104

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Dellsystem #104

wants to merge 10 commits into from

Conversation

hc5
Copy link
Contributor

@hc5 hc5 commented Dec 28, 2011

No description provided.

hc5 added 5 commits December 27, 2011 22:03
…ts files created before the implementation of cache)
…ST) version of mathjax caching.

So far from the various documents I've tested this on, the rendering time of the page still stays well under
0.5 s even with 170 equations on the page. For reference without mathjax caching or markdown caching the page
renders in about 0.2 s, with markdown caching the page renders in 0.01-0.03 seconds.
@dellsystem
Copy link
Owner

Awesome. I'll have to look through the changes more carefully and merge this in some other time (manually, since I have possibly conflicting changes that I haven't yet pushed). My Internet connection is consistently terrible so that might take a while sorry (just loading this page took ages)

@hc5
Copy link
Contributor Author

hc5 commented Dec 30, 2011

New benchmarks. Still considerably slower than just MD cache, but it has no overhead if there are no mathjax elements, and it seems to be a good trade off for saving 30 s+ of loading time on client side. also not gonna lie this shit is fun

On HTSEFP:

Improved Mathjax caching
Connection rate: 13.8 conn/s (72.5 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 67.0 avg 72.5 max 112.0 median 69.5 stddev 6.9
Connection time [ms]: connect 0.5

On page with no mathjax, using http://beta.wikinotes.ca/BIOL_111/summary/fall-2010/organism-chart:

Improved Mathjax caching
Connection rate: 29.9 conn/s (33.5 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 31.0 avg 33.5 max 47.0 median 32.5 stddev 3.5
Connection time [ms]: connect 0.5

On page with heavy(100+) mathjax usage, using http://beta.wikinotes.ca/MATH_223/past-exam/fall-2011/final

Improved Mathjax caching
Connection rate: 5.4 conn/s (184.0 ms/conn, <=1 concurrent connections)
Connection time [ms]: min 159.0 avg 184.0 max 402.0 median 185.5 stddev 25.5
Connection time [ms]: connect 1.1

@dellsystem
Copy link
Owner

👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants