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 · 1 comment
Open

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

crawshaw opened this issue May 6, 2020 · 1 comment

Comments

@crawshaw
Copy link
Contributor

@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
@gopherbot gopherbot added the pkgsite label 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
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
3 participants
You can’t perform that action at this time.