Skip to content

Commit

Permalink
update benchmarks
Browse files Browse the repository at this point in the history
Signed-off-by: Gregor Zeitlinger <gregor.zeitlinger@grafana.com>
  • Loading branch information
zeitlinger committed Oct 10, 2024
1 parent 7278830 commit c3074b8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@
* <pre>
*
* Benchmark Mode Cnt Score Error Units
* CounterBenchmark.codahaleIncNoLabels thrpt 25 25761.677 ± 122.947 ops/s
* CounterBenchmark.openTelemetryAdd thrpt 25 545.026 ± 33.913 ops/s
* CounterBenchmark.openTelemetryInc thrpt 25 550.577 ± 45.415 ops/s
* CounterBenchmark.openTelemetryIncNoLabels thrpt 25 527.638 ± 32.020 ops/s
* CounterBenchmark.prometheusAdd thrpt 25 20341.474 ± 40.973 ops/s
* CounterBenchmark.prometheusInc thrpt 25 26414.616 ± 96.666 ops/s
* CounterBenchmark.prometheusNoLabelsInc thrpt 25 26177.676 ± 120.342 ops/s
* CounterBenchmark.simpleclientAdd thrpt 25 5503.867 ± 161.313 ops/s
* CounterBenchmark.simpleclientInc thrpt 25 5568.125 ± 53.291 ops/s
* CounterBenchmark.simpleclientNoLabelsInc thrpt 25 5394.692 ± 130.531 ops/s
* CounterBenchmark.codahaleIncNoLabels thrpt 25 21300.752 ± 3867.708 ops/s
* CounterBenchmark.openTelemetryAdd thrpt 25 299.712 ± 22.742 ops/s
* CounterBenchmark.openTelemetryInc thrpt 25 315.111 ± 22.887 ops/s
* CounterBenchmark.openTelemetryIncNoLabels thrpt 25 350.879 ± 22.652 ops/s
* CounterBenchmark.prometheusAdd thrpt 25 16192.724 ± 4284.309 ops/s
* CounterBenchmark.prometheusInc thrpt 25 39449.763 ± 6379.600 ops/s
* CounterBenchmark.prometheusNoLabelsInc thrpt 25 33968.719 ± 1857.390 ops/s
* CounterBenchmark.simpleclientAdd thrpt 25 6002.535 ± 308.764 ops/s
* CounterBenchmark.simpleclientInc thrpt 25 5726.206 ± 584.231 ops/s
* CounterBenchmark.simpleclientNoLabelsInc thrpt 25 6119.148 ± 195.583 ops/s
* </pre>
*
* Prometheus counters are faster than counters of other libraries. For example, incrementing a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
*
* <pre>
* Benchmark Mode Cnt Score Error Units
* HistogramBenchmark.openTelemetryClassic thrpt 25 258.660 ± 6.736 ops/s
* HistogramBenchmark.openTelemetryExponential thrpt 25 210.963 ± 11.288 ops/s
* HistogramBenchmark.prometheusClassic thrpt 25 1528.871 ± 43.598 ops/s
* HistogramBenchmark.prometheusNative thrpt 25 1282.643 ± 110.210 ops/s
* HistogramBenchmark.simpleclient thrpt 25 3376.016 ± 173.545 ops/s
* HistogramBenchmark.openTelemetryClassic thrpt 25 333.576 ± 17.158 ops/s
* HistogramBenchmark.openTelemetryExponential thrpt 25 232.564 ± 8.653 ops/s
* HistogramBenchmark.prometheusClassic thrpt 25 1650.551 ± 63.382 ops/s
* HistogramBenchmark.prometheusNative thrpt 25 1295.520 ± 104.483 ops/s
* HistogramBenchmark.simpleclient thrpt 25 3682.014 ± 287.201 ops/s
* </pre>
*
* The simpleclient (i.e. client_java version 0.16.0 and older) histograms perform about the same as
Expand Down
5 changes: 5 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@
<name>Gregor Zeitlinger</name>
<email>gregor.zeitlinger@grafana.com</email>
</developer>
<developer>
<id>dhoard</id>
<name>Doug Hoard</name>
<email>doug.hoard@gmail.com</email>
</developer>
</developers>

<modules>
Expand Down

0 comments on commit c3074b8

Please sign in to comment.