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

feat(api): atomic API key creation with RBAC role bindings

#2012
Comparing
feat/apikey-atomic-bindings
(
76b4e00
) with
main
(
17d36c6
)
CodSpeed Performance Gauge
0%
Untouched
28

Benchmarks

28 total
sparse device with defaults
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
15.5 µs15.5 µs
null/undefined existing
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
15.8 µs15.8 µs
sparse existing row
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.3 µs17.3 µs
full existing row
benches/device-comparison.bench.ts::toComparableExisting
CodSpeed Performance Gauge
0%
40 µs39.9 µs
full device object
benches/device-comparison.bench.ts::toComparableDevice
CodSpeed Performance Gauge
0%
42.2 µs42.1 µs
full device
benches/device-comparison.bench.ts::buildNormalizedDeviceForWrite
CodSpeed Performance Gauge
0%
71.1 µs71.1 µs
multibyte password (emoji + accented)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
22.8 µs22.8 µs
multibyte password validation
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
29.9 µs29.9 µs
sparse existing vs full device
benches/device-comparison.bench.ts::hasComparableDeviceChanged
CodSpeed Performance Gauge
0%
1.7 ms1.7 ms
changes detected (version_name differs)
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%
1 ms1 ms
ASCII password
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
40.6 µs40.6 µs
valid password against strict policy
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
41.5 µs41.6 µs
invalid password (all rules fail)
benches/password-policy.bench.ts::getPasswordPolicyValidationErrors
CodSpeed Performance Gauge
0%
38.5 µs38.5 µs
valid number within range
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
25.5 µs25.5 µs
long ASCII password (72 bytes)
benches/password-policy.bench.ts::getPasswordUtf8ByteLength
CodSpeed Performance Gauge
0%
29.5 µs29.6 µs
with valid min length
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
19.3 µs19.4 µs
with edge values
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
18.3 µs18.4 µs
NaN and Infinity
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
17.8 µs17.8 µs
number exceeding max
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.7 µs15.8 µs
negative number
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15.1 µs15.2 µs
zero
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
15 µs15.1 µs
float truncation
benches/cloudflare-utils.bench.ts::normalizeAnalyticsLimit
CodSpeed Performance Gauge
0%
14.8 µs14.9 µs
with undefined
benches/password-policy.bench.ts::getEffectivePasswordMinLength
CodSpeed Performance Gauge
0%
14.3 µs14.3 µs

Commits

Click on a commit to change the comparison range
Base
main
17d36c6
+0.03%
feat(api): atomic API key creation with RBAC role bindings
276f123
2 days ago
by Dalanir
-0.06%
fix(api): allow RBAC-only API keys to authenticate and protect role_bindings endpoint
69e304e
2 days ago
by Dalanir
-0.16%
merge: resolve conflicts with origin/main (remove sso_enabled and reset_and_seed_* functions)
3a54fda
21 hours ago
by Dalanir
+0.03%
fix: rename migration to resolve timestamp regression after merge with main
76b4e00
21 hours ago
by Dalanir
© 2026 CodSpeed Technology
Home Terms Privacy Docs