benches: added bench on generic arity

Signed-off-by: Alexandre Terrasa <alexandre@moz-code.org>