There are several similar tickets on the tracker. I suspect that the view gets entirely executed twice, once under the profiler and once without the profiler, regardless of what it does.