[Samsung Galaxy Mega] Gibbon_999:
Just doing a TB restore onto CM14 - takes a long time. It looks like it does a dex2oat for each of the apps as they are restored.

09-10 04:40:07.421 8563 8570 W dex2oat : Verification of void com.dsi.ant.utils.a.i.<clinit>() took 282.649ms
09-10 04:40:07.682 8563 8563 W dex2oat : Verification of void com.dsi.ant.utils.a.an.a() took 1.213s
09-10 04:40:07.960 8563 8570 W dex2oat : Verification of void com.dsi.ant.utils.a.r.<clinit>() took 480.451ms
09-10 04:40:08.391 8563 8563 W dex2oat : Verification of void com.garmin.android.a.m.run() took 291.805ms
09-10 04:40:09.040 8563 8563 W dex2oat : Verification of java.lang.String com.garmin.android.apps.connectmobile.DatabaseTableBrowserActivity.a(java.lang.String) took 510.209ms
09-10 04:40:09.490 8563 8570 W dex2oat : Verification of boolean com.garmin.android.ancs.q.a(android.content.Context, byte[]) took 1.380s
09-10 04:40:09.630 8563 8570 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.activities.ActivityPoolLengthActivityFragment.onClickComplexOneLineButton(android.view.View) took 130.321ms
09-10 04:40:10.382 8563 8570 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.activities.charts.i.a(com.garmin.android.apps.connectmobile.activities.charts.i, java.util.List) took 621.913ms
09-10 04:40:11.000 8563 8570 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.am.a(int, int) took 610.651ms
09-10 04:40:11.040 8563 8563 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.a.w.onDataLoaded$f9b5230(java.lang.Object, int) took 1.560s
09-10 04:40:11.220 8563 8563 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.activities.map.f.onDataLoaded$f9b5230(java.lang.Object, int) took 169.449ms
09-10 04:40:11.540 8563 8563 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.activities.stats.bi.finish() took 192.919ms
09-10 04:40:11.570 8563 8570 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.activities.map.ActivityMapActivity.a(java.lang.String) took 560.323ms
09-10 04:40:11.880 8563 8563 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.activities.multisport.g.onDataLoadFailed(com.garmin.android.apps.connectmobile.e.f) took 330.199ms
09-10 04:40:12.352 8563 8563 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.activities.summary.d.onViewCreated(android.view.View, android.os.Bundle) took 292.263ms
09-10 04:40:14.090 8563 8563 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.charts.mpchart.wrapper.aw.h() took 1.670s
09-10 04:40:14.420 8563 8570 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.alldayheartrate.aa.<init>(android.support.v4.app.aa) took 320.128ms
09-10 04:40:14.460 8563 8563 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.audioprompts.a.f.<init>(com.garmin.android.apps.connectmobile.audioprompts.a.e, com.garmin.android.framework.a.g) took 250.083ms
09-10 04:40:14.700 8563 8570 W dex2oat : Verification of java.util.List com.garmin.android.apps.connectmobile.alldayheartrate.aa.a(org.joda.time.DateTime, org.joda.time.DateTime, java.util.List) took 279.444ms
09-10 04:40:15.060 8563 8570 W dex2oat : Verification of java.lang.String[] com.garmin.android.apps.connectmobile.bb.a(com.garmin.android.apps.connectmobile.bf, java.lang.String) took 179.551ms
09-10 04:40:15.240 8563 8563 W dex2oat : Verification of com.garmin.android.apps.connectmobile.b.a com.garmin.android.apps.connectmobile.b.d.b(int) took 413.459ms
09-10 04:40:15.400 8563 8563 W dex2oat : Verification of int com.garmin.android.apps.connectmobile.calendar.af.a() took 112.528ms
09-10 04:40:15.421 8563 8570 W dex2oat : Verification of android.view.View com.garmin.android.apps.connectmobile.calendar.aa.getView(int, android.view.View, android.view.ViewGroup) took 280.238ms
09-10 04:40:16.011 8563 8570 W dex2oat : Verification of void com.garmin.android.apps.connectmobile.calendar.j.onViewCreated(android.view.View, android.os.Bundle) took 561.483ms

http://stackoverflow.com/questions/26254538/difference-between-dexopt-and-dex2oat#26263071

dex2oat takes a dex file and compiles it. The result is essentially an elf file that is then executed natively. So instead of having bytecode that is interpreted by a virtual machine, it now has native code that can be executed natively by the processor. This is called AOT (ahead-of-time) compilation.