We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f51ca0f commit cd39d0aCopy full SHA for cd39d0a
index.js
@@ -430,6 +430,24 @@ module.exports = {
430
if (entry.response) {
431
entry.response.content.size += params.dataLength;
432
}
433
+
434
+ const page = pages.find(page => page.id === entry.pageref);
435
436
+ if (entry._chunks && page) {
437
+ entry._chunks.push({
438
+ ts: formatMillis((params.timestamp - page.__timestamp) * 1000),
439
+ bytes: params.dataLength
440
+ });
441
+ } else if (page) {
442
+ entry._chunks = [
443
+ {
444
+ ts: formatMillis(
445
+ (params.timestamp - page.__timestamp) * 1000
446
+ ),
447
448
+ }
449
+ ];
450
451
452
break;
453
0 commit comments