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

feat: replace static locale bundles with dynamic worker translations

#1884
Comparing
codex/dynamic-ai-translation
(
50da775
) with
main
(
0d071b2
)
CodSpeed Performance Gauge
0%
Untouched
28

Benchmarks

28 total
with edge values
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
+1%
18.5 µs18.3 µs
NaN and Infinity
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
+1%
17.9 µs17.8 µs
full existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
+1%
40.2 µs39.9 µs
with valid min length
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
+1%
19.4 µs19.3 µs
float truncation
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
+1%
15.1 µs15 µs
zero
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
+1%
15.2 µs15.2 µs
negative number
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
+1%
15.3 µs15.2 µs
sparse device with defaults
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
+1%
15.7 µs15.6 µs
null/undefined existing
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
+1%
16 µs15.9 µs
sparse existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
+1%
16.5 µs16.4 µs
valid number within range
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
25.5 µs25.4 µs
full device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
71.2 µs70.9 µs
with undefined
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
14.4 µs14.4 µs
number exceeding max
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.9 µs15.8 µs
full device object
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
42.2 µs42.1 µs
sparse device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
17.4 µs17.3 µs
valid password against strict policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
41.8 µs41.6 µs
with custom fallback
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
12.3 µs12.3 µs
non-number types
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
14.3 µs14.2 µs
sparse existing vs full device
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
no changes detected
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
999.1 µs997.5 µs
changes detected (version_name differs)
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
ASCII password
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
40.7 µs40.7 µs
multibyte password validation
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
30 µs30.1 µs
invalid password (all rules fail)
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
38.6 µs38.7 µs

Commits

Click on a commit to change the comparison range
Base
main
0d071b2
-0.08%
feat(i18n): replace static locales with worker translations
3eadcaa
2 days ago
by riderx
+0.05%
fix(ci): simplify translation token matching
9ce5a97
2 days ago
by riderx
-0.43%
fix(ci): align supabase template paths
ea11fdb
2 days ago
by riderx
+0.34%
fix(dev): degrade translation without worker
f352835
2 days ago
by riderx
+0.14%
Merge branch 'main' into codex/dynamic-ai-translation
bac49ed
2 days ago
by riderx
+0.02%
fix(i18n): address review feedback
fcbaf9e
2 days ago
by riderx
0%
fix(ci): use backend logging for translation warnings
458c8e9
2 days ago
by riderx
-0.04%
fix(i18n): preserve translation keys and retry 503s
de647fe
2 days ago
by riderx
-0.19%
fix(i18n): harden translation runtime
102c457
2 days ago
by riderx
+0.26%
fix(i18n): restrict translation inputs
f5a27dd
2 days ago
by riderx
+0.02%
fix(i18n): scope page translation and reloads
2e7ddcf
2 days ago
by riderx
-0.44%
fix(translation): exempt cache hits and safe placeholders
d83379d
2 days ago
by riderx
+0.81%
fix(preprod): use configured api host for translation
1633e3a
2 days ago
by riderx
-0.17%
fix(translation): reuse cache across routes and retry timeouts
50da775
2 days ago
by riderx
© 2026 CodSpeed Technology
Home Terms Privacy Docs