Optimize createDictionaryConverter()

perf(webidl): optimize createDictionaryConverter() (#12279)
Optimize createDictionaryConverter()perfoptimize createdictionaryconverter webidl

Committed by AaronO

commit message
perf(webidl): optimize createDictionaryConverter() (#12279)

On a benchmark constructing Responses with headers this shaves off 25%

Editor assessment

The subject names the optimized function exactly: createDictionaryConverter(). The body delivers what perf messages rarely do: a quantified result on a stated workload, shaving 25 percent when constructing Responses with headers. That is measurement plus context, the strongest form of perf communication. Type perf and scope webidl are accurate, mood and length are clean, and no footers are needed. An exemplary message that proves its own claim in one sentence.

Browse categories

More perf examples · Back to search