Thursday, January 15, 2015

Project 4 resubmitted

After quite a while away from it, I finally buckled down and updated Project 4 for resubmission.

In looking at the project again, and following the suggestions from my evaluation, I was able to find some additional optimizations that I had not looked at previously. It turns out that I had missed one correction to the JavaScript that I had actually done on another part of the code, but didn't realize that it could have been done in several locations. By making that ONE change, I was able to drop the cost of the pizza resize by almost a factor of TEN!

On my system, I am able to get the pizza page to display at better than 60fps for scrolls and programmatic resizing of the pizzas. I did find, however, that scrolling via a mouse was very consistent in frame rate, but scrolling via the arrow keys caused the screen rate to drop to 12fps. I'm not sure what it is in the iMac hardware that is causing it (possibly because it is a Bluetooth keyboard?), but there is a significant difference between mouse scroll and keyboard scroll.

I also updated the README file that I somehow completely missed the first time I submitted the project. I kind of feel like I am giving away the "secrets" to the project completion, but this is what was requested, so I put all the detail in that I could remember.

I just hope it is enough.

No comments:

Post a Comment