louis's Blog

louis's Avatar Image
Software developer #Go #CommonLisp #JS #SQL. #LispWorks user. Soft spots for #Emacs #SmallWeb. Recently becoming #OpenBSD enthusiast. #LinuxMint as a daily driver. Recovering Apple addict.

Author of the Tuner app for Linux.

Other hobbies: #Running #FireFighter #StarTrek
← All posts

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:

http://louis.brauer.family/2023-03-03-comparing-various-programming-languages-doing-a-simple-task.html

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.
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.
To like or reply, open original post on Emacs.ch