Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/pkgsite: slower loads than godoc.org #38892

Open
crawshaw opened this issue May 6, 2020 · 2 comments
Open

x/pkgsite: slower loads than godoc.org #38892

crawshaw opened this issue May 6, 2020 · 2 comments
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite

Comments

@crawshaw
Copy link
Member

crawshaw commented May 6, 2020

Comparing two package doc page loads in Chrome's network inspector. Caching disabled, from Sydney Australia. Best of several loads:

https://godoc.org/net/http

8 requests
162 kB transferred
515 kB resources
Finish: 1.36 s
DOMContentLoaded: 1.21 s
Load: 1.23 s

https://pkg.go.dev/net/http

18 requests
163 kB transferred
388 kB resources
Finish: 2.05 s
DOMContentLoaded: 1.59 s
Load: 1.68 s

The total transferred content is roughly the same, but time to DOMContentLoad and final Load is significantly longer. The qualitative result is pkg.go.dev feels like the slow option.

@gopherbot gopherbot added this to the Unreleased milestone May 6, 2020
@julieqiu
Copy link
Member

julieqiu commented May 6, 2020

Thanks for the feedback, @crawshaw! We'll work on making this experience better.

@julieqiu julieqiu added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label May 6, 2020
@julieqiu julieqiu changed the title go.dev: slower loads than godoc.org x/pkgsite: slower loads than godoc.org Jun 15, 2020
@julieqiu julieqiu removed the website label Sep 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. pkgsite
Projects
None yet
Development

No branches or pull requests

4 participants
@crawshaw @julieqiu @gopherbot and others