improve profiler output
only print each type once