• Home
  • Raw
  • Download

Lines Matching refs:jsDataCache

26 const jsDataCache: {  constant
285 jsDataCache.id.push(item.id);
286 jsDataCache.startTime.push(item.startTime);
287 jsDataCache.endTime.push(item.endTime);
288 jsDataCache.selfTime.push(item.selfTime);
289 jsDataCache.totalTime.push(item.totalTime);
290 jsDataCache.column.push(item.column);
291 jsDataCache.line.push(item.line);
292 jsDataCache.depth.push(item.depth);
293 jsDataCache.parentId.push(item.parentId);
294 jsDataCache.nameId.push(item.nameId);
295 jsDataCache.samplesIds.push([...item.samplesIds]);
296 jsDataCache.urlId.push(item.urlId);
297 jsDataCache.childrenIds.push([...item.childrenIds]);
298 if (item.depth + 1 > jsDataCache.maxDepth) {
299 jsDataCache.maxDepth = item.depth + 1;
313 let dataFilter = jsDataCache;
358 maxDepth: jsDataCache.maxDepth,
390 jsDataCache.childrenIds = [];
391 jsDataCache.column = [];
392 jsDataCache.depth = [];
393 jsDataCache.endTime = [];
394 jsDataCache.id = [];
395 jsDataCache.line = [];
396 jsDataCache.nameId = [];
397 jsDataCache.parentId = [];
398 jsDataCache.samplesIds = [];
399 jsDataCache.selfTime = [];
400 jsDataCache.startTime = [];
401 jsDataCache.totalTime = [];
402 jsDataCache.urlId = [];
403 jsDataCache.maxDepth = 1;
409 if (jsDataCache) {
411 let column = new Int32Array(jsDataCache.column);
412 let depth = new Int32Array(jsDataCache.depth);
413 let endTime = new Float64Array(jsDataCache.endTime);
414 let id = new Int32Array(jsDataCache.id);
415 let line = new Int32Array(jsDataCache.line);
416 let nameId = new Int32Array(jsDataCache.nameId);
417 let parentId = new Int32Array(jsDataCache.parentId);
418 let samplesIds = jsDataCache.samplesIds;
419 let selfTime = new Float64Array(jsDataCache.selfTime);
420 let startTime = new Float64Array(jsDataCache.startTime);
421 let totalTime = new Float64Array(jsDataCache.totalTime);
422 let urlId = new Int32Array(jsDataCache.urlId);
423 let childrenIds = jsDataCache.childrenIds;
424 for (let i = 0; i < jsDataCache.startTime.length; i++) {
448 jsDataCache.startTime.reduce((pre, current, index) => {
449 …if (jsDataCache.totalTime[index] > 0 && current + jsDataCache.totalTime[index] >= startNS && curre…
456 let key = `${x}-${jsDataCache.depth[index]}`;
459 … pre[key] = jsDataCache.totalTime[preIndex] > jsDataCache.totalTime[index] ? preIndex : index;
470 dataSource.column.push(jsDataCache.column[index]);
471 dataSource.depth.push(jsDataCache.depth[index]);
472 dataSource.endTime.push(jsDataCache.endTime[index]);
473 dataSource.id.push(jsDataCache.id[index]);
474 dataSource.line.push(jsDataCache.line[index]);
475 dataSource.nameId.push(jsDataCache.nameId[index]);
476 dataSource.parentId.push(jsDataCache.parentId[index]);
477 dataSource.samplesIds.push(jsDataCache.samplesIds[index]);
478 dataSource.selfTime.push(jsDataCache.selfTime[index]);
479 dataSource.startTime.push(jsDataCache.startTime[index]);
480 dataSource.totalTime.push(jsDataCache.totalTime[index]);
481 dataSource.urlId.push(jsDataCache.urlId[index]);
482 dataSource.childrenIds.push(jsDataCache.childrenIds[index]);