MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / endMark

Function endMark

code/composition/public/app.js:7635–7648  ·  view source on GitHub ↗
(label, markName, warning$$1)

Source from the content-addressed store, hash-verified

7633};
7634
7635var endMark = function (label, markName, warning$$1) {
7636 var formattedMarkName = formatMarkName(markName);
7637 var formattedLabel = formatLabel(label, warning$$1);
7638 try {
7639 performance.measure(formattedLabel, formattedMarkName);
7640 } catch (err) {}
7641 // If previous mark was missing for some reason, this will throw.
7642 // This could only happen if React crashed in an unexpected place earlier.
7643 // Don't pile on with more errors.
7644
7645 // Clear marks immediately to avoid growing buffer.
7646 performance.clearMarks(formattedMarkName);
7647 performance.clearMeasures(formattedLabel);
7648};
7649
7650var getFiberMarkName = function (label, debugID) {
7651 return label + ' (#' + debugID + ')';

Callers 6

endFiberMarkFunction · 0.70
stopRequestCallbackTimerFunction · 0.70
stopWorkLoopTimerFunction · 0.70
stopCommitTimerFunction · 0.70

Calls 2

formatMarkNameFunction · 0.70
formatLabelFunction · 0.70

Tested by

no test coverage detected