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

[codex] Restore app-scoped statistics access

#1871Merged
Comparing
codex/fix-app-stats-rbac
(
c9ab2bb
) with
main
(
7bd5daf
)
CodSpeed Performance Gauge
0%
Untouched
28

Benchmarks

28 total
with undefined
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
+1%
14.4 µs14.3 µs
with edge values
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
18.3 µs18.2 µs
with custom fallback
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
12.3 µs12.2 µs
with valid min length
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
19.3 µs19.2 µs
non-number types
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
14.2 µs14.1 µs
float truncation
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
14.9 µs14.9 µs
multibyte password (emoji + accented)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
23 µs22.9 µs
null/undefined existing
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16 µs16 µs
empty policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
27.1 µs27 µs
invalid password (all rules fail)
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
38.7 µs38.5 µs
ASCII password
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
40.7 µs40.6 µs
long ASCII password (72 bytes)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
29.7 µs29.6 µ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.2 µs15.2 µs
sparse device with defaults
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
15.7 µs15.6 µs
number exceeding max
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.8 µs15.8 µs
sparse existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
16.5 µs16.5 µs
sparse device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
17.4 µs17.4 µs
NaN and Infinity
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
17.7 µs17.7 µs
full existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
40 µs40 µs
valid password against strict policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
41.6 µs41.6 µs
changes detected (version_name differs)
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
multibyte password validation
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
30 µs30 µs
valid number within range
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
25.4 µs25.4 µs
full device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
71 µs71 µs

Commits

Click on a commit to change the comparison range
Base
main
7bd5daf
+0.2%
fix(stats): restore app-scoped metrics access
63e92a6
2 months ago
by riderx
-0.01%
fix(stats): restore org metrics access
af1e18a
2 months ago
by riderx
+0.02%
fix(stats): satisfy metrics typecheck
c9ab2bb
2 months ago
by riderx
© 2026 CodSpeed Technology
Home Terms Privacy Docs