Commit Graph

2 Commits

Author SHA1 Message Date
sakridge a63d99fd11
Use write! to fix clippy and save heap allocation (#25220) 2022-05-16 22:39:33 +02:00
HaoranYi 71ad121282
metric optimization: simply data structure used for metric datapoints and counter storage (#24447)
* remove redudant if

* check loglevel enable before submit metrics

* optimize metric data structure

* add metrics benches

* clippy: add default impl

* remove clone

* add random benches

* use mem::swap to exchange points vec
2022-04-27 09:11:29 -05:00