Slow rules should turn themselves off on large pages #1464
Labels
core
Issues in the core code (lib/core)
feat
New feature or enhancement
performance
Performance related issues
Testing a page with 70k DOM nodes, axe was unable to complete. Turning off just a few rules known to be particularly slow solves this problem. I created this configuration, which enables axe to complete in 26s.
One possible solution would be to provide a "slow" flag, which when running on very large pages turns those rules off, returning a single "incomplete" result. We can add an option to axe that will force to alway run slow rules. But having this feature will help axe-core complete even on very large pages. We could consider different thresholds for different rules based on the number of DOM nodes.
The text was updated successfully, but these errors were encountered: