garris / BackstopJS

Catch CSS curve balls.
http://backstopjs.org
MIT License
6.67k stars 605 forks source link

Backstop 6 slower than 5? #1458

Closed r-oldenburg closed 1 year ago

r-oldenburg commented 1 year ago

Hi all,

I just did the switch from 5.3.7 to 6.1.4 (still using puppeteer). Generally it runs ok but I noticed a heavy performance drop.

5.3.7:

       report | Test completed...
       report | 764 Passed
       report | 0 Failed
       ...
       report | Copied jsonp report to: /src/backstop_data/html_report/config.js
      COMMAND | Executing core for "openReport"
   openReport | Attempting to ping 
   openReport | Remote not found. Opening backstop_data/html_report/index.html
      COMMAND | Command "report" successfully executed in [29.782s]
      COMMAND | Command "test" successfully executed in [376.696s]

6.1.4:

       report | Test completed...
       report | 764 Passed
       report | 0 Failed
       ...
       report | Copied jsonp report to: /src/backstop_data/html_report/config.js
      COMMAND | Executing core for "openReport"
   openReport | Attempting to ping 
   openReport | Remote not found. Opening backstop_data/html_report/index.html
      COMMAND | Command "report" successfully executed in [59.977s]
      COMMAND | Command "test" successfully executed in [438.242s]

Is this a known behaviour? Is there anything we can do about it?

r-oldenburg commented 1 year ago

Ok, I did some local test on my machine and there was no such difference. Seems caused by something else in the CI pipeline. Never mind.