Skip to content

Bubble Sort Performance Benchmark in different programming languages

License

Notifications You must be signed in to change notification settings

abame/bubble-sort-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bubble Sort Benchmark

Programming Languages

  • Node.js
  • Python
  • Golang
  • PHP

In order to use this you need docker and run the docker-compose file and check the execution time of the script for each which is using a bubble sort algorithm on an array of 10000 random generated numbers.

To run this benchmark it's enough to execute docker-compose up -d and all three docker images will be build and a container will start for each of them.


I got the following times in seconds on a machine with 16Gb of RAM, Intel Core I7 CPU 5gen - 2.6Ghz and 250Gb SSD Hard Drive. Time is in milliseconds.

table.png

chart.png

About

Bubble Sort Performance Benchmark in different programming languages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published