dom-accessibility-api
dom-accessibility-api copied to clipboard
Performance to compute accessible name
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.
https://github.com/testing-library/dom-testing-library/issues/698#issuecomment-1793872539
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.
As promise serious testing materials https://github.com/HugoPoi/bug-perf-demo-getByRole/tree/main