3 ms·
And if you can record profiling data from every machine the code will run on you might be able to be confident no JIT could do better, until a new processor (th
by Bjartr 8y ago
And if you can record profiling data from every machine the code will run on you might be able to be confident no JIT could do better, until a new processor (that is a compatible architecture to the executable) that wasn't available at the time of compilation comes around and JIT can still tune for things like cache sizes or processor features and the AOT executable is stuck not being able to take advantage of them.
- pjmlp 8y agoAgreed, but there are ways around it. For example, Android P will upload PGO data into the store, which is then distributed across all devices, and fed into the on-device AOT compiler.