cloudflare
workerd
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
[Experimental] Implement writeIntoUint8Array for TextEncoder
#5449
Closed
Comparing
jasnell/experiment-textencoder
(
52dd739
) with
main
(
b0a7b2f
)
CodSpeed Performance Gauge
+21%
Improvement
4
Untouched
30
Skipped
9
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
43 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_ASCII_32[0/0/32]
unknown_file
CodSpeed Performance Gauge
+21%
3.1 ms
2.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_ASCII_256[0/0/256]
unknown_file
CodSpeed Performance Gauge
+14%
4.4 ms
3.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
simpleStringBody[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
+13%
22.5 µs
19.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_OneByte_256[0/1/256]
unknown_file
CodSpeed Performance Gauge
+12%
5.1 ms
4.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_TwoByte_256[0/2/256]
unknown_file
CodSpeed Performance Gauge
+7%
7 ms
6.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_ASCII_1024[0/0/1024]
unknown_file
CodSpeed Performance Gauge
+6%
8.9 ms
8.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_OneByte_1024[0/1/1024]
unknown_file
CodSpeed Performance Gauge
+5%
11.9 ms
11.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_TwoByte_1024[0/2/1024]
unknown_file
CodSpeed Performance Gauge
+2%
19.5 ms
19 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
nullBodyWithStatus[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
+1%
10.1 µs
9.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_ASCII_8192[0/0/8192]
unknown_file
CodSpeed Performance Gauge
+1%
55.6 ms
55 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
arrayBufferBody[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
+1%
16.3 µs
16.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_OneByte_8192[0/1/8192]
unknown_file
CodSpeed Performance Gauge
+1%
84.7 ms
84.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bodyWithHeaders[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
+1%
23.1 µs
23 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
jsonResponse[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
0%
36.3 µs
36.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_TwoByte_8192[0/2/8192]
unknown_file
CodSpeed Performance Gauge
0%
146.1 ms
145.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Util_RecursivelyFreeze
src/workerd/tests/bench-util.c++
CodSpeed Performance Gauge
0%
10.8 ms
10.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
set_append[ApiHeaders]
src/workerd/tests/bench-api-headers.c++
CodSpeed Performance Gauge
0%
15.9 ms
15.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Test_JSON_ENC
src/workerd/tests/bench-json.c++
CodSpeed Performance Gauge
0%
195.9 ms
195.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_TwoByte_8192[1/2/8192]
unknown_file
CodSpeed Performance Gauge
0%
96.7 ms
96.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Serialize
Mimetype
CodSpeed Performance Gauge
0%
68.5 ms
68.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Parse[KjHeaders]
src/workerd/tests/bench-kj-headers.c++
CodSpeed Performance Gauge
0%
44.3 µs
44.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ParseAndSerialize
Mimetype
CodSpeed Performance Gauge
0%
70.5 ms
70.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_OneByte_8192[1/1/8192]
unknown_file
CodSpeed Performance Gauge
0%
66.6 ms
66.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
constructor[ApiHeaders]
src/workerd/tests/bench-api-headers.c++
CodSpeed Performance Gauge
0%
91 ms
91 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Test_JSON_DEC
src/workerd/tests/bench-json.c++
CodSpeed Performance Gauge
0%
3.2 s
3.2 s
1
2
Commits
Click on a commit to change the comparison range
Base
main
b0a7b2f
+20.71%
[Experimental] Implement writeIntoUint8Array for TextEncoder
52dd739
3 months ago
by jasnell
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs