PSP profiling: reinforcing homebrew with performance engineering |
Ó
QJ.NET Forums member zytek (Jakub Glazik) recently submitted a self-published tutorial which advocates the idea of profiling software on the Sony PlayStation Portable. The document, entitled "Performance analysis on Playstation Portable", covers principles of measuring the performance of the PSP at its raw form.
It also mentions ways to profile applications to show how efficient and optimized they are from a technical standpoint. But let's break it down to something other than computer engineering speak.
Profiling will essentially test your own applications on their intended platform using a controlled environment (much like platform testing). You could do this to a point such that you can derive an idea of what the software does behind the scenes - if at a hardware-software interaction and operation point of view only. Yeah, we know, why bother right?
Well, it's not because your - and my - software engineering professor advises us that it's critical to do if we're to pass. It's because to ensure optimal code execution, you've got to make sure that the two essential gears - the software and the hardware - cranking the PSP experience (that you're obviously trying to make perfect) fit each other perfectly. You'd be looking for that sweet spot: fast and error-free code.
Now the developer can tell how the coded application would run at a user's point of view (GUI, interactivity, response, etc.) from repetitive test runs and beta testing, but when it comes down to the PSP's point of view, he'll need some help. A profiling agent fits the prescription just nicely.
A profiler picks up the performance engineering tasks "menially" - in a sense that it will run alongside the application being executed "hands-on" - and create detailed reports on the operation of executed code. It will even be able to alter certain execution parameters, such as the app's bytecodes, should you deem such changes as part of the test protocol.
As you can create your own profilers for your applications, other developers will have more than just a general idea of how code works on the PSP. Profiling creates profiles of apps, or call graphs, so each program will be fundamentally unique in one way or another. Many things can be derived from the reports and such information can be made more useful to the slew of other developers out there.
Jakub Glazik's tutorial carries the primers: the how-tos and whys, as well as a base platform for other unique profiling cases for unique applications. But should you need more help, you'll need to consult external resources - GproF documentation and usage, for instance - to prepare your own custom-fitted profiling agent. Visit the thread for the document.
Visit: QJ.NET's PSP Development Forums
21 Jumps Custom firmware 5.50GEN-D now out
Contact Us:
The QJ.net Network |
|
| Site | Feed |
| QJ.NET | RSS |
| Nintendo DS | RSS |
| PlayStation 3 | RSS |
| PSP Updates | RSS |
| Wii | RSS |
| Xbox 360 | RSS |
| MMORPG | RSS |
| Personal Computer Games | RSS |
| iPhone - iPod Touch | RSS |
| QJ.NET Forums | RSS |
User Favorites - December
User Favorites - December
Categories
Archives
Accessories
Add-ons
Applications
Artwork
Batteries
Cheats
Deals
Emulators
Events
Featured Articles
Firmware
Flash Applications
Flash games
Game Demos
Games
Hacks & Exploits
Homebrew Applications
Homebrew Demos
Homebrew Development
Homebrew Emulators
Homebrew Games
Homebrew Themes
How-To
Humor
Imports
Interviews
Magazines
Mods
MY QJ
News
Off Topic
On Shelves This Week
Opinions & Analysis
Podcasts
Previews
PSP Go
PSP Minis
PSP Slim & Lite
QJ How-To Series
QuickJump QuickGuide
QuickJump QuickPeek
Reviews
Rumors
Scans
Screenshots
Site News
Titles
UMD Movies
Videos
Weekend Warrior
Wi-Fi
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007
December 2006
November 2006
October 2006
September 2006
August 2006
July 2006
June 2006
May 2006
April 2006
March 2006
February 2006
January 2006
December 2005
November 2005
October 2005
September 2005
August 2005
July 2005
June 2005
May 2005
April 2005
March 2005
February 2005
January 2005