adding speed benchmark in example