|
|
|
|
Inplace execution in CLDCHi
Posted:
Nov 13, 2008 1:39 AM
|
|
|
I am working on Inplace execution feature given by SUN in CLDC Hot spot Implementaion. I want to know how much performance can be increased by using inplace execution for the midlet to be run on the device. I have converted the midlet jar file into application image (bun) but not able to know whether I have got any significant improvement or not. Can anybody tell me that how can inplace execution improve the performance and it will affect which part? Is there any way to know how much performance has been increased like some benchmark midlet for InPlace Execution feature.
|
|
|
|
|
|
|
Re: Inplace execution in CLDCHi
Posted:
Nov 13, 2008 4:58 AM
in response to: ankitmittal000
|
|
|
The main benefit of in-place execution is startup time improvement. Depending on the midlet, startup time can decrease by 50-80%. Additionally you can precompile selected methods of the midlet being converted from Java bytecode to native ARM. This may improve runtime performance. Runtime performance can be checked with any standard benchmark, like GrinderBench, CaffeineMark, JBenchMark. See http://grinderbench.com/home.php http://www.benchmarkhq.ru/cm30/ http://www.jbenchmark.com/index.jsp
|
|
|
|
|
|
|
|
Re: Inplace execution in CLDCHi
Posted:
Nov 26, 2008 9:18 PM
in response to: danila
|
|
|
Thanks for the reply. I tried to enable the inplace execution feature and measured the startup times for many midlets. The problem is that I did not get any improvement in the startup times for the midlet. It is almost same as without inplace execution. I have tried a variety of midlets but got no improvement in any of them. I have enabled inplace execution by enabling ENABLE_MONET=true ENABLE_LIB_IMAGES=true The .bun file is successfully created in the filesystem when i run the midlet for the first time but still there is no improvement.
Is there something that I am missing to get the improvement?
|
|
|
|
|
|
|
|
Re: Inplace execution in CLDCHi
Posted:
Jan 11, 2009 5:30 AM
in response to: ankitmittal000
|
|
|
Hi! could you give more details about your platform hardware and OS? Which midlets did you try? What are the other flags you set for your build? ENABLE_ISOLATES, any others?
Thanks, Danila
|
|
|
|
|