Giter Club home page Giter Club logo

hiper's People

Contributors

astronomersiva avatar dlowder avatar jason-cooke avatar pod4g avatar yoshi-taka avatar zhiyan avatar zoubingwu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hiper's Issues

Error returned

When running hiper --help or hiper baidu.com, the following error is returned:

/usr/local/lib/node_modules/hiper/src/index.js:36
performance.run(opts).then(async statisticData => {
                           ^^^^^
SyntaxError: missing ) after argument list
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:389:7)
    at startup (bootstrap_node.js:149:9)

Is this a problem in the latest release?

"No such file" error

After npm install hiper -g, hiper baidu.com throws this exception:

/usr/bin/env: 'node --no-warnings': No such file or directory

I'm currently running Node 10 with nvm on Manjaro (Arch) Linux.

Output result question

The total result is like the superposition of each test result. Is this logic theory wrong? For example, I get my DNS lookup time 2ms for the first time, and the second time will be 4ms, the third time will be 6ms, and the total result will be 40ms(count =20). This situation also appears in other indicators. I don't think this output result is reasonable. Look forward to your reply.

The installation was successful but an error hiper-v was executed

$ node -v
v6.11.2

$ npm -v
5.6.0

The wrong sample

$ hiper -v
C:\Users\Administrator\AppData\Roaming\npm\node_modules\hiper\src\index.js:36
performance.run(opts).then(async statisticData => {
                           ^^^^^

SyntaxError: missing ) after argument list
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:389:7)
    at startup (bootstrap_node.js:149:9)

install on Mac, return error

$ npm install hiper -g
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "hiper" "-g"
npm ERR! node v6.10.1
npm ERR! npm v3.10.10

npm ERR! pkg._args.push is not a function

SyntaxError: missing ) after argument list

i try hiper --help
output:

/usr/local/lib/node_modules/hiper/src/index.js:24
performance.run(opts).then(async statisticData => {
                           ^^^^^

SyntaxError: missing ) after argument list
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:389:7)
    at startup (bootstrap_node.js:149:9)

node version:
v6.11.2
npm version:
5.6.0
mac os 10.12.6

ERROR: Failed to download Chromium r555668!

When i run npm install hiper -g, it has this error log:

ERROR: Failed to download Chromium r555668! Set "PUPPETEER_SKIP_CHROMIUM_DOWNLOAD" env variable to skip download.
{ Error: read ECONNRESET
    at _errnoException (util.js:1022:11)
    at TLSWrap.onread (net.js:628:25) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }

How to fix it

Installation instructions in Ubuntu 18.04 does not work.

Hi,

Installed yarn and hiper:
yarn global add hiper
yarn global v1.7.0
[1/4] Resolving packages...
[2/4] Fetching packages...
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "[email protected]" with binaries:
- hiper
Done in 0.38s.


Issue the following:
hiper badu.com
/usr/bin/env: ‘node --no-warnings’: No such file or directory

thanks for help in advance.

Nothing result

I tried to input 'hiper baidu.com',but is nothing result.

Hash-only navigation doesn't work, i.e. URL contain #

Program stuck when i run script with URL like 'https://example.com/index.html#/ohh', which is a default hash mode vue-router. Then i debugger this source project, i got its exception stack as "Error: net::ERR_ABORTED at ... at navigate...", and all the performance static turns into "Nan ms".

🚀 It takes 0.26 s to load `` 20 times

Run interval 0.26 s
Total load times 20
DNS lookup time NaN ms
TCP connect time NaN ms
TTFB NaN ms
Download time of the page NaN ms
After DOM Ready download time NaN ms
White screen time NaN ms
DOM Ready time NaN ms
Load time NaN ms

New Design for Hiper

Hi,

I'm designing for open source projects, expanding my portfolio. I want designing an icon for your project. There are a few ideas in my mind, I hope you accept and I do them. If you have an idea, please let me know. In this way we create a icon.

Best Regards.

Request: Output as JSON

Would it be possible to add a switch to get the output encoded in JSON?
This might be useful for automated monitoring, e.g. for pushing the data to InfluxDB or something.

Default to https

I think it would make sense for the tool to automatically append https:// to the domain, since all websites should be served over https?

Maybe it could report if https was not available and continue to test http:// ?

Thanks for making this great tool!

Getting an issue when executing Hiper

I recently installed Hiper and this issue is showing everytime I try to use it...

C:\Users\theas\AppData\Roaming\npm\node_modules\hiper\src\index.js:36
performance.run(opts).then(async statisticData => {
                           ^^^^^
SyntaxError: missing ) after argument list
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:542:28)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.runMain (module.js:604:10)
    at run (bootstrap_node.js:393:7)
    at startup (bootstrap_node.js:150:9)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.