|
1 | 1 | window.BENCHMARK_DATA = { |
2 | | - "lastUpdate": 1775549912895, |
| 2 | + "lastUpdate": 1775569680829, |
3 | 3 | "repoUrl": "https://github.com/AzureAD/microsoft-authentication-library-for-python", |
4 | 4 | "entries": { |
5 | 5 | "Benchmark": [ |
@@ -39563,6 +39563,58 @@ window.BENCHMARK_DATA = { |
39563 | 39563 | "extra": "mean: 144.0343832070833 usec\nrounds: 3168" |
39564 | 39564 | } |
39565 | 39565 | ] |
| 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 | + ] |
39566 | 39618 | } |
39567 | 39619 | ] |
39568 | 39620 | } |
|
0 commit comments