w3c / server-timing

Server Timing
http://w3c.github.io/server-timing/
Other
75 stars 20 forks source link

Spec should clarify that metrics are in seconds #11

Closed dpogue closed 7 years ago

dpogue commented 7 years ago

There's current no units defined in the spec for how the Server-Timing metric will be interpreted.

sroussey commented 7 years ago

It is actually meant to be in ms, not s.

igrigorik commented 7 years ago

duration is defined as DOMHighResTimestamp.

A DOMHighResTimeStamp should represent a time in milliseconds accurate to 5 microseconds

dpogue commented 7 years ago

Okay, I'll file a Chrome DevTools bug then. It seems to be expecting the results in seconds. Thanks

EDIT: Filed as Chrome bug #704340 for the sake of cross-referencing