@3dsource/angular-unreal-module 0.0.149-dev.0 → 0.0.149-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -298,16 +298,6 @@ interface ParkedStream {
|
|
|
298
298
|
declare global {
|
|
299
299
|
interface Window {
|
|
300
300
|
__stream?: ParkedStream;
|
|
301
|
-
/** Main-thread long-task log collected by the optional `perf-longtask.js`
|
|
302
|
-
* head-script from page start. Read once at adoption to attribute the
|
|
303
|
-
* boot gap. `start`/`dur` are ms in the page `performance.now()` timebase. */
|
|
304
|
-
__streamPerf?: {
|
|
305
|
-
longTasks: {
|
|
306
|
-
start: number;
|
|
307
|
-
dur: number;
|
|
308
|
-
}[];
|
|
309
|
-
supported: boolean;
|
|
310
|
-
};
|
|
311
301
|
}
|
|
312
302
|
}
|
|
313
303
|
|
package/js/perf-longtask.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(()=>{"use strict";if(window.__streamPerf)return;const t=1e3,e=window.__streamPerf={longTasks:[],supported:!1};try{new PerformanceObserver(o=>{for(const r of o.getEntries()){if(e.longTasks.length>=t)break;e.longTasks.push({start:Math.round(r.startTime),dur:Math.round(r.duration)})}}).observe({type:"longtask",buffered:!0}),e.supported=!0}catch{}})();
|