Added benchmark method.