4 ms·
LLVM is neither high-throughput nor low-latency. It does probably generate faster code, though.
by gliptic 10y ago
LLVM is neither high-throughput nor low-latency. It does probably generate faster code, though.
- taspeotis 10y agoSurely LLVM is high-throughput? Otherwise your dev-test cycle of edit/compile/run would suffer from long compilation/link times.
- jdub 10y agoIt's "acceptable-throughput" for that use case, and you can balance the tradeoffs of compilation time to optimisation (for time or code size) by adding -On parameters. That's a very different kind of throughput to "compile small functions many times per second".
- barrkel 10y agoThese are different metrics of throughput. I'd expect NativeJIT to be 100x to 1000x (or possibly more) faster than LLVM for its use case: temporary expressions measured in low 100s of bytes, no loops, no expression-visible side effects.