hckhanh
fast-url
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Add GitHub Copilot instructions configuration
#87
Merged
Comparing
copilot/set-up-copilot-instructions
(
d4bc7d2
) with
main
(
5b7ec21
)
CodSpeed Performance Gauge
0%
Untouched
158
Skipped
22
Benchmarks
Skipped (22)
Passed
Join URL path with query string
benchmark/join.bench.ts::join benchmarks::Query string separators
CodSpeed Performance Gauge
+1%
13.2 µs
13.1 µs
Long strings with separator
benchmark/join.bench.ts::join benchmarks::Edge cases
CodSpeed Performance Gauge
+1%
14 µs
13.8 µs
Pipe separator
benchmark/join.bench.ts::join benchmarks::Different separators
CodSpeed Performance Gauge
+1%
13.4 µs
13.3 µs
Ampersand separator
benchmark/join.bench.ts::join benchmarks::Different separators
CodSpeed Performance Gauge
+1%
13.5 µs
13.3 µs
Join empty first part with query
benchmark/join.bench.ts::join benchmarks::Query string separators
CodSpeed Performance Gauge
+1%
13.6 µs
13.5 µs
Both parts empty
benchmark/join.bench.ts::join benchmarks::Edge cases
CodSpeed Performance Gauge
+1%
11.9 µs
11.8 µs
Comma separator
benchmark/join.bench.ts::join benchmarks::Different separators
CodSpeed Performance Gauge
+1%
13.4 µs
13.3 µs
Second part empty
benchmark/join.bench.ts::join benchmarks::Edge cases
CodSpeed Performance Gauge
+1%
13.5 µs
13.4 µs
Join URL parts with slash
benchmark/join.bench.ts::join benchmarks::URL path separators
CodSpeed Performance Gauge
+1%
15.2 µs
15.1 µs
Join with leading ampersand
benchmark/join.bench.ts::join benchmarks::Query string separators
CodSpeed Performance Gauge
+1%
20.2 µs
20.1 µs
Slash separator
benchmark/join.bench.ts::join benchmarks::Different separators
CodSpeed Performance Gauge
0%
13.5 µs
13.4 µs
First part empty
benchmark/join.bench.ts::join benchmarks::Edge cases
CodSpeed Performance Gauge
0%
13.4 µs
13.4 µs
Unicode in values
benchmark/subst.bench.ts::subst benchmarks::Special characters
CodSpeed Performance Gauge
0%
63 µs
62.8 µs
Two parameters
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
56.5 µs
56.3 µs
Pagination params
benchmark/query.bench.ts::query benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
55.9 µs
55.7 µs
Values with special chars
benchmark/subst.bench.ts::subst benchmarks::Special characters
CodSpeed Performance Gauge
0%
67.1 µs
66.9 µs
Short values (5 chars)
benchmark/query.bench.ts::query benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
50.1 µs
50 µs
Keys with special characters
benchmark/query.bench.ts::query benchmarks::Special characters
CodSpeed Performance Gauge
0%
52.2 µs
52.1 µs
REST API resource path
benchmark/subst.bench.ts::subst benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
63 µs
62.9 µs
Medium values (20 chars)
benchmark/query.bench.ts::query benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
53.6 µs
53.5 µs
Five parameters
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
68.7 µs
68.5 µs
Number values only
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
57.8 µs
57.6 µs
Single parameter
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
59.4 µs
59.3 µs
Original complex test
benchmark/query.bench.ts::query benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
85.4 µs
85.2 µs
Empty params object
benchmark/urlcat.bench.ts::createUrl benchmarks::Edge cases
CodSpeed Performance Gauge
0%
24.1 µs
24.1 µs
API query with includes
benchmark/query.bench.ts::query benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
63.3 µs
63.1 µs
Values with spaces
benchmark/subst.bench.ts::subst benchmarks::Special characters
CodSpeed Performance Gauge
0%
65.1 µs
65 µs
Parameter at beginning
benchmark/subst.bench.ts::subst benchmarks::Template patterns
CodSpeed Performance Gauge
0%
63.4 µs
63.3 µs
Concatenate base URL and path only
benchmark/urlcat.bench.ts::createUrl benchmarks::Simple cases
CodSpeed Performance Gauge
0%
67.4 µs
67.3 µs
Simple single-segment template
benchmark/subst.bench.ts::subst benchmarks::Template complexity
CodSpeed Performance Gauge
0%
62.5 µs
62.4 µs
Values with special characters
benchmark/query.bench.ts::query benchmarks::Special characters
CodSpeed Performance Gauge
0%
53.5 µs
53.4 µs
Multiple separators in content
benchmark/join.bench.ts::join benchmarks::Edge cases
CodSpeed Performance Gauge
0%
13.5 µs
13.4 µs
Question mark separator
benchmark/join.bench.ts::join benchmarks::Different separators
CodSpeed Performance Gauge
0%
13.5 µs
13.5 µs
Array values
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
66.7 µs
66.6 µs
Versioned API endpoint
benchmark/subst.bench.ts::subst benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
69.2 µs
69.1 µs
Safe special characters (no encoding needed)
benchmark/querystring.bench.ts::encodeString benchmarks::Character type variations
CodSpeed Performance Gauge
0%
13.7 µs
13.7 µs
Consecutive parameters
benchmark/subst.bench.ts::subst benchmarks::Template patterns
CodSpeed Performance Gauge
0%
68.2 µs
68 µs
Number values
benchmark/subst.bench.ts::subst benchmarks::Different value types
CodSpeed Performance Gauge
0%
69.6 µs
69.5 µs
Medium complexity template
benchmark/subst.bench.ts::subst benchmarks::Template complexity
CodSpeed Performance Gauge
0%
67.8 µs
67.6 µs
Long template with many segments
benchmark/subst.bench.ts::subst benchmarks::Template patterns
CodSpeed Performance Gauge
0%
73.5 µs
73.3 µs
Mixed types
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
72.3 µs
72.2 µs
Deep nesting with IDs
benchmark/subst.bench.ts::subst benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
68.5 µs
68.3 µs
Search query with special chars
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
14.9 µs
14.8 µs
Five parameters
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
76.1 µs
76 µs
File path with spaces
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
15.3 µs
15.3 µs
Join URL parts both with slash
benchmark/join.bench.ts::join benchmarks::URL path separators
CodSpeed Performance Gauge
0%
15.4 µs
15.4 µs
Mixed safe and unsafe (50% encoding)
benchmark/querystring.bench.ts::encodeString benchmarks::Character type variations
CodSpeed Performance Gauge
0%
15.7 µs
15.7 µs
SQL-like query
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
15.9 µs
15.9 µs
Both parts have separator at boundary
benchmark/join.bench.ts::join benchmarks::Basic joins
CodSpeed Performance Gauge
0%
16.3 µs
16.3 µs
String values
benchmark/subst.bench.ts::subst benchmarks::Different value types
CodSpeed Performance Gauge
0%
69.8 µs
69.7 µs
Very long values (200 chars each)
benchmark/querystring.bench.ts::stringify benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
80.5 µs
80.4 µs
Search with filters
benchmark/query.bench.ts::query benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
69.8 µs
69.6 µs
Values with spaces
benchmark/query.bench.ts::query benchmarks::Special characters
CodSpeed Performance Gauge
0%
53.7 µs
53.6 µs
CamelCase parameter names
benchmark/subst.bench.ts::subst benchmarks::Parameter name patterns
CodSpeed Performance Gauge
0%
69.4 µs
69.3 µs
Underscore parameter names
benchmark/subst.bench.ts::subst benchmarks::Parameter name patterns
CodSpeed Performance Gauge
0%
67.8 µs
67.7 µs
Ten parameters
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
71.2 µs
71.1 µs
Short ASCII string (10 chars)
benchmark/querystring.bench.ts::encodeString benchmarks::String length scaling
CodSpeed Performance Gauge
0%
18.2 µs
18.2 µs
Single parameter
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
69.5 µs
69.4 µs
Empty template
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
57.1 µs
57 µs
Long values (50 chars)
benchmark/query.bench.ts::query benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
58.5 µs
58.4 µs
Multi-select filter params
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
59.6 µs
59.5 µs
Very deep template (8 levels)
benchmark/subst.bench.ts::subst benchmarks::Template complexity
CodSpeed Performance Gauge
0%
83.3 µs
83.2 µs
Email address
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
20 µs
19.9 µs
Medium values (20 chars each)
benchmark/querystring.bench.ts::stringify benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
59.6 µs
59.5 µs
Heavy encoding (many special chars)
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
58.3 µs
58.2 µs
Long ASCII string (200 chars)
benchmark/querystring.bench.ts::encodeString benchmarks::String length scaling
CodSpeed Performance Gauge
0%
22.6 µs
22.6 µs
Short parameter names
benchmark/subst.bench.ts::subst benchmarks::Parameter name patterns
CodSpeed Performance Gauge
0%
65.9 µs
65.8 µs
Parameters with static segments
benchmark/subst.bench.ts::subst benchmarks::Template patterns
CodSpeed Performance Gauge
0%
67.2 µs
67.1 µs
Long parameter names
benchmark/subst.bench.ts::subst benchmarks::Parameter name patterns
CodSpeed Performance Gauge
0%
68.6 µs
68.5 µs
Parameter at end
benchmark/subst.bench.ts::subst benchmarks::Template patterns
CodSpeed Performance Gauge
0%
64.6 µs
64.5 µs
JSON-like string
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
24.2 µs
24.1 µs
Two parameters
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
70.3 µs
70.2 µs
Twenty parameters
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
99.4 µs
99.3 µs
Very long ASCII string (1000 chars)
benchmark/querystring.bench.ts::encodeString benchmarks::String length scaling
CodSpeed Performance Gauge
0%
49.7 µs
49.6 µs
URL path
benchmark/querystring.bench.ts::encodeString benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
25 µs
25 µs
Small object (2 params)
benchmark/querystring.bench.ts::stringify benchmarks::Comparison scenarios
CodSpeed Performance Gauge
0%
24.1 µs
24 µs
Search endpoint with filters
benchmark/urlcat.bench.ts::createUrl benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
72.6 µs
72.5 µs
Mixed ASCII and Unicode
benchmark/querystring.bench.ts::encodeString benchmarks::Unicode and multi-byte characters
CodSpeed Performance Gauge
0%
25.8 µs
25.8 µs
REST API endpoint with pagination
benchmark/urlcat.bench.ts::createUrl benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
74.7 µs
74.6 µs
Base template only (no path)
benchmark/urlcat.bench.ts::createUrl benchmarks::Edge cases
CodSpeed Performance Gauge
0%
80.4 µs
80.3 µs
Resource with ID and nested resource
benchmark/urlcat.bench.ts::createUrl benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
84.7 µs
84.6 µs
String values only
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
61 µs
61 µs
API query with includes
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
57.4 µs
57.3 µs
Number values only
benchmark/querystring.bench.ts::stringify benchmarks::Value types
CodSpeed Performance Gauge
0%
58.4 µs
58.3 µs
Mixed encoding complexity
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
56.7 µs
56.6 µs
Long parameter values
benchmark/subst.bench.ts::subst benchmarks::Special characters
CodSpeed Performance Gauge
0%
64.1 µs
64 µs
BigInt values
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
68.8 µs
68.7 µs
Unicode characters
benchmark/query.bench.ts::query benchmarks::Special characters
CodSpeed Performance Gauge
0%
62.9 µs
62.9 µs
Three parameters (original)
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
78.8 µs
78.8 µs
Medium object (10 params)
benchmark/querystring.bench.ts::stringify benchmarks::Comparison scenarios
CodSpeed Performance Gauge
0%
30.8 µs
30.7 µs
Date-based path
benchmark/subst.bench.ts::subst benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
76.6 µs
76.6 µs
Boolean values only
benchmark/query.bench.ts::query benchmarks::Different value types
CodSpeed Performance Gauge
0%
61.8 µs
61.8 µs
Array in query params
benchmark/urlcat.bench.ts::createUrl benchmarks::Edge cases
CodSpeed Performance Gauge
0%
67.3 µs
67.3 µs
Heavy special characters (75% encoding)
benchmark/querystring.bench.ts::encodeString benchmarks::Character type variations
CodSpeed Performance Gauge
0%
33.8 µs
33.8 µs
Complex multi-level template
benchmark/subst.bench.ts::subst benchmarks::Template complexity
CodSpeed Performance Gauge
0%
74.9 µs
74.8 µs
Single query parameter
benchmark/urlcat.bench.ts::createUrl benchmarks::Simple cases
CodSpeed Performance Gauge
0%
72.5 µs
72.4 µs
Various language scripts
benchmark/querystring.bench.ts::encodeString benchmarks::Unicode and multi-byte characters
CodSpeed Performance Gauge
0%
36.3 µs
36.2 µs
Mixed value types
benchmark/subst.bench.ts::subst benchmarks::Different value types
CodSpeed Performance Gauge
0%
75 µs
75 µs
URL with port number
benchmark/urlcat.bench.ts::createUrl benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
82.2 µs
82.2 µs
Multiple query params (5 params)
benchmark/urlcat.bench.ts::createUrl benchmarks::Medium complexity
CodSpeed Performance Gauge
0%
86.3 µs
86.3 µs
Array of mixed types
benchmark/querystring.bench.ts::stringify benchmarks::Array values
CodSpeed Performance Gauge
0%
51.2 µs
51.2 µs
Large object (16 params with arrays)
benchmark/querystring.bench.ts::stringify benchmarks::Comparison scenarios
CodSpeed Performance Gauge
0%
42.3 µs
42.2 µs
Ten parameters
benchmark/subst.bench.ts::subst benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
95.2 µs
95.2 µs
Boolean values only
benchmark/querystring.bench.ts::stringify benchmarks::Value types
CodSpeed Performance Gauge
0%
52.7 µs
52.7 µs
Special numeric values
benchmark/querystring.bench.ts::stringify benchmarks::Edge cases
CodSpeed Performance Gauge
0%
94.8 µs
94.7 µs
Empty string values
benchmark/querystring.bench.ts::stringify benchmarks::Edge cases
CodSpeed Performance Gauge
0%
52.8 µs
52.8 µs
Nested resource path
benchmark/subst.bench.ts::subst benchmarks::Real-world patterns
CodSpeed Performance Gauge
0%
66.8 µs
66.7 µs
String values only
benchmark/querystring.bench.ts::stringify benchmarks::Value types
CodSpeed Performance Gauge
0%
52.9 µs
52.8 µs
Five parameters
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
55.9 µs
55.8 µs
Two parameters
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
50.6 µs
50.6 µs
Large array (50 items)
benchmark/querystring.bench.ts::stringify benchmarks::Array values
CodSpeed Performance Gauge
0%
1.9 ms
1.9 ms
Light encoding (spaces only)
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
51.4 µs
51.3 µs
Search with filters
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
63.4 µs
63.4 µs
Long values (50 chars each)
benchmark/querystring.bench.ts::stringify benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
56.9 µs
56.9 µs
Mixed primitive types
benchmark/querystring.bench.ts::stringify benchmarks::Value types
CodSpeed Performance Gauge
0%
77.4 µs
77.4 µs
Two path params + two query params
benchmark/urlcat.bench.ts::createUrl benchmarks::Medium complexity
CodSpeed Performance Gauge
0%
100.6 µs
100.5 µs
Boolean and number params
benchmark/urlcat.bench.ts::createUrl benchmarks::Edge cases
CodSpeed Performance Gauge
0%
94.1 µs
94.1 µs
Large query string (15 params) with some path params
benchmark/urlcat.bench.ts::createUrl benchmarks::Complex cases
CodSpeed Performance Gauge
0%
120.2 µs
120.2 µs
Join query parts with ampersand
benchmark/join.bench.ts::join benchmarks::Query string separators
CodSpeed Performance Gauge
0%
14.4 µs
14.4 µs
Join URL with trailing slash
benchmark/join.bench.ts::join benchmarks::URL path separators
CodSpeed Performance Gauge
0%
14.4 µs
14.4 µs
Join deep URL paths
benchmark/join.bench.ts::join benchmarks::URL path separators
CodSpeed Performance Gauge
0%
15.2 µs
15.2 µs
Single path parameter
benchmark/urlcat.bench.ts::createUrl benchmarks::Simple cases
CodSpeed Performance Gauge
0%
78.9 µs
78.9 µs
Twenty parameters
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
100.5 µs
100.5 µs
Deep path with 5 parameters
benchmark/urlcat.bench.ts::createUrl benchmarks::Complex cases
CodSpeed Performance Gauge
0%
100.6 µs
100.6 µs
Join with separator at end of first part
benchmark/join.bench.ts::join benchmarks::Basic joins
CodSpeed Performance Gauge
0%
15.4 µs
15.4 µs
Join with separator at start of second part
benchmark/join.bench.ts::join benchmarks::Basic joins
CodSpeed Performance Gauge
0%
15.4 µs
15.4 µs
Simple join without separators at boundaries
benchmark/join.bench.ts::join benchmarks::Basic joins
CodSpeed Performance Gauge
0%
25.2 µs
25.2 µs
All spaces (maximum encoding)
benchmark/querystring.bench.ts::encodeString benchmarks::Character type variations
CodSpeed Performance Gauge
0%
13.9 µs
13.9 µs
Empty object
benchmark/query.bench.ts::query benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
22.6 µs
22.6 µs
Empty string
benchmark/querystring.bench.ts::encodeString benchmarks::String length scaling
CodSpeed Performance Gauge
0%
22.7 µs
22.7 µs
4-byte UTF-8 characters (emojis)
benchmark/querystring.bench.ts::encodeString benchmarks::Unicode and multi-byte characters
CodSpeed Performance Gauge
0%
22.3 µs
22.3 µs
Pure alphanumeric (no encoding needed)
benchmark/querystring.bench.ts::encodeString benchmarks::Character type variations
CodSpeed Performance Gauge
0%
14.1 µs
14.1 µs
Empty object
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
16.8 µs
16.8 µs
Large query string (15 params)
benchmark/urlcat.bench.ts::createUrl benchmarks::Complex cases
CodSpeed Performance Gauge
0%
104.7 µs
104.7 µs
Analytics tracking params
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
79.2 µs
79.2 µs
Ten parameters
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
70.8 µs
70.8 µs
Boolean values
benchmark/subst.bench.ts::subst benchmarks::Different value types
CodSpeed Performance Gauge
0%
62.7 µs
62.7 µs
Null and undefined values
benchmark/querystring.bench.ts::stringify benchmarks::Edge cases
CodSpeed Performance Gauge
0%
59.6 µs
59.6 µs
Multiple arrays
benchmark/querystring.bench.ts::stringify benchmarks::Array values
CodSpeed Performance Gauge
0%
54.8 µs
54.8 µs
Single parameter
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
54.6 µs
54.6 µs
Unicode characters
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
54 µs
54 µs
Medium encoding (common special chars)
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
51.8 µs
51.8 µs
Medium ASCII string (50 chars)
benchmark/querystring.bench.ts::encodeString benchmarks::String length scaling
CodSpeed Performance Gauge
0%
44.7 µs
44.7 µs
Pagination params
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
54.9 µs
54.9 µs
No encoding needed (pure alphanumeric)
benchmark/querystring.bench.ts::stringify benchmarks::Special characters and encoding
CodSpeed Performance Gauge
0%
48.6 µs
48.6 µs
3-byte UTF-8 characters (CJK)
benchmark/querystring.bench.ts::encodeString benchmarks::Unicode and multi-byte characters
CodSpeed Performance Gauge
0%
23.9 µs
23.9 µs
Small array (3 items)
benchmark/querystring.bench.ts::stringify benchmarks::Array values
CodSpeed Performance Gauge
0%
47 µs
47 µs
Form submission data
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
69.3 µs
69.3 µs
E-commerce cart params
benchmark/querystring.bench.ts::stringify benchmarks::Real-world use cases
CodSpeed Performance Gauge
0%
63.1 µs
63.1 µs
Short values (5 chars each)
benchmark/querystring.bench.ts::stringify benchmarks::Value length scaling
CodSpeed Performance Gauge
0%
52.4 µs
52.4 µs
Empty arrays
benchmark/querystring.bench.ts::stringify benchmarks::Edge cases
CodSpeed Performance Gauge
0%
46.7 µs
46.7 µs
Path params with special characters
benchmark/urlcat.bench.ts::createUrl benchmarks::Medium complexity
CodSpeed Performance Gauge
0%
96.2 µs
96.2 µs
2-byte UTF-8 characters
benchmark/querystring.bench.ts::encodeString benchmarks::Unicode and multi-byte characters
CodSpeed Performance Gauge
0%
77.8 µs
77.8 µs
Fifty parameters
benchmark/querystring.bench.ts::stringify benchmarks::Parameter count scaling
CodSpeed Performance Gauge
0%
196.6 µs
196.7 µs
Complex URL with many params (original test)
benchmark/urlcat.bench.ts::createUrl benchmarks::Complex cases
CodSpeed Performance Gauge
0%
141 µs
141.1 µs
Medium array (10 items)
benchmark/querystring.bench.ts::stringify benchmarks::Array values
CodSpeed Performance Gauge
0%
79.5 µs
79.6 µs
BigInt values only
benchmark/querystring.bench.ts::stringify benchmarks::Value types
CodSpeed Performance Gauge
0%
72.1 µs
72.2 µs
Base URL with trailing slash + path
benchmark/urlcat.bench.ts::createUrl benchmarks::Simple cases
CodSpeed Performance Gauge
0%
25.4 µs
25.4 µs
Commits
Click on a commit to change the comparison range
Base
main
5b7ec21
+0.15%
Add GitHub Copilot instructions configuration Co-authored-by: hckhanh <6380436+hckhanh@users.noreply.github.com>
d4bc7d2
2 days ago
by Copilot
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs