Commit Graph

3 Commits

Author SHA1 Message Date
Toby Lawrence 72602ce6fb
tracing-context: optimize Visit impl (#94)
* tracing-context: optimize Visit impl
2020-09-27 15:32:10 -04:00
Toby Lawrence 36834dd6c6
refactor: next-generation metrics (#80) 2020-09-26 22:26:39 -04:00
Toby Lawrence 29eb316438 Major additions to metrics-util + formatting/documentation polish.
We've added two new major types to the crate:
- AtomicBucket, which allows queue-style atomic writes with atomic
snapshots, powered by crossbeam-epoch
- StreamingIntegers, a scalar delta/zigzag/variable-byte integer
compression implementation

These types are a major part of reworking metrics to be event loop-less
and may be eventually be spun out into their own standalone crates, and
they have value outside of just metrics.

We've also really leveled up our documentation and benchmarks, and these
two types now have full benchmark suites to better demonstrate their
value and their performance on a given system.
2019-05-29 23:07:14 -04:00