docstring fixes
add cProfiler instrumentation