We’ve added a new version of magerun-hypernode to our repositories. Changes since the last release:


  [ Jochem Klaver ]
  * Fixing #46 hypernode:patches:list matching the inconsistent patch names in applies.patches.list (#47)
  * Do not list reverted patches as applied

  [ Timon de Groot ]
  * Make command hypernode:performance available for n98-magerun2
  * Add information to README about n98-magerun2 compatibility
  * Optimize imports in command hypernode:performance
  * Fixate package "doctrine/instantiator" on latest supported version

Note that this update does not automatically enables the hypernode:performance command globally for magerun2 yet, but you can read here how to already include it yourself.

However this does allow you to use the magerun (not magerun2) module to benchmark Magento 2 shops as long as you supply a sitemap. For example, benchmarking a Magento 2 shop against itself would look like:

app@yqc1dr-reggy-magweb-do:~$ cat /tmp/sitemap.txt 
http://reggy.hypernode.io/
http://reggy.hypernode.io/home
http://reggy.hypernode.io/about-magento-demo-store
http://reggy.hypernode.io/customer-service
http://reggy.hypernode.io/enable-cookies
http://reggy.hypernode.io/privacy-policy-cookie-restriction-mode

app@yqc1dr-reggy-magweb-do:~$ magerun hypernode:performance --silent --limit 3 --compare-url='reggy.hypernode.io' --sitemap /tmp/sitemap.txt  --current-url='reggy.hypernode.io' | tail -n 1
[[[{"url":"https://reggy.hypernode.io/","status":200,"ttfb":0.082212,"comparison_key":"/"},{"url":"https://reggy.hypernode.io/","status":200,"ttfb":0.085119,"comparison_key":"/"}],[{"url":"https://reggy.hypernode.io/home","status":200,"ttfb":0.659556,"comparison_key":"/home"},{"url":"https://reggy.hypernode.io/home","status":200,"ttfb":0.163683,"comparison_key":"/home"}],[{"url":"https://reggy.hypernode.io/about-magento-demo-store","status":404,"ttfb":0.702481,"comparison_key":"/about-magento-demo-store"},{"url":"https://reggy.hypernode.io/about-magento-demo-store","status":404,"ttfb":0.141874,"comparison_key":"/about-magento-demo-store"}]]]

Big thanks to Jochem Klaver and Timon de Groot for these improvements. This new version will be rolled out gradually over all Hypernodes.