Skip to content

[🐛 Bug]: significant performance and memory usage - regressions when switching from Selenium 3 to 4 #10113

@christophs78

Description

@christophs78

What happened?

PrimeFaces comes with a suite of integrationstest: https://github.com/primefaces/primefaces/tree/master/primefaces-integration-tests

We currently use Selenium 3.141.59. When i run them on my dev-machine (8C/16T, 32 GB RAM) it looks like this:
image

With primefaces/primefaces#8145 we try to upgrade to Selenium 4.1.0. There it looks like this:
image

Additional my notebook get´s unresponsive.

We also run this integrationtests on Github actions. They take about twice the time with Selenium 4.1.0. (And we run into some follow-up problems probably because of worse performance due to resource starvation.)

There already has been a (to some degree) similar issue: #9536

How can we reproduce the issue?

See PrimeFaces-Github-links above.

Relevant log output

Selenium 4.1.0:
https://github.com/primefaces/primefaces/actions/runs/1539682360

Compare this with a run on 3.141.59:
https://github.com/primefaces/primefaces/runs/4413396941?check_suite_focus=true

Operating System

Windows 10, Ubuntu 20.04.3

Selenium version

Java 4.1.0

What are the browser(s) and version(s) where you see this issue?

Chrome 96.0.4664.45, Firefox 94.0.2

What are the browser driver(s) and version(s) where you see this issue?

ChromeDriver 96.0.4664.45, GeckoDriver 0.30.0

Are you using Selenium Grid?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-javaJava BindingsI-defectSomething is not working as intended

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions