News for hackers. Stuff that matters.
Re:Benchmarking 20 programming languages on N-queens and mat... by jakobnissen on Wednesday January 03, 2024 @01:25AM (#38851353)
Yes, but the author claims the longest JIT warmup is 0.3 seconds, so it's not an important issue in these benchmarks that take several seconds.
Re:Benchmarking 20 programming languages on N-queens and mat... by lifthrasiir on Wednesday January 03, 2024 @01:32AM (#38851378)
I strongly suspect that the author may have confused the JIT warmup (hard to measure, as you need to ensure that the performance figure have reached the stable point) from the startup overhead (easy to measure).
Re:Benchmarking 20 programming languages on N-queens and mat... by vkazanov on Wednesday January 03, 2024 @02:29AM (#38851620)
...and many jitted vms do not even reach a stable point at all, there was a big paper on this a couple of years ago.
Re:Benchmarking 20 programming languages on N-queens and mat... by igouy on Wednesday January 03, 2024 @02:38PM (#38858743)
Re:Benchmarking 20 programming languages on N-queens and mat... by vkazanov on Wednesday January 03, 2024 @04:14PM (#38860027)
Yes, this is the one. Time flies! And VM jits didn't change all that much.
Re:Benchmarking 20 programming languages on N-queens and mat... by nithril on Wednesday January 03, 2024 @11:55AM (#38856348)
0.3s is significant for a task that only takes 1.14s
Re:Benchmarking 20 programming languages on N-queens and mat... by igouy on Wednesday January 03, 2024 @06:10PM (#38861068)
We don't know that OpenJDK was "Some JIT-based language runtimes take up to ~0.3 second to compile and warm-up"

Maybe that was PyPy with program times >5 seconds.