hckhanh
fast-url
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
chore(deps): update dependency syncpack to v14.0.0-alpha.34
#201
Merged
Comparing
renovate/syncpack-14.x
(
6fd8567
) with
main
(
2c04997
)
CodSpeed Performance Gauge
0%
Untouched
158
Skipped
22
Benchmarks
Skipped (22)
Passed
Join with separator at end of first part
benchmark/join.bench.ts::join benchmarks::Basic joins
CodSpeed Performance Gauge
+1%
15.3 µs
15.3 µs
Join URL parts with slash
benchmark/join.bench.ts::join benchmarks::URL path separators
CodSpeed Performance Gauge
0%
15.1 µs
15.1 µs
Join with separator at start of second part
benchmark/join.bench.ts::join benchmarks::Basic joins
CodSpeed Performance Gauge
0%
15.3 µs
15.2 µs
Large object (16 params with arrays)
benchmark/querystring.bench.ts::stringify benchmarks::Comparison scenarios
CodSpeed Performance Gauge
0%
42.2 µs
42.1 µs
Join with leading ampersand
benchmark/join.bench.ts::join benchmarks::Query string separators
CodSpeed Performance Gauge
0%
19.9 µs
19.8 µs
Join URL path with query string
benchmark/join.bench.ts::join benchmarks::Query string separators
CodSpeed Performance Gauge
0%
13.2 µs
13.1 µs
Comma separator
benchmark/join.bench.ts::join benchmarks::Different separators
CodSpeed Performance Gauge
0%
13.3 µs
13.3 µs
Ampersand separator
benchmark/join.bench.ts::join benchmarks::Different separators
CodSpeed Performance Gauge
0%
13.4 µs
13.3 µs
Long strings with separator
benchmark/join.bench.ts::join benchmarks::Edge cases
CodSpeed Performance Gauge
0%
13.7 µs
13.7 µs
Join URL with trailing slash
benchmark/join.bench.ts::join benchmarks::URL path separators
CodSpeed Performance Gauge
0%
14.3 µs
14.2 µs
Both parts have separator at boundary
benchmark/join.bench.ts::join benchmarks::Basic joins
CodSpeed Performance Gauge
0%
16.1 µs
16.1 µs
Keys with special characters
benchmark/query.bench.ts::query benchmarks::Special characters
CodSpeed Performance Gauge
0%
52.1 µs
52 µs
Unicode in values
benchmark/subst.bench.ts::subst benchmarks::Special characters
CodSpeed Performance Gauge
0%
63.8 µs
63.7 µs
Versioned API endpoint
benchmark/subst.bench.ts::subst benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
69.2 µs
69.1 µs
Number values
benchmark/subst.bench.ts::subst benchmarks::Different value types
CodSpeed Performance Gauge
0%
69.6 µs
69.6 µs
Empty string
benchmark/querystring.bench.ts::encodeString benchmarks::String length scaling
CodSpeed Performance Gauge
0%
22.4 µs
22.4 µs
CamelCase parameter names
benchmark/subst.bench.ts::subst benchmarks::Parameter name patterns
CodSpeed Performance Gauge
0%
69.6 µs
69.5 µs
Large array (50 items)
benchmark/querystring.bench.ts::stringify benchmarks::Array values
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
Values with spaces
benchmark/query.bench.ts::query benchmarks::Special characters
CodSpeed Performance Gauge
0%
53.5 µs
53.5 µs
String values only
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
60.9 µs
60.9 µs
Long parameter names
benchmark/subst.bench.ts::subst benchmarks::Parameter name patterns
CodSpeed Performance Gauge
0%
68.5 µs
68.4 µs
Underscore parameter names
benchmark/subst.bench.ts::subst benchmarks::Parameter name patterns
CodSpeed Performance Gauge
0%
67 µs
66.9 µs
Boolean values
benchmark/subst.bench.ts::subst benchmarks::Different value types
CodSpeed Performance Gauge
0%
62.8 µs
62.7 µs
Unicode characters
benchmark/query.bench.ts::query benchmarks::Special characters
CodSpeed Performance Gauge
0%
63 µs
63 µs
Medium complexity template
benchmark/subst.bench.ts::subst benchmarks::Template complexity
CodSpeed Performance Gauge
0%
66.6 µs
66.5 µs
Array in query params
benchmark/urlcat.bench.ts::createUrl benchmarks::Edge cases
CodSpeed Performance Gauge
0%
68.2 µs
68.1 µs
Parameters with static segments
benchmark/subst.bench.ts::subst benchmarks::Template patterns
CodSpeed Performance Gauge
0%
67 µs
67 µs
Values with special chars
benchmark/subst.bench.ts::subst benchmarks::Special characters
CodSpeed Performance Gauge
0%
68.3 µs
68.2 µs
Consecutive parameters
benchmark/subst.bench.ts::subst benchmarks::Template patterns
CodSpeed Performance Gauge
0%
68.2 µs
68.1 µs
Very deep template (8 levels)
benchmark/subst.bench.ts::subst benchmarks::Template complexity
CodSpeed Performance Gauge
0%
83 µs
82.9 µs
Empty template
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
56.8 µs
56.8 µs
Two parameters
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
50.5 µs
50.5 µs
Mixed types
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
72 µs
72 µs
Medium values (20 chars)
benchmark/query.bench.ts::query benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
53.4 µs
53.4 µs
Short parameter names
benchmark/subst.bench.ts::subst benchmarks::Parameter name patterns
CodSpeed Performance Gauge
0%
65.9 µs
65.9 µs
Single parameter
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
59 µs
59 µs
Deep nesting with IDs
benchmark/subst.bench.ts::subst benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
68.3 µs
68.3 µs
Mixed value types
benchmark/subst.bench.ts::subst benchmarks::Different value types
CodSpeed Performance Gauge
0%
74.7 µs
74.7 µs
Long template with many segments
benchmark/subst.bench.ts::subst benchmarks::Template patterns
CodSpeed Performance Gauge
0%
73.5 µs
73.5 µs
Nested resource path
benchmark/subst.bench.ts::subst benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
66.5 µs
66.5 µs
Date-based path
benchmark/subst.bench.ts::subst benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
76.1 µs
76.1 µs
Multi-select filter params
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
59.3 µs
59.3 µs
Search with filters
benchmark/query.bench.ts::query benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
69.7 µs
69.7 µs
Short values (5 chars)
benchmark/query.bench.ts::query benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
50 µs
50 µs
Fifty parameters
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
204.1 µs
204.1 µs
Parameter at beginning
benchmark/subst.bench.ts::subst benchmarks::Template patterns
CodSpeed Performance Gauge
0%
63.5 µs
63.5 µs
Concatenate base URL and path only
benchmark/urlcat.bench.ts::createUrl benchmarks::Simple cases
CodSpeed Performance Gauge
0%
66.7 µs
66.7 µs
Medium array (10 items)
benchmark/querystring.bench.ts::stringify benchmarks::Array values
CodSpeed Performance Gauge
0%
81.7 µs
81.7 µs
Pipe separator
benchmark/join.bench.ts::join benchmarks::Different separators
CodSpeed Performance Gauge
0%
13.3 µs
13.3 µs
Multiple separators in content
benchmark/join.bench.ts::join benchmarks::Edge cases
CodSpeed Performance Gauge
0%
13.4 µs
13.4 µs
Second part empty
benchmark/join.bench.ts::join benchmarks::Edge cases
CodSpeed Performance Gauge
0%
13.3 µs
13.3 µs
Join empty first part with query
benchmark/join.bench.ts::join benchmarks::Query string separators
CodSpeed Performance Gauge
0%
13.4 µs
13.4 µs
Join URL parts both with slash
benchmark/join.bench.ts::join benchmarks::URL path separators
CodSpeed Performance Gauge
0%
15.2 µs
15.2 µs
Join deep URL paths
benchmark/join.bench.ts::join benchmarks::URL path separators
CodSpeed Performance Gauge
0%
15 µs
15 µs
Empty object
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
22.4 µs
22.4 µs
Resource with ID and nested resource
benchmark/urlcat.bench.ts::createUrl benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
84.8 µs
84.8 µs
Safe special characters (no encoding needed)
benchmark/querystring.bench.ts::encodeString benchmarks::Character type variations
CodSpeed Performance Gauge
0%
13.5 µs
13.5 µs
URL with port number
benchmark/urlcat.bench.ts::createUrl benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
82.3 µs
82.3 µs
Large query string (15 params) with some path params
benchmark/urlcat.bench.ts::createUrl benchmarks::Complex cases
CodSpeed Performance Gauge
0%
120.1 µs
120.2 µs
Unicode characters
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
54 µs
54 µs
REST API resource path
benchmark/subst.bench.ts::subst benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
64.6 µs
64.6 µs
Long values (50 chars)
benchmark/query.bench.ts::query benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
57.7 µs
57.7 µs
Single parameter
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
69.1 µs
69.1 µs
Five parameters
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
75.8 µs
75.8 µs
Multiple query params (5 params)
benchmark/urlcat.bench.ts::createUrl benchmarks::Medium complexity
CodSpeed Performance Gauge
0%
86.3 µs
86.3 µs
Boolean and number params
benchmark/urlcat.bench.ts::createUrl benchmarks::Edge cases
CodSpeed Performance Gauge
0%
95.9 µs
95.9 µs
Special numeric values
benchmark/querystring.bench.ts::stringify benchmarks::Edge cases
CodSpeed Performance Gauge
0%
94.4 µs
94.4 µs
BigInt values only
benchmark/querystring.bench.ts::stringify benchmarks::Value types
CodSpeed Performance Gauge
0%
72.1 µs
72.1 µs
Twenty parameters
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
99.1 µs
99.1 µs
Ten parameters
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
95 µs
95 µs
API query with includes
benchmark/query.bench.ts::query benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
63.1 µs
63.1 µs
Array values
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
66.7 µs
66.8 µs
Base template only (no path)
benchmark/urlcat.bench.ts::createUrl benchmarks::Edge cases
CodSpeed Performance Gauge
0%
81.5 µs
81.6 µs
Mixed primitive types
benchmark/querystring.bench.ts::stringify benchmarks::Value types
CodSpeed Performance Gauge
0%
77.4 µs
77.4 µs
Search endpoint with filters
benchmark/urlcat.bench.ts::createUrl benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
72.5 µs
72.5 µs
Analytics tracking params
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
78.9 µs
78.9 µs
Parameter at end
benchmark/subst.bench.ts::subst benchmarks::Template patterns
CodSpeed Performance Gauge
0%
64.8 µs
64.8 µs
Number values only
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
57.6 µs
57.6 µs
Three parameters (original)
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
78.7 µs
78.8 µs
BigInt values
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
68.7 µs
68.7 µs
Mixed encoding complexity
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
56.3 µs
56.4 µs
Five parameters
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
68.5 µs
68.5 µs
Empty string values
benchmark/querystring.bench.ts::stringify benchmarks::Edge cases
CodSpeed Performance Gauge
0%
52.7 µs
52.7 µs
Two parameters
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
70 µs
70.1 µs
Deep path with 5 parameters
benchmark/urlcat.bench.ts::createUrl benchmarks::Complex cases
CodSpeed Performance Gauge
0%
100.5 µs
100.5 µs
Long parameter values
benchmark/subst.bench.ts::subst benchmarks::Special characters
CodSpeed Performance Gauge
0%
64.4 µs
64.5 µs
Simple single-segment template
benchmark/subst.bench.ts::subst benchmarks::Template complexity
CodSpeed Performance Gauge
0%
63.2 µs
63.3 µs
Medium ASCII string (50 chars)
benchmark/querystring.bench.ts::encodeString benchmarks::String length scaling
CodSpeed Performance Gauge
0%
44.1 µs
44.1 µs
Twenty parameters
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
92.8 µs
92.9 µs
String values only
benchmark/querystring.bench.ts::stringify benchmarks::Value types
CodSpeed Performance Gauge
0%
52.6 µs
52.6 µs
Array of mixed types
benchmark/querystring.bench.ts::stringify benchmarks::Array values
CodSpeed Performance Gauge
0%
50.3 µs
50.3 µs
Complex URL with many params (original test)
benchmark/urlcat.bench.ts::createUrl benchmarks::Complex cases
CodSpeed Performance Gauge
0%
140.9 µs
141 µs
REST API endpoint with pagination
benchmark/urlcat.bench.ts::createUrl benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
76.1 µs
76.1 µs
Complex multi-level template
benchmark/subst.bench.ts::subst benchmarks::Template complexity
CodSpeed Performance Gauge
0%
76.8 µs
76.8 µs
Ten parameters
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
70.9 µs
70.9 µs
Path params with special characters
benchmark/urlcat.bench.ts::createUrl benchmarks::Medium complexity
CodSpeed Performance Gauge
0%
95.9 µs
96 µs
Values with spaces
benchmark/subst.bench.ts::subst benchmarks::Special characters
CodSpeed Performance Gauge
0%
65.1 µs
65.1 µs
Ten parameters
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
66.2 µs
66.3 µs
Single parameter
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
54.2 µs
54.3 µs
Search with filters
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
63.1 µs
63.1 µs
Null and undefined values
benchmark/querystring.bench.ts::stringify benchmarks::Edge cases
CodSpeed Performance Gauge
0%
59.6 µs
59.7 µs
Original complex test
benchmark/query.bench.ts::query benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
85.4 µs
85.5 µs
Two parameters
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
56.3 µs
56.4 µs
2-byte UTF-8 characters
benchmark/querystring.bench.ts::encodeString benchmarks::Unicode and multi-byte characters
CodSpeed Performance Gauge
0%
78.3 µs
78.3 µs
E-commerce cart params
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
62.7 µs
62.8 µs
Five parameters
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
52.4 µs
52.5 µs
Large query string (15 params)
benchmark/urlcat.bench.ts::createUrl benchmarks::Complex cases
CodSpeed Performance Gauge
0%
104.4 µs
104.5 µs
Small array (3 items)
benchmark/querystring.bench.ts::stringify benchmarks::Array values
CodSpeed Performance Gauge
0%
48.3 µs
48.4 µs
Medium encoding (common special chars)
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
52.3 µs
52.4 µs
Simple join without separators at boundaries
benchmark/join.bench.ts::join benchmarks::Basic joins
CodSpeed Performance Gauge
0%
24.9 µs
25 µs
Form submission data
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
68.9 µs
69 µs
Base URL with trailing slash + path
benchmark/urlcat.bench.ts::createUrl benchmarks::Simple cases
CodSpeed Performance Gauge
0%
25.1 µs
25.1 µs
Two path params + two query params
benchmark/urlcat.bench.ts::createUrl benchmarks::Medium complexity
CodSpeed Performance Gauge
0%
100.5 µs
100.6 µs
String values
benchmark/subst.bench.ts::subst benchmarks::Different value types
CodSpeed Performance Gauge
0%
68.3 µs
68.4 µs
Single query parameter
benchmark/urlcat.bench.ts::createUrl benchmarks::Simple cases
CodSpeed Performance Gauge
0%
72.1 µs
72.2 µs
Pagination params
benchmark/query.bench.ts::query benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
55.7 µs
55.7 µs
Boolean values only
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
62.9 µs
63 µs
Number values only
benchmark/querystring.bench.ts::stringify benchmarks::Value types
CodSpeed Performance Gauge
0%
58.2 µs
58.3 µs
Short ASCII string (10 chars)
benchmark/querystring.bench.ts::encodeString benchmarks::String length scaling
CodSpeed Performance Gauge
0%
18.1 µs
18.1 µs
Single path parameter
benchmark/urlcat.bench.ts::createUrl benchmarks::Simple cases
CodSpeed Performance Gauge
0%
78.6 µs
78.7 µs
Pagination params
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
54.6 µs
54.7 µs
Empty object
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
16.6 µs
16.6 µs
Boolean values only
benchmark/querystring.bench.ts::stringify benchmarks::Value types
CodSpeed Performance Gauge
0%
51.7 µs
51.8 µs
Short values (5 chars each)
benchmark/querystring.bench.ts::stringify benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
52.1 µs
52.2 µs
Very long ASCII string (1000 chars)
benchmark/querystring.bench.ts::encodeString benchmarks::String length scaling
CodSpeed Performance Gauge
0%
49.4 µs
49.4 µs
Medium object (10 params)
benchmark/querystring.bench.ts::stringify benchmarks::Comparison scenarios
CodSpeed Performance Gauge
0%
30.7 µs
30.8 µs
No encoding needed (pure alphanumeric)
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
49.5 µs
49.6 µs
Empty arrays
benchmark/querystring.bench.ts::stringify benchmarks::Edge cases
CodSpeed Performance Gauge
0%
46.5 µs
46.6 µs
Join query parts with ampersand
benchmark/join.bench.ts::join benchmarks::Query string separators
CodSpeed Performance Gauge
0%
14.2 µs
14.2 µs
Question mark separator
benchmark/join.bench.ts::join benchmarks::Different separators
CodSpeed Performance Gauge
0%
13.4 µs
13.4 µs
Slash separator
benchmark/join.bench.ts::join benchmarks::Different separators
CodSpeed Performance Gauge
0%
13.3 µs
13.4 µs
First part empty
benchmark/join.bench.ts::join benchmarks::Edge cases
CodSpeed Performance Gauge
0%
13.2 µs
13.3 µs
Very long values (200 chars each)
benchmark/querystring.bench.ts::stringify benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
80.1 µs
80.3 µs
API query with includes
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
57.1 µs
57.2 µs
Empty params object
benchmark/urlcat.bench.ts::createUrl benchmarks::Edge cases
CodSpeed Performance Gauge
0%
24 µs
24.1 µs
Small object (2 params)
benchmark/querystring.bench.ts::stringify benchmarks::Comparison scenarios
CodSpeed Performance Gauge
0%
24 µs
24 µs
Both parts empty
benchmark/join.bench.ts::join benchmarks::Edge cases
CodSpeed Performance Gauge
0%
11.8 µs
11.8 µs
Long ASCII string (200 chars)
benchmark/querystring.bench.ts::encodeString benchmarks::String length scaling
CodSpeed Performance Gauge
0%
22.4 µs
22.4 µs
Multiple arrays
benchmark/querystring.bench.ts::stringify benchmarks::Array values
CodSpeed Performance Gauge
0%
55.3 µs
55.5 µs
Values with special characters
benchmark/query.bench.ts::query benchmarks::Special characters
CodSpeed Performance Gauge
0%
53.3 µs
53.4 µs
Light encoding (spaces only)
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
50.3 µs
50.5 µs
Long values (50 chars each)
benchmark/querystring.bench.ts::stringify benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
56.7 µs
56.9 µs
Medium values (20 chars each)
benchmark/querystring.bench.ts::stringify benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
59.5 µs
59.7 µs
Various language scripts
benchmark/querystring.bench.ts::encodeString benchmarks::Unicode and multi-byte characters
CodSpeed Performance Gauge
0%
36 µs
36.1 µs
Heavy encoding (many special chars)
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
56.8 µs
57 µs
File path with spaces
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
15.2 µs
15.2 µs
Pure alphanumeric (no encoding needed)
benchmark/querystring.bench.ts::encodeString benchmarks::Character type variations
CodSpeed Performance Gauge
0%
13.8 µs
13.8 µs
URL path
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
24.7 µs
24.8 µs
3-byte UTF-8 characters (CJK)
benchmark/querystring.bench.ts::encodeString benchmarks::Unicode and multi-byte characters
CodSpeed Performance Gauge
0%
23.5 µs
23.7 µs
4-byte UTF-8 characters (emojis)
benchmark/querystring.bench.ts::encodeString benchmarks::Unicode and multi-byte characters
CodSpeed Performance Gauge
-1%
22.1 µs
22.2 µs
SQL-like query
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
-1%
15.7 µs
15.8 µs
Mixed safe and unsafe (50% encoding)
benchmark/querystring.bench.ts::encodeString benchmarks::Character type variations
CodSpeed Performance Gauge
-1%
15.6 µs
15.6 µs
Email address
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
-1%
19.7 µs
19.8 µs
All spaces (maximum encoding)
benchmark/querystring.bench.ts::encodeString benchmarks::Character type variations
CodSpeed Performance Gauge
-1%
13.7 µs
13.8 µs
Mixed ASCII and Unicode
benchmark/querystring.bench.ts::encodeString benchmarks::Unicode and multi-byte characters
CodSpeed Performance Gauge
-1%
25.5 µs
25.6 µs
Heavy special characters (75% encoding)
benchmark/querystring.bench.ts::encodeString benchmarks::Character type variations
CodSpeed Performance Gauge
-1%
33.3 µs
33.5 µs
JSON-like string
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
-1%
23.9 µs
24.1 µs
Search query with special chars
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
-1%
14.6 µs
14.8 µs
Commits
Click on a commit to change the comparison range
Base
main
2c04997
-0.08%
chore(deps): update dependency syncpack to v14.0.0-alpha.34
6fd8567
2 days ago
by renovate[bot]
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs