Open Bug 1768438 Opened 2 years ago Updated 2 years ago

Consider using performance.mark/performance.measure instead of performance.now in talos tests

Categories

(Testing :: Talos, enhancement, P3)

enhancement

Tracking

(Not tracked)

People

(Reporter: canova, Unassigned)

References

(Blocks 1 open bug)

Details

Using performance.mark/performance.measure makes it much easier to take a look at the profiler data because it also creates markers for these events automatically. That way users can easily take a look at the profile data to analyze it. It's important for having more actionable profiles.

Severity: -- → S3
Priority: -- → P3

During the discussion we had in the performance work week, we discussed that we can also keep the performance.now and add markers with ChromeUtils.addProfilerMarker. The reason behind using ChromeUtils is the performance advantage compared to using performance.mark/measure. I will look at our performance.now usages and overhead of using performance.mark/measure instead and decide what to use.

You need to log in before you can comment on or make changes to this bug.