Skip to content

Le Faux Magistrat

Compare
Choose a tag to compare
@macbre macbre released this 17 Sep 16:40

This release brings support of cookies that can be passed to phantomas, thanks to #49 implemented by @sjhcockrell.

Recent release introduced an issue caused by experimental implementation of communication between browser and phantomas. It's caused numerous PhantomJS crashes. Hopefully, #62 fixes this issue. Many thanks to @sjhcockrell for great help in debugging this one.

New module called javaScriptBottlenecks tracks calls to known JavaScript bottlenecks - eval (explicit or indirect by calling setTimeout and setInterval) and document.write. In debug mode backtraces are logged to ease debugging of slow parts of your site's JavaScript code.

Using --skip-modules option you can skip given module(s) and customize your metrics set.

An information about the percentage of time spent on backend vs frontend side of your application is emitted as a notice after the metrics (see #60).

More details can be found below.

New metrics

  • #48 - Track the use of document.write
  • #50 - Measure the number of eval calls in JavaScript code
  • #59 - Add support for JSON and SVG responses
  • #52 - Add new CSS metrics: selectors using wildcards and by attributes

Improvements

  • #49 - Allow cookies to be passed to phantomas, thanks @sjhcockrell!
  • #53 - Use http.get() instead of request npm module
  • #55 - Catch IE7- CSS "fix": * html
  • #60 - Compare time spent on backend vs frontend
  • #66 - Allow certain modules to be skipped

Bug fixes

  • #61 - Possible Issue on HTTPS default home pages
  • #62 - window.callPhantom causes PhantomJS crash

Trivia

Le Faux Magistrat