Avatar for the ada-url user
ada-url
ada
BlogDocsChangelog

optimize url::can_parse method

#1106
Comparing
yagiz/optimize-canparse
(
6522713
) with
main
(
377952b
)
CodSpeed Performance Gauge
×2.8
Improvement
4
Untouched
23
Skipped
4

Benchmarks

31 total
BBC_BasicBench_AdaURL_CanParse
unknown_file
CodSpeed Performance Gauge
×2.8
12 µs4.2 µs
BenchData_BasicBench_AdaURL_CanParse
unknown_file
CodSpeed Performance Gauge
×2.5
66.6 ms27 ms
Bench_BasicBench_AdaURL_CanParse
unknown_file
CodSpeed Performance Gauge
+20%
17.8 µs14.9 µs
Bench_IPv4_NonDecimal_Aggregator
benchmarks/bench_ipv4.cpp
CodSpeed Performance Gauge
+6%
5.4 ms5.1 ms
Bench_IPv4_NonDecimal_AdaURL
benchmarks/bench_ipv4.cpp
CodSpeed Performance Gauge
+2%
4.4 ms4.3 ms
BBC_BasicBench_whatwg
unknown_file
CodSpeed Performance Gauge
+1%
27 µs26.7 µs
BBC_BasicBench_AdaURL_href
unknown_file
CodSpeed Performance Gauge
+1%
23.8 µs23.6 µs
Bench_IPv4_Decimal_Aggregator
benchmarks/bench_ipv4.cpp
CodSpeed Performance Gauge
+1%
3.2 ms3.2 ms
BBC_BasicBench_AdaURL_aggregator_href
unknown_file
CodSpeed Performance Gauge
+1%
16 µs15.9 µs
Bench_DNS_Aggregator
benchmarks/bench_ipv4.cpp
CodSpeed Performance Gauge
+1%
93.7 ms93.1 ms
BenchData_BasicBench_AdaURL_aggregator_href
unknown_file
CodSpeed Performance Gauge
+1%
92.6 ms92.1 ms
BasicBench_AdaURL_URLPattern_Test
benchmarks/urlpattern.cpp
CodSpeed Performance Gauge
0%
52.3 µs52.1 µs
BasicBench_AdaURL_URLPattern_Parse
benchmarks/urlpattern.cpp
CodSpeed Performance Gauge
0%
593.9 µs592.1 µs
BenchData_BasicBench_AdaURL_href
unknown_file
CodSpeed Performance Gauge
0%
132.4 ms132.3 ms
UserInfo
benchmarks/percent_encode.cpp
CodSpeed Performance Gauge
0%
4.3 µs4.3 µs
Bench_DNS_AdaURL
benchmarks/bench_ipv4.cpp
CodSpeed Performance Gauge
0%
98.1 ms98.1 ms
url_search_params_AdaURL
benchmarks/bench_search_params.cpp
CodSpeed Performance Gauge
0%
196 µs196 µs
Bench_IPv4_Decimal_AdaURL
benchmarks/bench_ipv4.cpp
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
BenchData_BasicBench_whatwg
unknown_file
CodSpeed Performance Gauge
0%
213.7 ms213.7 ms
BasicBench_AdaURL_URLPattern_Exec
benchmarks/urlpattern.cpp
CodSpeed Performance Gauge
0%
75.7 µs75.7 µs
Bench_BasicBench_AdaURL_href
unknown_file
CodSpeed Performance Gauge
-1%
32.1 µs32.3 µs
Bench_BasicBench_AdaURL_aggregator_href
unknown_file
CodSpeed Performance Gauge
-1%
24.1 µs24.3 µs
Bench_BasicBench_whatwg
unknown_file
CodSpeed Performance Gauge
-1%
31.7 µs31.9 µs
Fragment
benchmarks/percent_encode.cpp
CodSpeed Performance Gauge
-1%
3.3 µs3.3 µs
SpecialQuery
benchmarks/percent_encode.cpp
CodSpeed Performance Gauge
-2%
3.3 µs3.3 µs

Commits

Click on a commit to change the comparison range
Base
main
377952b
×2.9
optimize url::can_parse method
f8cfddc
2 days ago
by anonrig
0%
update clang-tools to 22
bae2393
2 days ago
by anonrig
0%
create AGENTS.md
e7b4b56
2 days ago
by anonrig
0%
remove unused methods
e65faad
2 days ago
by anonrig
0%
update comments & abi-check
2c56335
2 days ago
by anonrig
0%
bump SOVERSION to 5 for intentional ABI break
0df4e41
2 days ago
by anonrig
-4.11%
fix clang-tidy-22 warnings: noexcept-escape, unchecked-optional-access, throwing-static-init
6d137d3
21 hours ago
by anonrig
0%
address fuzzing issues
4b29e68
20 hours ago
by anonrig
0%
fix throwing-static-init false positive and add clang-tidy to run-clangcldocker.sh
9d32bd6
20 hours ago
by anonrig
0%
fix docker clang-tidy: generate compile_commands.json on host, run tidy in container
c7cb8f8
20 hours ago
by anonrig
0%
fix gen_compile_commands: drop -stdlib=libc++ when using host GCC
7592b19
20 hours ago
by anonrig
0%
wipe stale cmake cache before gen_compile_commands to drop old CXX_FLAGS
457813a
20 hours ago
by anonrig
0%
fix docker clang-tidy: install cmake+ninja in container, use clang++-22 to match CI exactly
c68b315
20 hours ago
by anonrig
0%
wipe build-clang-tidy before docker cmake to avoid generator mismatch
95d69d7
20 hours ago
by anonrig
0%
install clang-22 and libc++-22-dev in docker tidy container
b77f4dd
20 hours ago
by anonrig
0%
reduce apt-get verbosity with -qq flag
e9ca11a
20 hours ago
by anonrig
0%
add git to docker deps for CPM to clone gtest
ce6b89b
20 hours ago
by anonrig
0%
suppress apt/docker verbosity, fix SSL certs, cache CPM downloads on host
a9a7322
20 hours ago
by anonrig
0%
exclude vendored gtest from clang-tidy and update ExcludeHeaderFilterRegex
a086e30
20 hours ago
by anonrig
0%
scope clang-tidy to src/ only, fix git safe.directory, simplify docker setup
5756e68
20 hours ago
by anonrig
0%
fix all clang-tidy issues: scope to ada.cpp, NOLINT false positives, fix stringview usage, update AGENTS.md
0cc0b23
19 hours ago
by anonrig
0%
remove .cpm-cache from repo, add to .gitignore
827cc3b
19 hours ago
by anonrig
-5.51%
add regression tests for extra-slash fuzzer crashes (ws:///..., ws://////5...)
c2df2c2
16 hours ago
by anonrig
+2.34%
fix % in host: return nullopt to defer to full parser; add regression tests for all fuzzer crashes
dc4bace
15 hours ago
by anonrig
-3.91%
fix port leading-zeros: strip zeros before pl>5 check; add regression tests
9e8d166
14 hours ago
by anonrig
+1.94%
fix IPv4 fast path bypassing port validation; add regression test
32d4de4
13 hours ago
by anonrig
0%
Update CMakeLists.txt
ad5bcad
11 hours ago
by anonrig
0%
Update CMakeLists.txt
44b0892
11 hours ago
by anonrig
0%
Update CMakeLists.txt
6522713
11 hours ago
by anonrig
© 2026 CodSpeed Technology
Home Terms Privacy Docs