norsys / rothenberg

Rothenberg allows a developer to create or maintain a Symfony application or bundle very easily and without installing anything on his workstation.
Other
24 stars 14 forks source link

Remove phantomjs to use chrome headless #11

Open cedvan opened 6 years ago

cedvan commented 6 years ago
mageekguy commented 5 years ago

Yep, but it seems that chrome headless can be very slow in some configuration. However i got this feeling from several months ago, so in my opinion, we must check the state of performance of chrome headless before go ahead.

borisfournier commented 5 years ago

Computer: Dell Latitude E5500 (2.3 GHz and 7.7 GB of Ram) using Fedora28, with Ruby ruby 2.5.3p105, Chrome 70.0.3538.102 and PhantomJS 2.1.1.

The Less the Better. I've run the test 10 times for each benchmark and checked the execution time in seconds and the CPU consumption in percentage:

phantomjs-vs-chrome-headless-cpu phantomjs-vs-chrome-headless-time

My results are quite different from the article I found and it appears that on my computer Chrome-headless is slower and greedier.