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

Expose time from the hardware timestamp to startTime #32

Open
yoavweiss opened this issue Nov 27, 2023 · 1 comment
Open

Expose time from the hardware timestamp to startTime #32

yoavweiss opened this issue Nov 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@yoavweiss
Copy link
Collaborator

At #14 we decided that the best startTime timestamp is at the processing end, as it toughly matches (even if not precisely) what other navigations are doing on the platform.

But, talking to @noamr, he made the argument that it'd be good to have a less ambigous timestamp that would enable various future comparisons - the hardward timestamp.

So, we talked about exposing an interactionToStartTime measurement, that would represent the duration between the hardware timestamp and startTime. It may be interesting to also expose the same as part of NavigationTiming.

^^ @mmocny @iclelland

@yoavweiss yoavweiss added the enhancement New feature or request label Nov 27, 2023
@mmocny
Copy link

mmocny commented Nov 30, 2023

Makes sense to me.

LoAF has a similar idea in its "firstUIEventTimestamp".

In a perfect world, we would directly link to an Event Timing entry and/or interactionID, but you can use event.timeStamp and event.type to == on EventTiming.startTime and EventTiming.name -- and then you don't have to wait for presentation time (LoAF has the same issue)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants