Performance to compute accessible name
HugoPoi opened this issue · 1 comments
HugoPoi commented
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 commented
As promise serious testing materials https://github.com/HugoPoi/bug-perf-demo-getByRole/tree/main