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

...ng as dump() no longer available.
s/is/as