Hi, > It occurred to me that even if you got it right, if your code doesn't make > function calls or instantiate objects, there may not be good sample data.
It should still show the self time, garbage collection (if any) and calls the the trig functions being called (i.e. Math.cos or Math.sin). You could also wrap each conditions statements in a function to see which one of those are eating up the time. Do this would make the code run a little slower but could give you some insight to why it’s taking so long. Thanks, Justin