Skip to content

Commit 09c25df

Browse files
author
github-action-benchmark
committed
add Benchmark (pytest) benchmark result for f1b9862
1 parent d1e1a37 commit 09c25df

File tree

1 file changed

+53
-1
lines changed

1 file changed

+53
-1
lines changed

dev/bench/data.js

Lines changed: 53 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
window.BENCHMARK_DATA = {
2-
"lastUpdate": 1775549912895,
2+
"lastUpdate": 1775569680829,
33
"repoUrl": "https://github.com/AzureAD/microsoft-authentication-library-for-python",
44
"entries": {
55
"Benchmark": [
@@ -39563,6 +39563,58 @@ window.BENCHMARK_DATA = {
3956339563
"extra": "mean: 144.0343832070833 usec\nrounds: 3168"
3956439564
}
3956539565
]
39566+
},
39567+
{
39568+
"commit": {
39569+
"author": {
39570+
"email": "nichoudhary@microsoft.com",
39571+
"name": "Nilesh Choudhary",
39572+
"username": "4gust"
39573+
},
39574+
"committer": {
39575+
"email": "nichoudhary@microsoft.com",
39576+
"name": "Nilesh Choudhary",
39577+
"username": "4gust"
39578+
},
39579+
"distinct": true,
39580+
"id": "f1b98622a8a3879abbd2dcd9062ebd7c2d196dde",
39581+
"message": "Use secrets module instead of random for security-sensitive token generation\n\nReplace random.sample() with secrets.choice() for generating PKCE code\nverifiers, OAuth2 state parameters, and OIDC nonces. The random module\nuses Mersenne Twister which is not cryptographically secure. The secrets\nmodule uses os.urandom(), providing a CSPRNG suitable for security tokens.\n\nThis also fixes a subtle entropy reduction caused by random.sample()\ndrawing without replacement, which prevented character repetition.",
39582+
"timestamp": "2026-04-07T14:44:42+01:00",
39583+
"tree_id": "cec231bc7f41b7cadbfd8b457fbd10f6608e3d8f",
39584+
"url": "https://github.com/AzureAD/microsoft-authentication-library-for-python/commit/f1b98622a8a3879abbd2dcd9062ebd7c2d196dde"
39585+
},
39586+
"date": 1775569678716,
39587+
"tool": "pytest",
39588+
"benches": [
39589+
{
39590+
"name": "tests/test_benchmark.py::test_cca_1_tenant_with_10_tokens_per_tenant_and_cache_hit",
39591+
"value": 44193.06799970974,
39592+
"unit": "iter/sec",
39593+
"range": "stddev: 0.0000014162766508984382",
39594+
"extra": "mean: 22.62798319425499 usec\nrounds: 9104"
39595+
},
39596+
{
39597+
"name": "tests/test_benchmark.py::test_cca_many_tenants_with_10_tokens_per_tenant_and_cache_hit",
39598+
"value": 40045.473045439634,
39599+
"unit": "iter/sec",
39600+
"range": "stddev: 0.000002246104724792743",
39601+
"extra": "mean: 24.97161161925342 usec\nrounds: 13667"
39602+
},
39603+
{
39604+
"name": "tests/test_benchmark.py::test_cca_1_tenant_with_10_tokens_per_tenant_and_cache_miss",
39605+
"value": 8786.672567907046,
39606+
"unit": "iter/sec",
39607+
"range": "stddev: 0.00001292092079604812",
39608+
"extra": "mean: 113.80872477853086 usec\nrounds: 3499"
39609+
},
39610+
{
39611+
"name": "tests/test_benchmark.py::test_cca_many_tenants_with_10_tokens_per_tenant_and_cache_miss",
39612+
"value": 8339.930073883057,
39613+
"unit": "iter/sec",
39614+
"range": "stddev: 0.000012708590755734285",
39615+
"extra": "mean: 119.90508207395578 usec\nrounds: 3375"
39616+
}
39617+
]
3956639618
}
3956739619
]
3956839620
}

0 commit comments

Comments
 (0)