#![feature(test)] extern crate test; use dmntk_common::Jsonify; use dmntk_feel_number::FeelNumber; use test::Bencher; #[bench] fn bench_jsonify_001(b: &mut Bencher) { let x = FeelNumber::new(123456789, 4); b.iter(|| x.jsonify()) }