@3dsource/angular-unreal-module 0.0.146-dev.7 → 0.0.146-dev.8
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
|
@@ -1291,25 +1291,26 @@ declare class StreamStatusTelemetryService2 {
|
|
|
1291
1291
|
/**
|
|
1292
1292
|
* Emit the region / signaling / webrtc phases for an ADOPTED connection.
|
|
1293
1293
|
*
|
|
1294
|
-
* The prefetch script established the connection in
|
|
1295
|
-
* so
|
|
1296
|
-
*
|
|
1297
|
-
*
|
|
1298
|
-
*
|
|
1299
|
-
*
|
|
1300
|
-
*
|
|
1301
|
-
*
|
|
1302
|
-
*
|
|
1303
|
-
*
|
|
1304
|
-
*
|
|
1305
|
-
*
|
|
1306
|
-
* - `prefetchSavedMs` — how much of it completed before Angular was ready.
|
|
1307
|
-
* - `adoptionWaitMs` — the actual wait Angular experienced (= window).
|
|
1308
|
-
* - `adoptionOverheadMs` — gap between prefetch-ready and adoption.
|
|
1294
|
+
* The prefetch script established the connection in PARALLEL with page load,
|
|
1295
|
+
* so the phases are positioned at their real (anchor-relative) spans — shifted
|
|
1296
|
+
* LEFT to overlap the HTML-loading / route-idle rows — rather than sequentially
|
|
1297
|
+
* after them. That's the whole point of the prefetch: the handshake already
|
|
1298
|
+
* happened while the page was loading. Each phase ships:
|
|
1299
|
+
* - `duration` — the real sub-step time the prefetch spent.
|
|
1300
|
+
* - `spanStartMs` — anchor-relative start, so the viewer left-shifts the bar.
|
|
1301
|
+
* - `adoptionAtMs` — where Angular took over (the next phase, Unreal
|
|
1302
|
+
* communication, resumes here on the sequential timeline).
|
|
1303
|
+
* - savings params: `prefetchConnectMs` (full handshake), `prefetchSavedMs`
|
|
1304
|
+
* (done before Angular was ready), `adoptionWaitMs` (real connect→adopted
|
|
1305
|
+
* wait), `adoptionOverheadMs` (prefetch-ready → adopted gap).
|
|
1309
1306
|
*/
|
|
1310
1307
|
private emitAdoptedConnection;
|
|
1311
|
-
/**
|
|
1312
|
-
*
|
|
1308
|
+
/**
|
|
1309
|
+
* Emit one adopted phase positioned at its real `spanStartMs` (left-shifted
|
|
1310
|
+
* to overlap page load) with its real prefetch `duration`. `prefetched`,
|
|
1311
|
+
* `spanStartMs` and `adoptionAtMs` ride as top-level wire fields the viewer
|
|
1312
|
+
* uses to lay the bar out; the rest become display params.
|
|
1313
|
+
*/
|
|
1313
1314
|
private emitAdoptedPhase;
|
|
1314
1315
|
/** Streamer identity params for the adopted signaling phase — mirrors the
|
|
1315
1316
|
* `ssinfo-received` closer's shape (client / instanceName / …ssData). */
|