MCPcopy
hub / github.com/Zizzamia/perfume.js / markStep

Function markStep

src/steps/markStep.ts:18–24  ·  view source on GitHub ↗
(mark: string)

Source from the content-addressed store, hash-verified

16 *
17 */
18export const markStep = (mark: string) => {
19 if (!isPerformanceSupported()) {
20 return;
21 }
22 WP.mark(M + mark);
23 measureSteps(mark);
24};
25
26// --------------------- TMP Location Before Deprecation -----------------
27// For start(), end(), clear()

Callers 4

navSteps.spec.tsFile · 0.90

Calls 2

isPerformanceSupportedFunction · 0.90
measureStepsFunction · 0.90

Tested by

no test coverage detected