Skip to content

diimdeep/A-Programming-language-benchmarks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Programming language benchmarks

Opinions

This is not a useful "nested loop" benchmark as it warrants - it's actually an integer division benchmark. Can it give you a vague sense of how insane the looping overhead is in many modern languages? Sure. Can it actually tell you how good a reasonable language is at loops? It cannot. The reason for this is that the loop body consists entirely of a carried dependency on a modulus. This effectively limits the loop to scalar execution, and to several-cycle throughput.

Please stop creating microbenchmarks without analysis. If you haven't read the assembly for each run, you have no idea what you're actually benchmarking. This creates a lot of work for people like me who have to clean up the wave of misunderstandings. It is very frustrating.

They cannot be improved. This is not an appropriate use of microbenchmarking, full stop.

The point is that microbenchmarks test other things than what they claim, so without the analysis, you draw the wrong conclusion.

The entire exercise seems in bad faith.

Hall of shame

The Original "Bouncing balls" that triggered me to start this list:

The Original "Bouncing balls" https://x.com/BenjDicken/status/1861072804239847914

The Sliding lines https://x.com/BenjDicken/status/1863977678690541570

The Levenshtein distance "Bouncing balls" https://x.com/BenjDicken/status/1869412072318283783

The Usual Suspects

Measured : Which programming language is fastest?

https://en.wikipedia.org/wiki/The_Computer_Language_Benchmarks_Game

It's inspired by Benchmarks Game, some of the benchmark problems and implementation are borrowed from it. https://programming-language-benchmarks.vercel.app

E00: Software Drag Racing: C vs C# vs Python - Which Will Win? https://youtu.be/D3h62rgewZM

Real Jobs

Self track

Surely You're Joking, Mr.

About

List of benchmarks that aren't awesome

Resources

Stars

Watchers

Forks