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

...ng as dump() no longer available.
crap! maybe for statics