2 ms·
LuaJIT, true to form, has a sort of solution for this, in the form of a profiler cheap enough to run in production. You do have to change how you think about p
by samatman 7y ago
LuaJIT, true to form, has a sort of solution for this, in the form of a profiler cheap enough to run in production.
You do have to change how you think about performance analysis, but in return, you get to actually answer the question you're trying to reason about, namely, how does this run in production.
Pacifying the JIT is a bit of a dark art, but the whole thing is pretty transparent with good tooling. I've yet to regret building on LuaJIT.
- thu2111 7y agoWorth noting that the JVM has this feature as well, under the name of "flight recorder".