LuxDL / DocumenterVitepress.jl

Documentation with Documenter.jl and VitePress
https://luxdl.github.io/DocumenterVitepress.jl/
MIT License
73 stars 11 forks source link

Larger pages than default Documenter.jl #67

Open LilithHafner opened 6 months ago

LilithHafner commented 6 months ago

As @goerz mentioned in #64, DocumenterVitepress (unsurprisingly) serves larger webpages than Documenter.jl.

x@fedora:~/.julia/dev$ time curl https://chairmarks.lilithhafner.com/v1.0.2/tutorial/ | wc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 19207  100 19207    0     0   185k      0 --:--:-- --:--:-- --:--:--  185k
     62    1974   19207

real    0m0.113s
user    0m0.023s
sys 0m0.008s
x@fedora:~/.julia/dev$ time curl https://chairmarks.lilithhafner.com/v1.1.0/tutorial | wc
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 67571  100 67571    0     0   442k      0 --:--:-- --:--:-- --:--:--  442k
     83    3221   67571

real    0m0.157s
user    0m0.014s
sys 0m0.006s

(Chairmarks v1.0.2 and below uses Dcoumenter.jl without Vitepress and 1.1.0 and above uses Documenter.jl and DocumenterVitepress.jl)

While some increase in page size is to be expected in exchange for fancier formatting, 3.5x is a large increase and perhaps it's worth auditing if it's possible to get that page size down.