When Python 3 came out, It was slower than Python 2. As Python's official blog says Python 3 is 10% slower than Python 2. So it means Python 2 is faster than python 3 by some margin.
In this Benchmarking, we will use Pystone benchmarks to compare Python 2 and Python 3.
My system specification is listed below:
CPU = Intel core i3 2100 @ 3.10 GHZ
GPU = Nvidia Geforce 210
RAM = 2 GB
OS = Windows 10 Pro
The benchmarking results may vary upon your system specification.
Here's the result.
As you can see python 2 has 24% higher benchmarks than python 3 which is pretty impressive.
Maybe this is one of the reasons that some programmers prefers to use Python 2 instead of Python 3.
Hope this helps :)
In this Benchmarking, we will use Pystone benchmarks to compare Python 2 and Python 3.
My system specification is listed below:
CPU = Intel core i3 2100 @ 3.10 GHZ
GPU = Nvidia Geforce 210
RAM = 2 GB
OS = Windows 10 Pro
The benchmarking results may vary upon your system specification.
Here's the result.
python 3 pystone benchmarks |
python 2 pystone benchmarks |
As you can see python 2 has 24% higher benchmarks than python 3 which is pretty impressive.
Maybe this is one of the reasons that some programmers prefers to use Python 2 instead of Python 3.
Hope this helps :)
Comments
Post a Comment