Skip to main content
5 events
when toggle format what by license comment
Sep 8, 2015 at 15:40 comment added Konrad Rudolph @Demetri I know this. But it’s very hard to quantify whether this is an advantage — see my answer and the comment discussion there. In a nutshell: while the JIT can adapt to change in usage, it also needs to track stuff at runtime, which incurs an overhead. The break-even for this is intuitively only where frequent changes in behaviour occur. For web apps, there’s probably just a single (or very few) usage pattern for which optimisation pays off, so the minimal performance increase due to adaptability doesn’t offset the overhead of continuous profiling.
Sep 8, 2015 at 15:33 comment added Demi @KonradRudolph The key advantage of a JIT is that the JIT adapts the code as different paths become hot.
Sep 8, 2015 at 12:47 comment added Konrad Rudolph I’m very sceptical of the claim that PGO couldn’t match the performance of the LuaJIT for web application code under typical workload.
Sep 8, 2015 at 7:10 comment added Raphael How is this an answer? Well, bullet three maybe, if you added references.
Sep 8, 2015 at 0:31 history answered Demi CC BY-SA 3.0