Avatar for the Cap-go user
Cap-go
capgo
BlogDocsChangelog

fix: rate limit translation queue requests

#2216
Comparing
Sauvikn98:fix-translation-rate-limit
(
485fc58
) with
main
(
ee54a9c
)
CodSpeed Performance Gauge
0%
Untouched
43
Skipped
2

Benchmarks

45 total
with custom fallback
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
+1%
12.4 µs12.3 µs
non-number types
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
+1%
14.3 µs14.2 µs
with undefined
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
+1%
14.4 µs14.3 µs
number exceeding max
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
+1%
15.8 µs15.8 µs
empty policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
+1%
27 µs26.9 µs
with edge values
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
18.4 µs18.4 µs
with valid min length
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
19.4 µs19.3 µs
multibyte password validation
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
30.1 µs30 µs
zero
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.1 µs15.1 µs
negative number
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.2 µs15.1 µs
multibyte password (emoji + accented)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
22.9 µs22.8 µs
float truncation
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15 µs14.9 µs
ascii password
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
40.7 µs40.6 µs
nan and infinity
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
17.9 µs17.9 µs
long ASCII password (72 bytes)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
29.6 µs29.5 µs
valid number within range
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
25.6 µs25.5 µs
invalid password (all rules fail)
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
38.6 µs38.5 µs
valid password against strict policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
41.6 µs41.5 µs
device row normalization
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
0%
97 µs96.9 µs
classify native package compatibility - getCompatibilityDetails
benches/cli-hot-paths.bench.ts::cli compatibility helpers
CodSpeed Performance Gauge
0%
175.4 µs175.3 µs
classify native package compatibility - isCompatible
benches/cli-hot-paths.bench.ts::cli compatibility helpers
CodSpeed Performance Gauge
0%
148.8 µs148.8 µs
/channel_self set payload validation
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
0%
75 µs75 µs
auto bump bundle versions
benches/cli-hot-paths.bench.ts::cli version helpers
CodSpeed Performance Gauge
0%
160.9 µs160.9 µs
sparse device with defaults
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
15.7 µs15.7 µs
crc32 checksum for medium bundle payload
benches/cli-hot-paths.bench.ts::cli checksum helpers
CodSpeed Performance Gauge
0%
24.7 ms24.7 ms

Commits

Click on a commit to change the comparison range
Base
main
ee54a9c
+0.15%
fix: rate limit translation queue requests
485fc58
1 day ago
by Sauvikn98
© 2026 CodSpeed Technology
Home Terms Privacy Docs