durée d'exécution
use std::time::Instant;
let start = Instant:now();
f();
let duration = start.elapsed();
Mackerel
use std::time::Instant;
let start = Instant:now();
f();
let duration = start.elapsed();