Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Performance Issues When Many Elements Are Present #500

Open
tobindh opened this issue Sep 22, 2018 · 2 comments
Open

Performance Issues When Many Elements Are Present #500

tobindh opened this issue Sep 22, 2018 · 2 comments

Comments

@tobindh
Copy link

tobindh commented Sep 22, 2018

I am evaluating being able to use WinAppDriver (version 1.1), and I am having some performance issues.

The software I am testing has DataGrids used to display a variety of records. The grid I am currently testing has 23 columns - with 50 rows returned, it took 36 seconds to complete the following locator to find the number of rows (i.e. 50 elements that match) :

Grid.FindElementsByTagName("Custom")

The same grid with only 10 rows returned took almost 8 seconds to complete the same lookup.

CPU and memory aren't being taxed at all while the wait is happening, the driver log is just waiting for a response to the request. Inspect.exe can display the grid tree with all of the rows in seconds. Is having that many elements in the page source just beyond the realm of what WinAppDriver was designed for, or is there something in the works to address performance for these situations?

@hassanuz
Copy link
Contributor

Hi @tobindh,

Thanks for reporting this. We're aware of performance being less than ideal - and this is something we hope to resolve in a future update along with an overhaul of XPath handling.
.

@kfrajtak
Copy link

Got the same issue, rolled my own driver :) Check my repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants