phantomas v1.9
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 theExpires
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