4 ms·
> The above hello world example in Julia uses 18x more memory than Python and 92x more memory than the C version. Again, I'm left wondering if this is proporti
by ken 7y ago
> The above hello world example in Julia uses 18x more memory than Python and 92x more memory than the C version.
Again, I'm left wondering if this is proportional, or simply an X megabyte overhead of the runtime. Maybe it's even shared among all running programs, as some runtimes are. Or it looks like maybe stdio could be just particularly bad in Julia, and in practice I've never written a program for any environment where that was my performance bottleneck.
Performance is not easy to measure, and not easy to report. A single number makes a good headline but it's really not enough information.
- StefanKarpinski 7y agoIt’s a fixed overhead like the JVM, CLR or any substantial runtime that includes a JIT.
- cestith 7y agoWhich, by the way, only applies to Julia programs under JIT. The AoT compiler will handle nearly 100% of vast the JIT or REPL will and vice versa, with a goal of 100%.
- igouy 7y ago> … wondering if this is proportional, or simply an X megabyte overhead of the runtime… Which is why the benchmarks game measures at more than one workload — https://benchmarksgame-team.pages.debian.net/benchmarksgame/measurements/julia.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...