Maciej Brencz

Results 130 comments of Maciej Brencz

@ldevernay, how does a command line option `--validate-all-response-codes` sounds to you? It will cause all metrics to be returned instead of returning an error due to non-200 response code. I'm...

Great! Will work on that. Similar: #809 and #823

@MiuNice , thanks for the fix. Can you please also add the unit test case?

@gleicon, unfortunately PhantomJS does not support Navigation Timing API - https://github.com/ariya/phantomjs/issues/10570: ``` js console.log(typeof window.performance); // undefined ```

However, it does work on SlimerJS (which uses Gecko engine) https://gist.github.com/macbre/9f23f314d8a3ff69313b ` npm install -g slimerjs `

HTML: ``` json { "url":"http://elecena.pl/", "method":"GET" "bodySize":10734, "Content-Encoding":"gzip" } ``` ``` $ curl "http://elecena.pl/" --compress | wc -c 10734 ``` JS: ``` json { "url":"http://cdn.macbre.net/elecena/r517/package/bootstrap,elecena,ui,suggest,ads,home.js", "method":"GET", "bodySize":988 } ``` ```...

Use HTTP proxy for running phantomas? https://github.com/nodejitsu/node-http-proxy/tree/caronte

I don't think so. This would need to be a custom proxy that will add that kind of information.

No progress on this one, unfortunately. Using proxy in this case would be a great example of overengineering :) Given the fact that PhantomJS v2.0 is just around the corner....

@gurdenbatra, unfortunately, as my tests above show `bodySize` is not deterministic at all :)