Add controls to vary performance examples when profiling. Correct spelling in function name.