Skip to content

Consider adding a mode which doesn't use Blobs #58

Open
@mstange

Description

@mstange

When running JetStream in the browser, prefetchResourcesForBrowser turns all JS URLs into blob URLs.

These blob URLs make profiling significantly harder.

For example, https://webkit-jetstream-preview.netlify.app/cdjs/call_sign.js
might become blob:https://webkit-jetstream-preview.netlify.app/b151b0cb-69f0-4d3d-a764-80edb3af7d65

Losing the original path makes it harder to look up the source code based on profiles.
Furthermore, the UUIDs in the Blob URL are different in each run, which makes it harder to compare the runtime of a function between runs.

Could we have a mode which doesn't throw away the JS URLs?

For example, we could add a noPreload query parameter, so that when running e.g. https://webkit-jetstream-preview.netlify.app/?noPreload, we would skip the call to prefetchResourcesForBrowser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions