Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Enable cross-origin isolation to improve timing precision #233

@nolanlawson

Description

@nolanlawson

By adding the HTTP headers to enable cross-origin isolation, it should be possible to get higher-precision timing from APIs like performance.now() and performance.mark()/measure(), at least in Chromium and Firefox.

This ought to help Tachometer provide more stable results. Also, since the Tachometer benchmark site doesn't pull in any cross-origin resources (AFAIK), it should be a non-breaking change.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions