News

February 24, 2010

JIT – now making your Donut build twice as fast.

More articles by »
Written by: BennyGersh
Tags: , , , ,
lYPiS

For the uninitiated JIT stands for Just-In-Time compilation. It is a method of converting bytecode into native machine code, rather than the virtual machine (In Android’s case the Dalvik VM) simply interpreting the bytecode. This, understandably, makes your phone much faster. It’s the equivalent of converting a book from Mandarin to English then reading it rather than looking up each section in a dictionary when you want to read it. The analogy continues further as JIT results in a very slow first start up and this is one of the major reasons why the Android devs have been hesitant about including it in Android. Bill Buzbee (member of the Dalvik team) states:

To restate, the choice is between a near-immediate good performance boost vs. a better, but delayed, performance boost. An important use case for us is when a user downloads a new app from the market.  Anecdotally, we think that for many users there is a very short window in which the first keep/uninstall decision is made – on the order of a few seconds.  If the application feels sluggish on first use it may get discarded before it has a chance to shine.  We didn’t want to require that an application build up a usage profile over a series of runs, or introduce a big up-front compilation pause to benefit from the JIT.”

We’ve seen JIT already in some ROMs as there was a snapshot from November included in the 2.x AOSP. Cyanogen’s famous N1 build Beta 3 included JIT and has set the top speed on BenchmarkPi; OpenEclair 1.0.1 included JIT and absolutely flew. Historically devs remove JIT after about one build, however, as it is pretty unstable as it stands. The point remains that JIT will give your Android wings.

And now JIT is available for your Android running a 1.6 custom ROM (Cyanogen, SuperD, WG, etc.) as long as the devs have mixed in enough Eclair with their build. Codenamed ‘Dusty Donuts’ a compiled library is now available for courtesy of Licknuts over at trusty XDA.

The instructions are fairly simple and you should be able to take a fair bit of time off your Linpack and BenchmarkPi scores.

Remember that this hack is currently labeled as being Alpha so if you’re nervous about your lovely phone then maybe hold off for a bit, but it should be safe.

Let us know how your benchmarks go!

More info: http://forum.xda-developers.com/showthread.php?t=637419

1 http://groups.google.com/group/android-platform/msg/20565601ece57469







About the Author

BennyGersh






 
 

 
Viewsonic G Tablet Ice Cream Sandwich

Ice Cream Sandwich has arrived for the Viewsonic G Tablet, thanks to Team DRH!

  As an owner of a Viewsonic G Tablet, I have awaited this announcement for quite some time now, though I was beginning to think it may never actually happen. Before I get into the details though, a tremendous thanks is due to...
by Tony Simons
0

 
 
CPU control Lite

Alternative CPU Control app available for your Testing

We have all seen a number of CPU control applications run through the market, XDA and other various locations. By far the most popular one that comes to mind is SetCPU. All of them have similar concepts. Allow the user to overc...
by Stormy Beach
0

 
 
HTC Amaze 4G

Update: Ice Cream Sandwich ROM for the HTC Amaze 4G coming soon, thanks to Xboarder56? [W/Link]

Owners of the T-Mobile HTC Amaze 4G who’ve felt a little left out due to the lack of Ice Cream Sandwich availability for the device will soon be thankful for a developer who goes by the name of xboarder56. If you’v...
by Tony Simons
3

 

 
LePhone

[MIUI Theme] LePhone MIUI; Brings new look, new animations and great Icons

Being an Android user we want total control over the look and feel of your device at all times. That is why many of us turn to MIUI. With so many locations to find themes for the MIUI ROM it is sometimes hard to find ones that ...
by Stormy Beach
0

 
 
ASUS-Transformer-Prime

ASUS tweets about Transformer Prime bootloader unlock slated for February

With the bitter taste still fresh in the Android community’s mouths about the recent discovery that the Asus Transformer Prime was shipping with a bootloader locked down tighter than Fort Knox, and ASUS’ promise tha...
by Tony Simons
0

 
 
transformer-prime-ubuntu-6-700x385

Bring your love of Ubuntu to your Transformer Prime

The achievements that the developing community can achieve is absolutely remarkable. Opening up a site like XDA is like coming down the stairs as a kid on Christmas morning. There always seems to be some wonderful present just ...
by Stormy Beach
1

 




0 Comments


Be the first to comment!


Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>