MCPcopy Index your code
hub / github.com/handsontable/handsontable / getRunTaskEnd

Function getRunTaskEnd

performance-tests/trace-parser.mjs:691–699  ·  view source on GitHub ↗
(ts)

Source from the content-addressed store, hash-verified

689
690 // Find RunTask end for a given timestamp
691 function getRunTaskEnd(ts) {
692 for (const rt of runTaskEvents) {
693 if (ts >= rt.ts && ts < rt.ts + rt.dur) {
694 return rt.ts + rt.dur;
695 }
696 }
697
698 return ts; // shouldn't happen
699 }
700
701 // Sum up scripting time from non-idle samples in RunTask gaps
702 let profileCallScriptingUs = 0;

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…