Skip to content

Add disableCSS option - #3861

Closed
domenic wants to merge 1 commit into
mainfrom
disable-css
Closed

Add disableCSS option#3861
domenic wants to merge 1 commit into
mainfrom
disable-css

Conversation

@domenic

@domenic domenic commented Apr 13, 2025

Copy link
Copy Markdown
Member

Closes #2005.


I am going to close this PR immediately and not attempt to merge it because I cannot find any evidence that skipping CSS processing gives any performance benefits. See the full discussion in #2005 (comment). But, I wanted to create the PR for the record, and to make it easier to resurrect if we get some evidence that it's helpful.

If this were to be resurrected, probably the README needs more detail on the impacts (e.g. getComputedStyle(), .sheet, .style), based on the test suite.

@domenic

domenic commented Apr 13, 2025

Copy link
Copy Markdown
Member Author

Implementation report: this was relatively painful without AI, in that I just really missed having a solid autocomplete. There was a medium amount of design work which I anticipate AI wouldn't have helped with, but there was also a lot of turning the crank on test code that was very similar to nearby test code. Even writing the documentation would have been nicer with autocomplete.

@domenic domenic added the metr uplift A candidate for the METR Uplift experiment label Apr 19, 2025
@domenic
domenic deleted the disable-css branch February 2, 2026 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

metr uplift A candidate for the METR Uplift experiment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Allow disabling the processing of CSS

1 participant