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 to compute accessible name #1011

Open
HugoPoi opened this issue Nov 5, 2023 · 1 comment
Open

Performance to compute accessible name #1011

HugoPoi opened this issue Nov 5, 2023 · 1 comment

Comments

@HugoPoi
Copy link

HugoPoi commented Nov 5, 2023

To be short, the actual code is very slow to compute accessible names.

I'm not sure if I read well the CI, I didn't read in the test code but I saw 159 passing (13s) so if it run only one time the function per test, it means it takes 80ms on average to compute the text.

Related issue in dom-testing-library.
testing-library/dom-testing-library#698 (comment)

Thanks a lot for all your work here, I will try to look how we can optimize the performance here but I will be in vacation next week.

@HugoPoi
Copy link
Author

HugoPoi commented Nov 7, 2023

As promise serious testing materials https://github.com/HugoPoi/bug-perf-demo-getByRole/tree/main

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

No branches or pull requests

1 participant