https://developer.mozilla.org/en-US/docs/Performance/Profili...
You would need to use a nightly release to get that though, and only on the platforms that are currently supported.