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

Function endMark

code/redux/public/app.js:7748–7761  ·  view source on GitHub ↗
(label, markName, warning$$1)

Source from the content-addressed store, hash-verified

7746};
7747
7748var endMark = function (label, markName, warning$$1) {
7749 var formattedMarkName = formatMarkName(markName);
7750 var formattedLabel = formatLabel(label, warning$$1);
7751 try {
7752 performance.measure(formattedLabel, formattedMarkName);
7753 } catch (err) {}
7754 // If previous mark was missing for some reason, this will throw.
7755 // This could only happen if React crashed in an unexpected place earlier.
7756 // Don't pile on with more errors.
7757
7758 // Clear marks immediately to avoid growing buffer.
7759 performance.clearMarks(formattedMarkName);
7760 performance.clearMeasures(formattedLabel);
7761};
7762
7763var getFiberMarkName = function (label, debugID) {
7764 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