SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

Implement performance.timeOrigin (#53660)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/53660

Changelog: [internal]

(This is internal because these APIs aren't enabled in OSS yet)

Implements `performance.timeOrigin` to allow converting timestamps from `performance.now()` to be based on the Unix epoch.

This implementation isn't fully spec-compliant to align with the current implementation of `performance.now()`, where the base of the clock is system boot time instead of app startup / navigation time.

Reviewed By: huntie

Differential Revision: D82016724

fbshipit-source-id: e3a066721cecf41e2fd963beb94a0a2f1c5d6493
R
Rubén Norte committed
529f55c8c933fd314f199b0445eb0bc0e8e3dfd5
Parent: 481fb61
Committed by Facebook GitHub Bot <[email protected]> on 9/10/2025, 11:48:55 AM