File tree Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Expand file tree Collapse file tree 2 files changed +6
-7
lines changed Original file line number Diff line number Diff line change @@ -25,12 +25,9 @@ Our main goals:
25
25
- Extensibility is one of the core values, together with performance and minimal allocation.
26
26
- We are open for suggestions and new ideas, contribution is always welcomed.
27
27
28
- ## Performance comparison with prometheus- net
28
+ You can find the [ benchmark descriptions ] ( https://github.com/prom-client- net/prom-client/blob/main/docs/benchmarks ) .
29
29
30
- ![ General use case benchmarks] ( https://raw.githubusercontent.com/prom-client-net/prom-client/main/docs/benchmarks/generalcase.png )
31
- Find more details on [ benchmarks description] ( https://github.com/prom-client-net/prom-client/blob/main/docs/benchmarks/GeneralUseCase.md )
32
-
33
- ## Installation
30
+ ## Install
34
31
35
32
``` sh
36
33
dotnet add package Prometheus.Client
@@ -39,7 +36,7 @@ dotnet add package Prometheus.Client
39
36
### Extensions
40
37
41
38
| Name | Description |
42
- | ------------------------------------------------------------------------------ | ---------------------------------------- |
39
+ | ---------------------------------------------------------------------------- | -------------------------------------- |
43
40
| [ Prometheus.Client.AspNetCore] [ asp-net-core ] | ASP.NET Core middleware |
44
41
| [ Prometheus.Client.DependencyInjection] [ dependency-injection ] | Dependency Injection extensions |
45
42
| [ Prometheus.Client.HttpRequestDurations] [ http-request-durations ] | Metrics logging of request durations |
Original file line number Diff line number Diff line change 1
1
# General Use Case Benchmarks
2
2
3
+ ![ General use case benchmarks] ( generalcase.png )
4
+
3
5
## Legend
4
6
* ** NoLabels** - 10 000 calls to resolve a metric (1000 unique metrics) without labels and then performing observation method.
5
7
* ** WithLabels** - 10 000 calls to resolve a metric (1000 unique metrics) with labels and then performing observation method for unlabelled sample.
27
29
| WithLabelsAndSamples_Tuple | 131.681 ms | 1.8447 ms | 2.1243 ms | 132.430 ms | 0.63 | 0.03 | - | - | - | 49.62 KB |
28
30
| WithLabelsAndSamples_Int64Array | 166.056 ms | 2.4496 ms | 2.8210 ms | 167.168 ms | 0.79 | 0.03 | 11000.0000 | - | - | 47395 KB |
29
31
| WithLabelsAndSamples_Int64Tuple | 128.643 ms | 1.3117 ms | 1.5105 ms | 129.282 ms | 0.62 | 0.02 | - | - | - | 48.84 KB |
30
-
32
+
31
33
</details >
32
34
33
35
<details >
You can’t perform that action at this time.
0 commit comments