https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
* 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