cloudflare
workerd
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add state machine utility
#5750
Merged
Comparing
jasnell/state-machine-one
(
3255565
) with
main
(
5437fb5
)
CodSpeed Performance Gauge
0%
Untouched
57
Skipped
34
No successful run was found on
main
(
a36511b
) during the generation of this report, so
5437fb5
was used instead as the comparison base. There might be some changes unrelated to this pull request in this report.
Benchmarks
Skipped (34)
Passed
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
simpleStringBody[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
+4%
20.6 µs
19.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Latin1_Flat_32
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
+3%
891.1 ns
861.9 ns
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_ASCII_1024[TextEncoder][0/0/1024]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
3.7 ms
3.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_OneByte_256[TextEncoder][0/1/256]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
5.2 ms
5.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_TwoByte_256[TextEncoder][1/2/256]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
5.4 ms
5.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Latin1_NonFlat_1024
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
12.2 µs
12.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_ASCII_8192[TextEncoder][1/0/8192]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
3.4 ms
3.4 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
arrayBufferBody[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
0%
17.6 µs
17.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_NonFlat_1024
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
16.2 µs
16.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_ASCII_256[TextEncoder][0/0/256]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
3.1 ms
3.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_ASCII_8192[TextEncoder][0/0/8192]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
13.2 ms
13.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
request[GlobalScopeBenchmark]
src/workerd/tests/bench-global-scope.c++
CodSpeed Performance Gauge
0%
52.6 ms
52.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_Invalid_NonFlat_8192
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
73.8 µs
73.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_OneByte_8192[TextEncoder][1/1/8192]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
66.7 ms
66.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%
11.7 ms
11.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_TwoByte_8192[TextEncoder][0/2/8192]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
146.1 ms
146.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_TwoByte_8192[TextEncoder][1/2/8192]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
96.7 ms
96.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_TwoByte_1024[TextEncoder][1/2/1024]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
14.2 ms
14.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_TwoByte_1024[TextEncoder][0/2/1024]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
19.5 ms
19.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Serialize
src/workerd/tests/bench-mimetype.c++::Mimetype
CodSpeed Performance Gauge
0%
74.6 ms
74.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_OneByte_8192[TextEncoder][0/1/8192]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
84.7 ms
84.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
nullBodyWithStatus[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
0%
10.3 µs
10.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
jsonResponse[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
0%
34.9 µs
34.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_coroCoReturn
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
4.6 µs
4.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_coroCoAwaitImmediate
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
6.2 µs
6.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_ReadyNow
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
2.1 µs
2.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Immediate
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
3.6 µs
3.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Latin1_Flat_1024
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
4.6 µs
4.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Latin1_Flat_256
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
1.7 µs
1.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_Invalid_Flat_1024
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
8.5 µs
8.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Latin1_NonFlat_8192
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
42 µs
42 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_Invalid_Flat_256
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
2.7 µs
2.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_Invalid_Flat_8192
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
62.8 µs
62.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_Flat_1024
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
8.5 µs
8.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_Flat_256
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
2.7 µs
2.7 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Latin1_NonFlat_256
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
7.9 µs
7.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Latin1_Flat_8192
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
31 µs
31 µs
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.
JsString_Utf8Length_Utf16_NonFlat_8192
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
73.8 µs
73.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_Flat_8192
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
62.8 µs
62.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_Invalid_NonFlat_256
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
8.9 µs
8.9 µs
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.8 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_OneByte_1024[TextEncoder][1/1/1024]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
10.5 ms
10.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
constructor[ApiHeaders]
src/workerd/tests/bench-api-headers.c++
CodSpeed Performance Gauge
0%
67.7 ms
67.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
ParseAndSerialize
src/workerd/tests/bench-mimetype.c++::Mimetype
CodSpeed Performance Gauge
0%
74.9 ms
74.9 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_OneByte_256[TextEncoder][1/1/256]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
4.5 ms
4.5 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Test_JSON_ENC
src/workerd/tests/bench-json.c++
CodSpeed Performance Gauge
0%
206 ms
206 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_ASCII_256[TextEncoder][1/0/256]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
2.6 ms
2.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
EncodeInto_ASCII_1024[TextEncoder][1/0/1024]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
2.7 ms
2.7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_ASCII_32[TextEncoder][0/0/32]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
2.9 ms
2.9 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
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_OneByte_1024[TextEncoder][0/1/1024]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
12 ms
12 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_Invalid_NonFlat_1024
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
16.1 µs
16.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Encode_TwoByte_256[TextEncoder][0/2/256]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
7 ms
7 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
request[RegExpBenchmark]
src/workerd/tests/bench-regex.c++
CodSpeed Performance Gauge
0%
7.3 ms
7.3 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
JsString_Utf8Length_Utf16_NonFlat_256
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
8.9 µs
8.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bodyWithHeaders[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
-3%
24.3 µs
25.1 µs
Commits
Click on a commit to change the comparison range
Base
main
5437fb5
+0.08%
Add state machine utility Separated out from https://github.com/cloudflare/workerd/pull/5670
3255565
26 days ago
by jasnell
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs