dequelabs / axe-core

Accessibility engine for automated Web UI testing
https://www.deque.com/axe/
Mozilla Public License 2.0
5.75k stars 746 forks source link

perf: cache selector creation #4501

Closed WilcoFiers closed 2 weeks ago

WilcoFiers commented 2 weeks ago

Closes: https://github.com/dequelabs/axe-pro-ml-service/issues/490

Selector generation is slow. We should avoid doing it more than once.

WilcoFiers commented 2 weeks ago

Tested this out. I'm not seeing any perf benefit to this whatsoever.