cloudflare
workerd
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
tune tcmalloc for benchmarks
#5903
Comparing
yagiz/tune-tcmalloc
(
f328f8a
) with
main
(
4e603ca
)
CodSpeed Performance Gauge
+13%
Improvements
1
Untouched
67
Skipped
129
Benchmarks
Skipped (129)
Improved
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
simpleStringBody[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
+13%
21.6 µs
19.1 µs
Passed
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
jsonResponse[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
0%
34.8 µs
34.8 µ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.
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.
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.
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.
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.
constructor[ApiHeaders]
src/workerd/tests/bench-api-headers.c++
CodSpeed Performance Gauge
0%
67.6 ms
67.6 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.5 ms
52.5 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.8 ms
84.8 ms
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.2 ms
3.2 ms
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.
Test_JSON_ENC
src/workerd/tests/bench-json.c++
CodSpeed Performance Gauge
0%
207.2 ms
207.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Http_FullProtocol
external/+http+capnp-cpp/src/capnp/compat/http-over-capnp-bench.c++
CodSpeed Performance Gauge
0%
77.9 µs
77.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Http_ClientWrapper
external/+http+capnp-cpp/src/capnp/compat/http-over-capnp-bench.c++
CodSpeed Performance Gauge
0%
36 µs
36 µs
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.
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.
bm_Http_Baseline
external/+http+capnp-cpp/src/capnp/compat/http-over-capnp-bench.c++
CodSpeed Performance Gauge
0%
11.8 µs
11.8 µs
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%
9 µs
9 µs
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.9 µs
73.9 µ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.3 µs
16.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Coro_Pow2_20
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
20.4 µs
20.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Coro_CoAwait_ImmediateCoroutine
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
6.5 µs
6.5 µ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.4 µs
44.4 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Coro_CoAwait_ImmediatePromise
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
6.3 µs
6.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.9 µs
73.9 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Coro_Immediate
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
4.3 µs
4.3 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Promise_ReadyNow
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
2.2 µs
2.2 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Promise_ImmediatePromise_Then
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
4.5 µs
4.5 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Promise_Shift_20
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
10.8 µs
10.8 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Promise_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.
bm_Promise_Pow2_20
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
9.9 µs
9.9 µ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.
bm_Coro_Shift_20
external/+http+capnp-cpp/src/kj/async-bench.c++
CodSpeed Performance Gauge
0%
23.1 µs
23.1 µ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_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.
JsString_Utf8Length_Latin1_NonFlat_1024
src/workerd/tests/bench-jsstring.c++
CodSpeed Performance Gauge
0%
12.3 µs
12.3 µ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
0%
949.4 ns
949.4 ns
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.9 µs
62.9 µ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%
8 µs
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.6 µs
8.6 µ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.8 µs
2.8 µ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.1 µs
42.1 µ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.9 µs
62.9 µ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%
9 µs
9 µ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.8 µs
2.8 µs
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.3 µs
16.3 µ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.6 µs
8.6 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
Util_RecursivelyFreeze
src/workerd/tests/bench-util.c++
CodSpeed Performance Gauge
0%
10.9 ms
10.9 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.
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.
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.
nullBodyWithStatus[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
0%
10.2 µs
10.2 µs
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.2 ms
146.2 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.2 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.
bm_Http_OverCapnpFullRPC
external/+http+capnp-cpp/src/capnp/compat/http-over-capnp-bench.c++
CodSpeed Performance Gauge
0%
238.1 µs
238.1 µs
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
bm_Http_OverCapnpLocalCall
external/+http+capnp-cpp/src/capnp/compat/http-over-capnp-bench.c++
CodSpeed Performance Gauge
0%
128.1 µs
128.1 µs
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.
arrayBufferBody[Response]
src/workerd/tests/bench-response.c++
CodSpeed Performance Gauge
0%
17.4 µs
17.4 µs
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.
Encode_TwoByte_1024[TextEncoder][0/2/1024]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
19.5 ms
19.6 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.
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_256[TextEncoder][0/2/256]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
7.1 ms
7.1 ms
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_ASCII_32[TextEncoder][0/0/32]
src/workerd/tests/bench-text-encoder.c++
CodSpeed Performance Gauge
0%
3 ms
3 ms
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 µs
Commits
Click on a commit to change the comparison range
Base
main
4e603ca
+12.99%
tune tcmalloc for benchmarks
f328f8a
17 hours ago
by anonrig
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs