Skip to content

fix: Optimize AxeBuilder memory usage.#1151

Closed
bensenescu wants to merge 1 commit into
dequelabs:developfrom
bensenescu:optimize_memory
Closed

fix: Optimize AxeBuilder memory usage.#1151
bensenescu wants to merge 1 commit into
dequelabs:developfrom
bensenescu:optimize_memory

Conversation

@bensenescu
Copy link
Copy Markdown
Contributor

@bensenescu bensenescu commented Feb 15, 2025

If AxeBuilder is instantiated many times, each instance of the class will store the 250kb axe source string causing performance issues.

I looked at @axe-core/puppeteer and they follow the pattern in this PR:

No QA required

@bensenescu bensenescu requested a review from a team as a code owner February 15, 2025 22:29
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Feb 15, 2025

CLA assistant check
All committers have signed the CLA.

@bensenescu bensenescu changed the title Optimize AxeBuilder memory usage. fix: Optimize AxeBuilder memory usage. Feb 24, 2025
@scottmries
Copy link
Copy Markdown
Contributor

Closing for this PR to allow tests to run

@scottmries scottmries closed this Mar 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants