Skip to content

rubyzhao/perf2csv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

perf2csv

Combine performance files from browser to one csv file.

Install

npm install perf2csv -g

Usage

Step 1

Open the website to measure it's performance in browser Chrome or Firefox.

Step 2

Hit F12, to open the DevTools. In the console of Chrome, run JSON.stringify(performance.getEntries()), then save the result as one log file in one folder.

In the console of Firefox, run JSON.stringify(performance.getEntries()), then save the result as one txt file in one folder.

Step 3

Repeat Step 2 for more times to get the average of the performance.

Step 4

Go to the above folder with *.log or *.txt file, then run the following, to get CombinedPerfEntries.csv

perf2csv

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published