fn bench_static_metrics_handwrite_1(b: &mut Bencher) {
    let counter_vec = IntCounterVec::new(Opts::new("foo", "bar"), &["d1", "d2"]).unwrap();
    let counter = counter_vec.with_label_values(&["foo", "bar"]);
    b.iter(|| counter.inc());
}
/// Manually implemented static metrics performance, metrics are placed outside a struct.
Manually implemented static metrics performance, metrics are placed outside a struct.
Manually implemented static metrics performance metrics are placed outside a struct .
fn bench_static_metrics_handwrite_1(b: &mut Bencher) {
    let counter_vec = IntCounterVec::new(Opts::new("foo", "bar"), &["d1", "d2"]).unwrap();
    let counter = counter_vec.with_label_values(&["foo", "bar"]);
    b.iter(|| counter.inc());
}
fn bench_static_metrics_handwrite_1 ( b : & mut Bencher ) { let counter_vec = IntCounterVec :: new ( Opts :: new ( " " , " " ) , & [ " " , " " ] ) . unwrap ( ) ; let counter = counter_vec . with_label_values ( & [ " " , " " ] ) ; b . iter ( | | counter . inc ( ) ) ; }
Manually implemented static metrics performance, metrics are placed outside a struct.
Manually implemented static metrics performance metrics are placed outside a struct .
b
&mut Bencher
b
&mut Bencher