Skip to content

Add CompileRequest.silent to embedded protocol#3773

Merged
nex3 merged 2 commits intosass:mainfrom
ntkme:embedded-protocol-silent
Jan 16, 2024
Merged

Add CompileRequest.silent to embedded protocol#3773
nex3 merged 2 commits intosass:mainfrom
ntkme:embedded-protocol-silent

Conversation

@ntkme
Copy link
Contributor

@ntkme ntkme commented Jan 10, 2024

This is a performance enhancement that if the special js-api Logger.silent is requested by the user, we can set CompileRequest.silent to completely bypass the unnecessary serialization, sending, and deserialization of LogEvents, thus making the compilation more efficient in the case where lots of log messages are supposed to be suppressed.

@nex3
Copy link
Contributor

nex3 commented Jan 16, 2024

Treating this as a fast-track feature.

@nex3 nex3 merged commit 3cd12a7 into sass:main Jan 16, 2024
@ntkme ntkme deleted the embedded-protocol-silent branch January 16, 2024 23:56
nex3 added a commit that referenced this pull request Mar 27, 2024
Co-authored-by: Natalie Weizenbaum <nweiz@google.com>
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.

2 participants