Last active
July 10, 2019 12:14
Revisions
-
jakub-g revised this gist
Nov 28, 2018 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,6 @@ var regex = /playerv5|jquery/ // customize this function pick(obj, ...entryNames) { let retObj = {}; entryNames.forEach(key => {retObj[key] = obj[key]}); return retObj } // uncomment interesting items below, keeping in mind console width / no. of columns constraints console.table(performance.getEntriesByType("resource") .filter(item => item.name.match(regex)) .map(i => pick(i, 'name', /*'startTime', 'duration',*/ 'initiatorType', -
jakub-g revised this gist
Nov 28, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ var regex = /playerv5|jquery/ // customize this function pick(obj, ...entryNames) { let retObj = {}; entryNames.forEach(key => {retObj[key] = obj[key]}); return retObj } console.table(performance.getEntriesByType("resource") .filter(item => item.name.match(regex)) -
jakub-g revised this gist
Nov 28, 2018 . No changes.There are no files selected for viewing
-
jakub-g revised this gist
Nov 28, 2018 . No changes.There are no files selected for viewing
-
jakub-g revised this gist
Nov 28, 2018 . No changes.There are no files selected for viewing
-
jakub-g revised this gist
Nov 28, 2018 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ var regex = /playerv5|jquery/ function pick(obj, ...entryNames) { let retObj = {}; entryNames.forEach(key => {retObj[key] = obj[key]}); return retObj } console.table(performance.getEntriesByType("resource") .filter(item => item.name.match(regex)) -
jakub-g revised this gist
Nov 28, 2018 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,7 @@ let regex = /playerv5|jquery/ function pick(obj, ...entryNames) { let retObj = {}; entryNames.forEach(key => {retObj[key] = obj[key]}); return retObj } console.table(performance.getEntriesByType("resource") .filter(item => item.name.match(regex)) .map(i => pick(i, 'name', /*'startTime', 'duration',*/ 'initiatorType', 'transferSize', 'encodedBodySize', 'decodedBodySize', 'fetchStart', /*'domainLookupStart','domainLookupEnd', 'connectStart', 'connectEnd', 'secureConnectionStart', 'requestStart', */'responseStart', 'responseEnd',))) -
jakub-g revised this gist
Nov 28, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ let regex = /playerv5|jquery/ function pick(obj, ...entryNames) { let retObj = {}; entryNames.forEach(key => {retObj[key] = obj[key]}); return retObj } console.table(performance.getEntriesByType("resource").filter(item => item.name.match(regex)).map(i => pick(i, 'name', /*'startTime', 'duration',*/ 'initiatorType', 'transferSize', 'encodedBodySize', 'decodedBodySize', 'fetchStart', /*'domainLookupStart','domainLookupEnd', 'connectStart', 'connectEnd', 'secureConnectionStart', 'requestStart', */'responseStart', 'responseEnd',))) -
jakub-g renamed this gist
Nov 28, 2018 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jakub-g revised this gist
Nov 28, 2018 . 1 changed file with 2 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,5 @@ let regex = /playerv5|jquery/ function pick(obj, ...entryNames) { let retObj = {}; entryNames.forEach(key => {retObj[key] = obj[key]}); return retObj } console.table(performance.getEntriesByType("resource").filter(item => item.name.match(regex)).map(i => pick(i, 'name', /*'startTime', 'duration',*/ 'initiatorType', 'transferSize', 'encodedBodySize', 'decodedBodySize', 'fetchStart', /*'domainLookupStart','domainLookupEnd', 'connectStart', 'connectEnd', 'secureConnectionStart', 'requestStart', */'responseStart', 'responseEnd',))) -
jakub-g revised this gist
Nov 28, 2018 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ function pick(obj, ...entryNames) { let retObj = {}; entryNames.forEach(key => {retObj[key] = obj[key]}); return retObj } console.table(performance.getEntriesByType("resource").filter(item => item.name.match(/playerv5|jquery/)).map(i => pick(i, 'name', /*'startTime', 'duration',*/ 'initiatorType', 'transferSize', 'encodedBodySize', 'decodedBodySize', 'fetchStart', /*'domainLookupStart','domainLookupEnd', 'connectStart', 'connectEnd', 'secureConnectionStart', 'requestStart', */'responseStart', 'responseEnd',))) -
jakub-g created this gist
Nov 13, 2018 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ function pick(obj, ...entries) { let retObj = {}; entries.forEach(key => {retObj[key] = obj[key]}); return retObj } console.table(performance.getEntriesByType("resource").filter(item => item.name.match(/playerv5|jquery/)).map(i => pick(i, 'name', /*'startTime', 'duration',*/ 'initiatorType', 'transferSize', 'encodedBodySize', 'decodedBodySize', 'fetchStart', 'domainLookupStart','domainLookupEnd', 'connectStart', 'connectEnd', 'secureConnectionStart', 'requestStart', 'responseStart', 'responseEnd',)))