Skip to content

phantomas v1.9

Compare
Choose a tag to compare
@macbre macbre released this 20 Jan 18:09
· 1775 commits to devel since this release

This release of phantomas brings the ability to measure number of repaints (currently supported by SlimerJS only - --engine=gecko - see #462).

A number of jQuery related metrics has been added:

  • functions bound to window onload event (#451)
  • the use of different jQuery versions (or copies of the same version) on the same page (yes, that does happen :)) - #435
  • events triggered (#440)
  • jQuery function calls that perform DOM reads and writes (#436)

Enjoy the new version of `phantomas! Let's make our websites even faster in 2015!

All changes are listed below.

Changelog

New metrics

  • #451 - Add jQueryWindowOnLoadFunctions metric
  • #462 - Number of times the current document has been painted to the screen
  • #440 - Measure the number of triggered events
  • #438 - Requests to...
  • #436 - Spy more jQuery functions
  • #435 - Report the use of different versions of jQuery

Improvements

  • #453 - Delay report until phantomas event
  • #443 - Show units next to metric name in ascii table output
  • #442 - Add the file name in analyze-css offenders

Bug fixes

  • #472 - Fix getDomPath with tab or new line separated class names (by @gmetais)
  • #470 - Add 'font/opentype' to contentType switch (by @william-p)
  • #468 - cachingNotSpecified reports files with the Expires header specified (by @unintelligible)
  • #457 - waitForSelector: do not report polling DOM queries
  • #454 - Illegal character in screenshot filenames under Windows
  • #399 - imagesWithoutDimensions should take in account CSS dimensions

Internals

  • #475 - Update dependencies
  • #460 - Core cleanup
  • #449 - analyze-css: upgrade to v0.9.0
  • #447 - Emit milestone event using core modules.
  • #441 - Update npm dependencies