-
Notifications
You must be signed in to change notification settings - Fork 788
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
perf(reporter): add option to limit result types to be processed #568
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add some tests and document this feature.
@WilcoFiers Tests added. Let me know if the documentation is insufficient. |
…a small doc error Related to #512
@@ -231,7 +231,7 @@ axe.run(context, options, callback); | |||
#### Parameters axe.run | |||
|
|||
* [`context`](#context-parameter): (optional) Defines the scope of the analysis - the part of the DOM that you would like to analyze. This will typically be the `document` or a specific selector such as class name, ID, selector, etc. | |||
* [`options`](#options-parameter): (optional) Set of options passed into rules or checks, temporarily modifying them. This contrasts with `axe.configure`, which is more permanent. [See below for more information](#axerun-parameters) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The documentation for axe.configure
is above, not below, and the internal link is invalid. I figured we ought to simply remove this.
@WilcoFiers @isner did the CircleCI build run for this PR? |
@dylanb it says it did, you can find the integrations under "View details" on the merged commit above |
This allows us to specify a short list of result types that we want
helper.processAggregate
to bother processing. For some reporting scenarios, we don't want to bother processing 'passes', for instance. This causes a massive performance improvement for those scenarios.We can leverage this option in the axe extension to speed up performance there as well.
Closes #512