How to install Hiper
This article introduces the knowledge of "how to install Hiper". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Installation of Hiper
Npminstallhiper-g
# or use yarn:
# yarnglobaladdhiper
Output
Note: Ittakesperiod (m) stoload.... This period is the time it took to run this test. So, the higher the-n, the greater the number.
Hiper performance index
Key Value
DNS query time-consuming domainLookupEnd-domainLookupStart
TCP connection time-consuming connectEnd-connectStart
ResponseStart-requestStart when the first Byte arrives at the browser
Page download time-consuming responseEnd-responseStart
DOMReady then continues to download the time-consuming domComplete-domInteractive of the resource
White screen time domInteractive-navigationStart
DOMReady time-consuming domContentLoadedEventEnd-navigationStart
Total page load time loadEventEnd-navigationStart
Use
Hiper--help
Usage:hiper [options] [url]
A delightful performance statistical analysis tool
Options:
-vmam Meltel version output version number
-nmam Methoft specify the number of times to load (default 20 times)
The specified configuration file is loaded in-cmam Meltel config.
-ummer, Murray, useragent, set up useragent
-Hmam talk talk headless [b] whether to use headless mode (default is true)
-emam Meltel executablePath uses the specified Chrome browser
-- no-cache disables caching (default is false)
-- no-JavaScript disables JavaScript (default is false)
-- no-online disables the network (default is false)
-hmam Meltel help outputs help information
That's all for "how to install Hiper". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!