gerby-project / gerby-website

Tag-based webview of LaTeX documents
MIT License
28 stars 22 forks source link

Benchmark #17

Closed pbelmans closed 6 years ago

pbelmans commented 7 years ago

We should do benchmarks, and see whether there are certain bottlenecks.

pbelmans commented 6 years ago

With muatik/flask-profiler this is actually extremely easy. Some quick clicking around on my local copy shows that the following pages are heavy (>0.1 sec):

Actual tag pages are fine, with a maximum of 0.1 sec in my not very systematic test.

PatrickMassot commented 6 years ago

I haven't been following what happened (although I do receive notifications). Are you using server-side or client-side mathjax in the end? Are there instructions somewhere to setup a test web site (or maybe even a public test site) to see how far you went up to now?

pbelmans commented 6 years ago

So far we are using client-side MathJax (so these timings are not how long it takes for the user to see a fully rendered page).

I was going to write instructions for setting up the site one of these days (the preliminary instructions for plasTeX have been available for a while). Eventually these will become README.markdown's of course.

pbelmans commented 6 years ago

We are running profiling on the server now, I'll make dedicated issues for those pages which are slow.