python-vs-go

Speed Comparison – Python VS Go

Benchmark

Testing 10000 numbers to sort using a simple bubble sort function. 😁

Python

5282.103061676025 milliseconds
5.28210306 seconds
0.088035051 minutes

Golang

60.5201 milliseconds
0.0605201 seconds
0.00100866833 minutes

Testing 100000 numbers to sort using a simple bubble sort function. 😟

Python

537877.537727356 milliseconds
537.877538 seconds
8.96462563 minutes

Golang

10550.7283 milliseconds
10.5507283 seconds
0.175845472 minutes

GitHub

View Github