spec: https://wicg.github.io/js-self-profiling/