test profiler with generated code. dump profile information using toString as dump() no longer available.
Merge pull request #616 from parrt/test-profiler-with-generated-code

test profiler with generated code. dump profile information using toStri...