Instantly share code, notes, and snippets.

Embed
What would you like to do?
==== performance.getEntries() ====
[
{
"name": "https://www.peterbe.com/",
"entryType": "navigation",
"startTime": 0,
"duration": 875.9999999892898,
"initiatorType": "navigation",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 0.10000000474974513,
"domainLookupStart": 13.299999991431832,
"domainLookupEnd": 35.99999999278225,
"connectStart": 35.99999999278225,
"connectEnd": 282.00000000651926,
"secureConnectionStart": 93.30000000772998,
"requestStart": 284.4000000040978,
"responseStart": 406.4000000071246,
"responseEnd": 409.6999999892432,
"transferSize": 18471,
"encodedBodySize": 18086,
"decodedBodySize": 72403,
"serverTiming": [],
"unloadEventStart": 0,
"unloadEventEnd": 0,
"domInteractive": 436.5000000107102,
"domContentLoadedEventStart": 875.89999998454,
"domContentLoadedEventEnd": 875.9999999892898,
"domComplete": 875.9999999892898,
"loadEventStart": 875.9999999892898,
"loadEventEnd": 875.9999999892898,
"type": "navigate",
"redirectCount": 0
},
{
"name": "https://www.peterbe.com/static/css/base.min.8c1ef15190f7.css",
"entryType": "resource",
"startTime": 422.3000000056345,
"duration": 217.79999998398125,
"initiatorType": "link",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 422.3000000056345,
"domainLookupStart": 422.3000000056345,
"domainLookupEnd": 422.3000000056345,
"connectStart": 422.3000000056345,
"connectEnd": 422.3000000056345,
"secureConnectionStart": 0,
"requestStart": 422.69999999552965,
"responseStart": 530.9999999881256,
"responseEnd": 640.0999999896158,
"transferSize": 46223,
"encodedBodySize": 45898,
"decodedBodySize": 360844,
"serverTiming": []
},
{
"name": "https://www.peterbe.com/static/js/google-analytics.min.f571ef2df3b3.js",
"entryType": "resource",
"startTime": 425.90000000200234,
"duration": 213.49999998346902,
"initiatorType": "script",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 425.90000000200234,
"domainLookupStart": 425.90000000200234,
"domainLookupEnd": 425.90000000200234,
"connectStart": 425.90000000200234,
"connectEnd": 425.90000000200234,
"secureConnectionStart": 0,
"requestStart": 426.89999999129213,
"responseStart": 639.100000000326,
"responseEnd": 639.3999999854714,
"transferSize": 450,
"encodedBodySize": 167,
"decodedBodySize": 167,
"serverTiming": []
},
{
"name": "https://www.google-analytics.com/analytics.js",
"entryType": "resource",
"startTime": 426.10000001150183,
"duration": 153.09999999590218,
"initiatorType": "script",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 426.10000001150183,
"domainLookupStart": 426.7999999865424,
"domainLookupEnd": 461.29999999538995,
"connectStart": 461.29999999538995,
"connectEnd": 532.5000000011642,
"secureConnectionStart": 488.40000000200234,
"requestStart": 532.7000000106636,
"responseStart": 560.5999999970663,
"responseEnd": 579.200000007404,
"transferSize": 16454,
"encodedBodySize": 16173,
"decodedBodySize": 39695,
"serverTiming": []
},
{
"name": "https://www.peterbe.com/static/images/favicon-32.2f7785a88cef.png",
"entryType": "resource",
"startTime": 426.19999998714775,
"duration": 213.6000000173226,
"initiatorType": "img",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 426.19999998714775,
"domainLookupStart": 426.19999998714775,
"domainLookupEnd": 426.19999998714775,
"connectStart": 426.19999998714775,
"connectEnd": 426.19999998714775,
"secureConnectionStart": 0,
"requestStart": 431.5000000060536,
"responseStart": 639.5999999949709,
"responseEnd": 639.8000000044703,
"transferSize": 2216,
"encodedBodySize": 1951,
"decodedBodySize": 1951,
"serverTiming": []
},
{
"name": "https://www.peterbe.com/cache/6c/16/6c1697e20c518cddd31e602192b3dd65.png",
"entryType": "resource",
"startTime": 426.2999999918975,
"duration": 220.3999999910593,
"initiatorType": "img",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 426.2999999918975,
"domainLookupStart": 426.2999999918975,
"domainLookupEnd": 426.2999999918975,
"connectStart": 426.2999999918975,
"connectEnd": 426.2999999918975,
"secureConnectionStart": 0,
"requestStart": 431.5000000060536,
"responseStart": 646.5000000025611,
"responseEnd": 646.6999999829568,
"transferSize": 14050,
"encodedBodySize": 13775,
"decodedBodySize": 13775,
"serverTiming": []
},
{
"name": "https://www.peterbe.com/cache/45/89/4589b6a6220541708890269d3bbd222f.png",
"entryType": "resource",
"startTime": 426.2999999918975,
"duration": 277.00000000186265,
"initiatorType": "img",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 426.2999999918975,
"domainLookupStart": 426.2999999918975,
"domainLookupEnd": 426.2999999918975,
"connectStart": 426.2999999918975,
"connectEnd": 426.2999999918975,
"secureConnectionStart": 0,
"requestStart": 431.69999998644926,
"responseStart": 703.0000000086147,
"responseEnd": 703.2999999937601,
"transferSize": 8720,
"encodedBodySize": 8446,
"decodedBodySize": 8446,
"serverTiming": []
},
{
"name": "https://www.peterbe.com/cache/61/82/618271591e03c340de45938eabf1177d.png",
"entryType": "resource",
"startTime": 426.39999999664724,
"duration": 278.50000001490116,
"initiatorType": "img",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 426.39999999664724,
"domainLookupStart": 426.39999999664724,
"domainLookupEnd": 426.39999999664724,
"connectStart": 426.39999999664724,
"connectEnd": 426.39999999664724,
"secureConnectionStart": 0,
"requestStart": 431.69999998644926,
"responseStart": 704.5999999972992,
"responseEnd": 704.9000000115484,
"transferSize": 7207,
"encodedBodySize": 6942,
"decodedBodySize": 6942,
"serverTiming": []
},
{
"name": "https://www.peterbe.com/cache/26/a3/26a37da8427bc1ce86a88c5774a3aa4e.png",
"entryType": "resource",
"startTime": 426.39999999664724,
"duration": 324.9000000068918,
"initiatorType": "img",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 426.39999999664724,
"domainLookupStart": 426.39999999664724,
"domainLookupEnd": 426.39999999664724,
"connectStart": 426.39999999664724,
"connectEnd": 426.39999999664724,
"secureConnectionStart": 0,
"requestStart": 431.69999998644926,
"responseStart": 750.9999999892898,
"responseEnd": 751.300000003539,
"transferSize": 7046,
"encodedBodySize": 6781,
"decodedBodySize": 6781,
"serverTiming": []
},
{
"name": "https://www.peterbe.com/static/img/placeholder.eb3213dc5a98.png",
"entryType": "resource",
"startTime": 426.500000001397,
"duration": 325.29999999678694,
"initiatorType": "img",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 426.500000001397,
"domainLookupStart": 426.500000001397,
"domainLookupEnd": 426.500000001397,
"connectStart": 426.500000001397,
"connectEnd": 426.500000001397,
"secureConnectionStart": 0,
"requestStart": 431.69999998644926,
"responseStart": 751.4999999839347,
"responseEnd": 751.7999999981839,
"transferSize": 540,
"encodedBodySize": 277,
"decodedBodySize": 277,
"serverTiming": []
},
{
"name": "https://www.peterbe.com/static/js/base.min.b3d8838da6c5.js",
"entryType": "resource",
"startTime": 435.2999999828171,
"duration": 381.00000002305023,
"initiatorType": "script",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 435.2999999828171,
"domainLookupStart": 435.2999999828171,
"domainLookupEnd": 435.2999999828171,
"connectStart": 435.2999999828171,
"connectEnd": 435.2999999828171,
"secureConnectionStart": 0,
"requestStart": 435.7000000018161,
"responseStart": 799.2000000085682,
"responseEnd": 816.3000000058673,
"transferSize": 31002,
"encodedBodySize": 30675,
"decodedBodySize": 92163,
"serverTiming": []
},
{
"name": "https://www.peterbe.com/static/js/cssrelpreload.min.3bc1ee6f0a50.js",
"entryType": "resource",
"startTime": 435.39999998756684,
"duration": 380.700000008801,
"initiatorType": "script",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 435.39999998756684,
"domainLookupStart": 435.39999998756684,
"domainLookupEnd": 435.39999998756684,
"connectStart": 435.39999998756684,
"connectEnd": 435.39999998756684,
"secureConnectionStart": 0,
"requestStart": 435.90000001131557,
"responseStart": 815.8999999868684,
"responseEnd": 816.0999999963678,
"transferSize": 809,
"encodedBodySize": 511,
"decodedBodySize": 1122,
"serverTiming": []
},
{
"name": "https://www.peterbe.com/static/js/autocompeter.min.3fc31b1b6673.js",
"entryType": "resource",
"startTime": 435.4999999923166,
"duration": 416.1000000021886,
"initiatorType": "script",
"nextHopProtocol": "h2",
"workerStart": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 435.4999999923166,
"domainLookupStart": 435.4999999923166,
"domainLookupEnd": 435.4999999923166,
"connectStart": 435.4999999923166,
"connectEnd": 435.4999999923166,
"secureConnectionStart": 0,
"requestStart": 436.09999999171123,
"responseStart": 851.3000000093598,
"responseEnd": 851.5999999945052,
"transferSize": 605,
"encodedBodySize": 307,
"decodedBodySize": 477,
"serverTiming": []
},
{
"name": "first-paint",
"entryType": "paint",
"startTime": 813.3000000088941,
"duration": 0
},
{
"name": "first-contentful-paint",
"entryType": "paint",
"startTime": 813.3000000088941,
"duration": 0
}
]
==== performance.toJSON() ====
{
"timeOrigin": 1538400230412.069,
"timing": {
"navigationStart": 1538400230412,
"unloadEventStart": 0,
"unloadEventEnd": 0,
"redirectStart": 0,
"redirectEnd": 0,
"fetchStart": 1538400230412,
"domainLookupStart": 1538400230425,
"domainLookupEnd": 1538400230448,
"connectStart": 1538400230448,
"connectEnd": 1538400230694,
"secureConnectionStart": 1538400230505,
"requestStart": 1538400230696,
"responseStart": 1538400230818,
"responseEnd": 1538400230821,
"domLoading": 1538400230831,
"domInteractive": 1538400230848,
"domContentLoadedEventStart": 1538400231288,
"domContentLoadedEventEnd": 1538400231288,
"domComplete": 1538400231288,
"loadEventStart": 1538400231288,
"loadEventEnd": 1538400231288
},
"navigation": {
"type": 0,
"redirectCount": 0
}
}
==== page.metrics() ====
{
"Timestamp": 253393.179884,
"Documents": 4,
"Frames": 1,
"JSEventListeners": 8,
"Nodes": 3020,
"LayoutCount": 3,
"RecalcStyleCount": 4,
"LayoutDuration": 0.169552,
"RecalcStyleDuration": 0.232853,
"ScriptDuration": 0.07187,
"TaskDuration": 0.534475,
"JSHeapUsedSize": 3408856,
"JSHeapTotalSize": 7589888
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment