MCPcopy
hub / github.com/single-spa/single-spa / addProfileEntry

Function addProfileEntry

src/devtools/profiler.js:16–32  ·  view source on GitHub ↗
(
  type,
  name,
  kind,
  start,
  end,
  operationSucceeded
)

Source from the content-addressed store, hash-verified

14 * @param {number} end
15 */
16export function addProfileEntry(
17 type,
18 name,
19 kind,
20 start,
21 end,
22 operationSucceeded
23) {
24 profileEntries.push({
25 type,
26 name,
27 start,
28 end,
29 kind,
30 operationSucceeded,
31 });
32}
33
34export function clearProfilerData() {
35 profileEntries = [];

Callers 10

toUnloadPromiseFunction · 0.90
toBootstrapPromiseFunction · 0.90
successfulBootstrapFunction · 0.90
toLoadPromiseFunction · 0.90
toMountPromiseFunction · 0.90
setSkipBecauseBrokenFunction · 0.90
unmountAppOrParcelFunction · 0.90
toUpdatePromiseFunction · 0.90
loadAppsFunction · 0.90
performAppChangesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…