Skip to content

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

Closed as not planned
Closed as not planned
@crawshaw

Description

@crawshaw

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.pkgsite

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions