JamaicaVM -- User Documentation: The Virtual Machine for Real-time and Embedded Systems | ||
---|---|---|
Prev | Chapter 7. Performance Optimizations | Next |
The following table summarizes the use of the different options presented here and the effect on the application code size, the minimum RAM requirements and runtime performance measured by the embedded caffeine benchmark.
Table 7-2. Summary
Builder Options | Code Size | RAM demand | Speed |
---|---|---|---|
985288 | 981k | 375 | |
-smart | 558652 | 498k | 383 |
-compile | 13961736 | 1557k | 12096 |
-smart -compile | 2848604 | 836k | 16886 |
-smart -useProfile prof -percentageCompiled 2 -optimize=none | 591132 | 502k | 10321 |
-smart -useProfile prof -percentageCompiled 5 -optimize=none | 606748 | 502k | 16486 |
-smart -useProfile prof -percentageCompiled 10 -optimize=none | 645404 | 502k | 15218 |
-smart -useProfile prof -percentageCompiled 100 -optimize=none | 972060 | 501k | 16743 |
-smart -useProfile prof -percentageCompiled 2 -optimize=size | 569628 | 502k | 16896 |
-smart -useProfile prof -percentageCompiled 5 -optimize=size | 579420 | 502k | 28679 |
-smart -useProfile prof -percentageCompiled 10 -optimize=size | 603068 | 502k | 29207 |
-smart -useProfile prof -percentageCompiled 100 -optimize=size | 805116 | 501k | 29269 |
-smart -useProfile prof -percentageCompiled 2 -optimize=speed | 569980 | 502k | 16060 |
-smart -useProfile prof -percentageCompiled 5 -optimize=speed | 579932 | 502k | 27202 |
-smart -useProfile prof -percentageCompiled 10 -optimize=speed | 604252 | 502k | 28274 |
-smart -useProfile prof -percentageCompiled 100 -optimize=speed | 808124 | 501k | 28026 |
-smart -useProfile prof -percentageCompiled 2 -optimize=all | 569980 | 502k | 16080 |
-smart -useProfile prof -percentageCompiled 5 -optimize=all | 579932 | 502k | 27535 |
-smart -useProfile prof -percentageCompiled 10 -optimize=all | 604252 | 502k | 25081 |
-smart -useProfile prof -percentageCompiled 100 -optimize=all | 808124 | 501k | 28212 |
-smart -compile -optimize=none | 2848604 | 836k | 16396 |
-smart -compile -optimize=size | 1971388 | 836k | 28898 |
-smart -compile -optimize=speed | 1988604 | 836k | 26977 |
-smart -compile -optimize=all | 1988604 | 836k | 27354 |
-smart -setLibraries=encodings=8859_1 | 212288 | 273k | 395 |
-smart -setLibraries=encodings=8859_1 protocols= | 211648 | 273k | 379 |
-smart -setLibraries=encodings=8859_1 protocols= text_locales= | 210944 | 272k | 388 |
-smart -setLibraries=encodings=8859_1 protocols= text_locales= calendar_locales= | 210944 | 272k | 377 |
-smart -setLibraries=encodings=8859_1 protocols= text_locales= calendar_locales= -javaStackSize 4k -finalizerPri 0 -numThreads 1 -timeSlice 0ns | 210944 | 138k | 309 |
-smart -compile -setLibraries=encodings=8859_1 protocols= text_locales= calendar_locales= -javaStackSize 4k -finalizerPri 0 -numThreads 1 -timeSlice 0ns -optimize=size | 567296 | 139k | 29027 |
-smart -useProfile prof -percentageCompiled 2 -setLibraries=encodings=8859_1 protocols= text_locales= calendar_locales= -javaStackSize 4k -finalizerPri 0 -numThreads 1 -timeSlice 0ns -optimize=size | 377620 | 331k | 14846 |
-smart -useProfile prof -percentageCompiled 5 -setLibraries=encodings=8859_1 protocols= text_locales= calendar_locales= -javaStackSize 4k -finalizerPri 0 -numThreads 1 -timeSlice 0ns -optimize=size | 387444 | 331k | 22452 |
-smart -useProfile prof -percentageCompiled 10 -setLibraries=encodings=8859_1 protocols= text_locales= calendar_locales= -javaStackSize 4k -finalizerPri 0 -numThreads 1 -timeSlice 0ns -optimize=size | 411060 | 331k | 26746 |
-smart -useProfile prof -percentageCompiled 100 -setLibraries=encodings=8859_1 protocols= text_locales= calendar_locales= -javaStackSize 4k -finalizerPri 0 -numThreads 1 -timeSlice 0ns -optimize=size | 599924 | 331k | 27703 |