Added benchmark code.