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

[codex] fix admin global stats primary read

#2245Merged
Comparing
codex/fix-admin-global-stats-primary
(
45720ae
) with
main
(
34fe7b8
)
CodSpeed Performance Gauge
0%
Untouched
43
Skipped
2

Benchmarks

45 total
with undefined
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
+1%
14.5 µs14.3 µs
with edge values
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
+1%
18.6 µs18.4 µs
with valid min length
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
+1%
19.5 µs19.4 µs
empty policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
+1%
27.1 µs27 µs
multibyte password (emoji + accented)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
+1%
23 µs22.9 µs
long ASCII password (72 bytes)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
29.7 µs29.6 µs
with custom fallback
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
12.4 µs12.4 µs
non-number types
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
14.4 µs14.3 µs
float truncation
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.1 µs15.1 µs
valid number within range
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
25.7 µs25.6 µs
validate bundle semver candidates
benches/cli-hot-paths.bench.ts::cli version helpers
CodSpeed Performance Gauge
0%
26.1 µs26 µs
multibyte password validation
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
30.1 µs30 µs
invalid password (all rules fail)
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
38.6 µs38.5 µs
ascii password
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
40.9 µs40.8 µs
valid password against strict policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
41.7 µs41.6 µs
sparse device with defaults
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
15.8 µs15.7 µs
number exceeding max
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.9 µs15.9 µs
zero
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.2 µs15.2 µs
negative number
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.3 µs15.3 µs
sparse existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16.2 µs16.1 µs
null/undefined existing
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16.3 µs16.3 µs
sparse device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
17.6 µs17.6 µs
nan and infinity
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
18 µs18 µs
sparse existing vs full device
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
31.3 µs31.3 µs
/updates payload validation
benches/plugin-hot-paths.bench.ts::plugin endpoint request parsing
CodSpeed Performance Gauge
0%
148.4 µs148.3 µs

Commits

Click on a commit to change the comparison range
Base
main
34fe7b8
+0.19%
fix(admin): read global stats from primary
45720ae
6 days ago
by riderx
© 2026 CodSpeed Technology
Home Terms Privacy Docs