File tree Expand file tree Collapse file tree 3 files changed +20
-15
lines changed
benchmarks/src/main/java/io/prometheus/metrics/benchmarks Expand file tree Collapse file tree 3 files changed +20
-15
lines changed Original file line number Diff line number Diff line change 2323 * <pre>
2424 *
2525 * Benchmark Mode Cnt Score Error Units
26- * CounterBenchmark.codahaleIncNoLabels thrpt 25 25761.677 ± 122.947 ops/s
27- * CounterBenchmark.openTelemetryAdd thrpt 25 545.026 ± 33.913 ops/s
28- * CounterBenchmark.openTelemetryInc thrpt 25 550.577 ± 45.415 ops/s
29- * CounterBenchmark.openTelemetryIncNoLabels thrpt 25 527.638 ± 32.020 ops/s
30- * CounterBenchmark.prometheusAdd thrpt 25 20341.474 ± 40.973 ops/s
31- * CounterBenchmark.prometheusInc thrpt 25 26414.616 ± 96.666 ops/s
32- * CounterBenchmark.prometheusNoLabelsInc thrpt 25 26177.676 ± 120.342 ops/s
33- * CounterBenchmark.simpleclientAdd thrpt 25 5503.867 ± 161.313 ops/s
34- * CounterBenchmark.simpleclientInc thrpt 25 5568.125 ± 53.291 ops/s
35- * CounterBenchmark.simpleclientNoLabelsInc thrpt 25 5394.692 ± 130.531 ops/s
26+ * CounterBenchmark.codahaleIncNoLabels thrpt 25 21300.752 ± 3867.708 ops/s
27+ * CounterBenchmark.openTelemetryAdd thrpt 25 299.712 ± 22.742 ops/s
28+ * CounterBenchmark.openTelemetryInc thrpt 25 315.111 ± 22.887 ops/s
29+ * CounterBenchmark.openTelemetryIncNoLabels thrpt 25 350.879 ± 22.652 ops/s
30+ * CounterBenchmark.prometheusAdd thrpt 25 16192.724 ± 4284.309 ops/s
31+ * CounterBenchmark.prometheusInc thrpt 25 39449.763 ± 6379.600 ops/s
32+ * CounterBenchmark.prometheusNoLabelsInc thrpt 25 33968.719 ± 1857.390 ops/s
33+ * CounterBenchmark.simpleclientAdd thrpt 25 6002.535 ± 308.764 ops/s
34+ * CounterBenchmark.simpleclientInc thrpt 25 5726.206 ± 584.231 ops/s
35+ * CounterBenchmark.simpleclientNoLabelsInc thrpt 25 6119.148 ± 195.583 ops/s
3636 * </pre>
3737 *
3838 * Prometheus counters are faster than counters of other libraries. For example, incrementing a
Original file line number Diff line number Diff line change 2121 *
2222 * <pre>
2323 * Benchmark Mode Cnt Score Error Units
24- * HistogramBenchmark.openTelemetryClassic thrpt 25 258.660 ± 6.736 ops/s
25- * HistogramBenchmark.openTelemetryExponential thrpt 25 210.963 ± 11.288 ops/s
26- * HistogramBenchmark.prometheusClassic thrpt 25 1528.871 ± 43.598 ops/s
27- * HistogramBenchmark.prometheusNative thrpt 25 1282.643 ± 110.210 ops/s
28- * HistogramBenchmark.simpleclient thrpt 25 3376.016 ± 173.545 ops/s
24+ * HistogramBenchmark.openTelemetryClassic thrpt 25 333.576 ± 17.158 ops/s
25+ * HistogramBenchmark.openTelemetryExponential thrpt 25 232.564 ± 8.653 ops/s
26+ * HistogramBenchmark.prometheusClassic thrpt 25 1650.551 ± 63.382 ops/s
27+ * HistogramBenchmark.prometheusNative thrpt 25 1295.520 ± 104.483 ops/s
28+ * HistogramBenchmark.simpleclient thrpt 25 3682.014 ± 287.201 ops/s
2929 * </pre>
3030 *
3131 * The simpleclient (i.e. client_java version 0.16.0 and older) histograms perform about the same as
Original file line number Diff line number Diff line change 4747 <name >Gregor Zeitlinger</name >
4848 <email >gregor.zeitlinger@grafana.com</email >
4949 </developer >
50+ <developer >
51+ <id >dhoard</id >
52+ <name >Doug Hoard</name >
53+ <email >doug.hoard@gmail.com</email >
54+ </developer >
5055 </developers >
5156
5257 <modules >
You can’t perform that action at this time.
0 commit comments