Add benchmark command

Make benchmark runnable from the command line.

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>