benchmark code
conclusion and legend