Add Action to run performance benchmarks #17
benchmark-action.yml
on: pull_request
Run performance benchmarks
8m 27s
Annotations
1 error and 3 warnings
Run performance benchmarks
# :warning: **Performance Alert** :warning:
Possible performance regression was detected for benchmark **'AcquireTokenForClientWithCache'**.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold `1.30`.
| Benchmark suite | Current: c6cb5551ec133504a73bd127603d368f2c04369a | Previous: 88d1707204cbc6d4c783e30ef0904bbebc6fff30 | Ratio |
|-|-|-|-|
| `Microsoft.Identity.Test.Performance.AcquireTokenForClientCacheTests.AcquireTokenForClient_TestAsync(CacheSize: (1, 10), EnableCacheSerialization: True)` | `316600.890625` ns (`± 4800.286894792841`) | `240661.46160016741` ns (`± 1570.3473125351104`) | `1.32` |
| `Microsoft.Identity.Test.Performance.AcquireTokenForClientCacheTests.AcquireTokenForClient_TestAsync(CacheSize: (10000, 10), EnableCacheSerialization: True)` | `317770.1457356771` ns (`± 2643.7153395473965`) | `243036.61197916666` ns (`± 1436.1447486383183`) | `1.31` |
This comment was automatically generated by [workflow](https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/actions?query=workflow%3ARun%20performance%20benchmarks) using [github-action-benchmark](https://github.com/marketplace/actions/continuous-benchmark).
CC: @pmaytak
Comment was generated at https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/commit/c6cb5551ec133504a73bd127603d368f2c04369a#commitcomment-123683276
|
Run performance benchmarks:
src/client/Microsoft.Identity.Client/Internal/Requests/ClientCredentialRequest.cs#L32
The variable '_' is assigned but its value is never used
|
Run performance benchmarks
Performance alert! Previous value was 240661.46160016741 and current value is 316600.890625. It is 1.315544618236374x worse than previous exceeding a ratio threshold 1.3
|
Run performance benchmarks
Performance alert! Previous value was 243036.61197916666 and current value is 317770.1457356771. It is 1.3074990765708858x worse than previous exceeding a ratio threshold 1.3
|