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

...ng as dump() no longer available.
Looks like the editor is replacing import blocks again