2016-02-04 21:32:08 +02:00
2016-09-22 22:15:51 +03:00
2016-02-04 21:30:25 +02:00
2020-01-17 21:02:31 +03:00
2018-01-27 15:55:24 +01:00
2020-01-17 21:02:31 +03:00
2020-01-17 21:02:31 +03:00
2020-01-17 21:02:31 +03:00
2020-01-23 02:07:47 +03:00
2020-01-17 21:02:31 +03:00
2020-01-23 02:07:47 +03:00
2018-01-27 15:55:24 +01:00
2018-01-27 15:55:24 +01:00

langs-performance

C++ vs. Python vs. Perl vs. PHP vs. Java vs. NodeJS vs. Go vs. Ruby vs. Rust vs. Swift vs. D performance benchmark

Blog articles:

The benchmarks here do not try to be complete, as they are showing the performance of the languages in one aspect, and mainly: loops, dynamic arrays with numbers, basic math operations.

The times include the interpretation/parsing phase for each language, but its so small that its significance is negligible. The programs run for 90 wall-clock seconds and there are 6 identical runs, in order to have more reliable results. All scripts are using the very same algorithm to calculate the prime numbers in a given range. The correctness of the implementation is not so important, as we just want to check how fast the languages perform. The original Python algorithm was taken from http://www.daniweb.com/code/snippet216871.html.

Another similar project: https://benchmarksgame.alioth.debian.org/

Languages
Perl 24.4%
Shell 14.8%
C++ 11.9%
Java 10.2%
Erlang 6.4%
Other 32.3%