Performance – Use Selenium UI test speed (using XVFB) on Jenkins on Firefox

I am using the Firefox driver to run Selenium UI tests on Jenkins, and their execution speed is very slow compared to local execution. Specifically, it is almost the time required for local execution 4 times that. This is too inefficient.

Locally I run it on Windows or Mac, not Linux. However, Jenkins work runs on Linux.

Environment details are as follows:

> Jenkins (running Linux on a virtual machine)
> Xvfb is used to simulate a browser (no display connected to the VM)
> Firefox 38
> Java 8

I’m not sure if Jenkins configuration or anything else will make it faster. Is it the VM that caused it? Everything works well, but this is the slowness that leads to inefficiency.

Any ideas for improving performance will be highly appreciated.

The problem is basically based on the disk IO of the Jenkins slave running the test. The local computer (Mac or Windows) is very fast and usually uses SSD as the disk type. Use the Jenkins slave Updating to something with better hardware resources and faster disk IO solved this problem.

I am using the Firefox driver to run Selenium UI tests on Jenkins, compared to local execution, Their execution speed is very slow. Specifically, it is almost 4 times the time required to run locally. This is too inefficient.

Locally I run it on Windows or Mac, and Not Linux. However, Jenkins’ work runs on Linux.

The environment details are as follows:

> Jenkins (running Linux on a virtual machine)
> Xvfb is used for simulated browsing (No display connected to the VM)
> Firefox 38
> Java 8

I’m not sure if the Jenkins configuration or anything else will make it faster. Is it the VM that caused it ? Everything works well, but this is the slowness that leads to inefficiency.

Any ideas for improving performance will be highly appreciated.

< p>The problem is basically based on the disk IO of the Jenkins slave running the test. The local computer (Mac or Windows) is very fast and usually uses SSD as the disk type. Update the Jenkins slave to have better hardware resources and faster disk IO Something solves this problem.

WordPress database error: [Table 'yf99682.wp_s6mz6tyggq_comments' doesn't exist]
SELECT SQL_CALC_FOUND_ROWS wp_s6mz6tyggq_comments.comment_ID FROM wp_s6mz6tyggq_comments WHERE ( comment_approved = '1' ) AND comment_post_ID = 2645 ORDER BY wp_s6mz6tyggq_comments.comment_date_gmt ASC, wp_s6mz6tyggq_comments.comment_ID ASC

Leave a Comment

Your email address will not be published.