firefox-devtools / firefox-devtools/profiler

De-duplicate performance.mark and performance.measure

Open
#658 6 comments 0 reactions 0 assignees View on GitHub
markers polish
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 5h
Merged PRs (30d)
30

Description

`performance.measure()` requires a start and end mark. In our marker processing step we should de-duplicate the marks that are used to create measures. Currently we are showing 3 markers for every 1 measure.

This work should most likely be done in: https://github.com/devtools-html/perf.html/blob/7d9ac63cb58629a458d96a7a9150716cdc358ee4/src/profile-logic/profile-data.js#L905-L959

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-675)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.