I’ve just recently tested several languages for their performance in a practical application: read a 190 MB (json) file into memory and parse it into a native data structure.
Tests were made on a MacBook Pro M1.
If anyone is interested in a full article on that, let me know.
These are the results so far.
The source code snipeets can be found here:
![A table with 6 columns describing the time needed to accomplish the task for each programming language. Column 1: Name of the language, column 2: total time taken in secs, column 3: total user time in secs, column 4: total system time in secs, column 5: total CPU usage in percent, column 6: peak memory usage.
There are not enough available character for the image description to describe all the rows in the table. Languages included range from C to Java, Ruse, Go, Lua, Common Lisp and many more.](https://media.emacs.ch/media_attachments/files/110/056/736/377/129/223/small/0b736eafb718ce8b.png)