| JamaicaVM -- User Documentation: The Virtual Machine for Real-time and Embedded Systems | ||
|---|---|---|
| Prev | Chapter 5. Profiling using the Builder | Next |
Once a profile has been generated, it can be used to automatically compile and optimize the most performance critical methods of an application. Since compilation is selective when a profile is used, this results in significantly faster build times and smaller applications compared to the use of option -compile.
The following call of the builder uses the profiling data that was stored in file HelloWorld.prof:
> jamaica -smart -useProfile HelloWorld.prof HelloWorld
Jamaica Builder Tool 2.2 Release 1
Generating code for target 'linux-gnu-i686'
+ HelloWorld__.c
* C compiling
* linking
* stripping
Class file compaction gain: 95.77513% (1722798 ==> 72786)
|