Version: 1.1

Posted: 2006-04-17

Build Requirements: Xcode 2.0 or later

Runtime Requirements: Java 1.4.2 or later

View Source Code:

Download Sample (“Bouncy.zip”, 67.1K)
Download Sample (“Bouncy.dmg”, 128.3K)



Description

Simple demo that makes text or gif images bounce and measures their animation frame rate. This program is intentionally written poorly with regard to performance and it is useful to demonstrate the performance profiling features of Shark for Java. Note the -XrunShark flag under "Pure Java Specific" target settings in Xcode.

See http://developer.apple.com/tools/sharkoptimize.html for more details on using Shark to profile a Java application.

Document Revision History

Date Notes
2006-04-17Updated compiler options to generate 1.4 compatible bytecode; created an application bundle.
2005-06-01Demostrates using Shark For Java to profile Java Applications

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.