Skip to content

Commit 5093345

Browse files
author
github-action-benchmark
committed
add Benchmark (pytest) benchmark result for 8a56bc1
1 parent 8ec2eba commit 5093345

File tree

1 file changed

+51
-1
lines changed

1 file changed

+51
-1
lines changed

dev/bench/data.js

Lines changed: 51 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
window.BENCHMARK_DATA = {
2-
"lastUpdate": 1775634166994,
2+
"lastUpdate": 1775656035879,
33
"repoUrl": "https://github.com/AzureAD/microsoft-authentication-library-for-python",
44
"entries": {
55
"Benchmark": [
@@ -40185,6 +40185,56 @@ window.BENCHMARK_DATA = {
4018540185
"extra": "mean: 132.11861944676534 usec\nrounds: 4772"
4018640186
}
4018740187
]
40188+
},
40189+
{
40190+
"commit": {
40191+
"author": {
40192+
"email": "YOUR_GITHUB_NOREPLY_EMAIL",
40193+
"name": "Gladwin Johnson"
40194+
},
40195+
"committer": {
40196+
"email": "YOUR_GITHUB_NOREPLY_EMAIL",
40197+
"name": "Gladwin Johnson"
40198+
},
40199+
"distinct": true,
40200+
"id": "8a56bc117cdceb36f46582db8ff0cfe8dd2d1bc0",
40201+
"message": "Fix exception-contract and cache-key regressions vs #882\n\nBlocker 1 — Exception contract:\nRuntimeError from msal-key-attestation (DLL load, attestation call) now\ngets caught and wrapped as MsiV2Error at both the provider call site in\nmsi_v2.py and the outer boundary in managed_identity.py. Only\nMsiV2Error (or its subclasses) can escape to the caller.\n\nBlocker 2 — Stable attestation cache key:\nThe provider callback signature is expanded from (endpoint, key_handle,\nclient_id) to (endpoint, key_handle, client_id, cache_key). MSAL now\npasses the stable per-boot key name as cache_key, which\nget_attestation_jwt() uses for its MAA token cache instead of falling\nback to the less cache-friendly numeric handle.\n\nTests: 59 passed (44 core + 15 attestation), including new tests for\nRuntimeError wrapping and cache_key forwarding.\n\nCo-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>",
40202+
"timestamp": "2026-04-08T06:44:16-07:00",
40203+
"tree_id": "6ce49ec99bd59a19b6d6be33c3afa0cae6cebbe7",
40204+
"url": "https://github.com/AzureAD/microsoft-authentication-library-for-python/commit/8a56bc117cdceb36f46582db8ff0cfe8dd2d1bc0"
40205+
},
40206+
"date": 1775656034574,
40207+
"tool": "pytest",
40208+
"benches": [
40209+
{
40210+
"name": "tests/test_benchmark.py::test_cca_1_tenant_with_10_tokens_per_tenant_and_cache_hit",
40211+
"value": 48260.017978649834,
40212+
"unit": "iter/sec",
40213+
"range": "stddev: 0.000001947651629132855",
40214+
"extra": "mean: 20.721086354389644 usec\nrounds: 7365"
40215+
},
40216+
{
40217+
"name": "tests/test_benchmark.py::test_cca_many_tenants_with_10_tokens_per_tenant_and_cache_hit",
40218+
"value": 40445.0096230759,
40219+
"unit": "iter/sec",
40220+
"range": "stddev: 0.0000023823516572353423",
40221+
"extra": "mean: 24.724929214244764 usec\nrounds: 11556"
40222+
},
40223+
{
40224+
"name": "tests/test_benchmark.py::test_cca_1_tenant_with_10_tokens_per_tenant_and_cache_miss",
40225+
"value": 9744.267699629205,
40226+
"unit": "iter/sec",
40227+
"range": "stddev: 0.00001913582614491376",
40228+
"extra": "mean: 102.62443836985848 usec\nrounds: 3018"
40229+
},
40230+
{
40231+
"name": "tests/test_benchmark.py::test_cca_many_tenants_with_10_tokens_per_tenant_and_cache_miss",
40232+
"value": 8959.87917721607,
40233+
"unit": "iter/sec",
40234+
"range": "stddev: 0.000015618424108293686",
40235+
"extra": "mean: 111.60864786468144 usec\nrounds: 3723"
40236+
}
40237+
]
4018840238
}
4018940239
]
4019040240
}

0 commit comments

Comments
 (0)