MCPcopy Index your code
hub / github.com/facebook/react / done

Function done

packages/react-devtools-shared/src/PerformanceLoggingUtils.js:101–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99 }
100
101 const done = () => {
102 if (__PERFORMANCE_PROFILE__) {
103 measure(markName);
104 }
105
106 if (onComplete != null) {
107 const duration = now() - start;
108 onComplete(duration);
109 }
110 };
111 return callback(done);
112}

Callers 2

loadHookNamesFunction · 0.85
fetchFileFunction · 0.85

Calls 2

measureFunction · 0.85
nowFunction · 0.70

Tested by

no test coverage detected