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

Comments

@crawshaw
Copy link
Member

@crawshaw 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
Contributor

@julieqiu julieqiu commented May 6, 2020

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

@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 this from the Unreleased milestone Jul 29, 2020
@julieqiu julieqiu added this to the pkgsite/godoc.org-redirect milestone Jul 29, 2020
@julieqiu julieqiu removed the go.dev label Sep 22, 2020
@julieqiu julieqiu removed this from the pkgsite/godoc.org-redirect milestone Dec 2, 2020
@julieqiu julieqiu added this to the Unplanned milestone Dec 2, 2020
@julieqiu julieqiu removed this from the Unplanned milestone Dec 2, 2020
@julieqiu julieqiu added this to the pkgsite/unplanned milestone Dec 2, 2020
@wxolp

This comment was marked as off-topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants