mirror of
https://github.com/prometheus/prometheus.git
synced 2024-12-25 21:54:10 -08:00
4d654ee22b
While implementing a different feature, I found that Labels.Get() was performing a linear search. I wondered whether it would perform any better with a binary search approach, and wrote a benchmark: the answer is that it's probably doesn't worth it, so I just decided to leave the benchmark and the results for the next reader. Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com> |
||
---|---|---|
.. | ||
exemplar | ||
gate | ||
labels | ||
logging | ||
modtimevfs | ||
pool | ||
relabel | ||
rulefmt | ||
runtime | ||
textparse | ||
timestamp | ||
value |