Closed samreid closed 6 years ago
It's stripped out in the uglify step. Generally I'd recommend grunt --mangle=false
for profiling, since it keeps names but strips out all the things you generally want stripped out for performance.
Thanks, I just forgot that global_defs
would strip things in the minify.
While profiling wave interference, I noticed this in the profiler:
This is in requirejs mode. But I also noticed that window.phetAllocation is defined for a built sim. Is it being stripped out? Should we block it with:
I'm not seeing phetAllocation in the profiler for a built sim, but I'm not sure why. @jonathanolson what do you think is happening, and how should we proceed?