adding perf graph. Still need to figure out how to best wrap in in pyx file.