It would be nice to see those other languages in a chart that doesn't include the slower four. Alternatively, you could also show those slower four with "broken" columns like this https://peltiertech.com/broken-y-axis-in-excel-chart/
Benchmarking 20 programming languages on N-queens and matrix multiplication
121–130 of 194 posts
Re: Benchmarking 20 programming languages on N-queens and matrix multiplication
#122For the love of god, log graph tiny values with large values please. :)
Re: Benchmarking 20 programming languages on N-queens and matrix multiplication
#123Aren’t JIT languages at a disadvantage since they are benchmarked through the CLI rather than using a benchmarking library to allow JIT to warmup?
For one-time problem runs, the JIT languages in practice will not be given time to warm up. All that matters for a user is how fast the application is in practice. It's not about "making it fair" for languages, it's about measuring how fast they go from nothing to results. It doesn't make sense to allow "warmup" time for them unless your expected application is a server which for most of the time will be running "war…
Re: Benchmarking 20 programming languages on N-queens and matrix multiplication
#124This is great, thanks for posting this. OP - are you interested in pull requests adding support for other languages?
Re: Benchmarking 20 programming languages on N-queens and matrix multiplication
#125Re: Benchmarking 20 programming languages on N-queens and matrix multiplication
#126Would .NET with F# make big difference here?
I'm little surprised Java beat .NET. Is that typical these days?
Re: Benchmarking 20 programming languages on N-queens and matrix multiplication
#127Including time to JIT compile is questionable, why not also include time to compile the compiled languages?
Re: Benchmarking 20 programming languages on N-queens and matrix multiplication
#128Very interesting. My two cents: because the stacked bars for php, ruby, perl and py:cpy, it's impossible to compare the other languages in that first chart. All the chart says is that the benchmark is much slower in those 4 languages relative to "all other languages we tested". It would be nice to see those other languages in a chart that doesn't include the slower four. Alternatively, you could also show those slowe…
Re: Benchmarking 20 programming languages on N-queens and matrix multiplication
#129It has .NET generic. Would .NET with F# make big difference here? I'm little surprised Java beat .NET. Is that typical these days?
Re: Benchmarking 20 programming languages on N-queens and matrix multiplication
#130Odd that nqueens and sudoku have a high correlation but matmul seems to be largely doing its own thing. nqueen vs. sudoku: 0.531 matmul vs. sudoku: 0.362 matmul vs. nqueen: 0.127
matmul is old and useful -- there's a lot of hardware on a chip that makes it run much faster (prefetch, vectorization, instruction parallelism) and some of these languages have optimizations to expose those things automatically.
1. https://www.cs.utexas.edu/users/flame/pubs/blis1_toms_rev3.p...