An open API service indexing awesome lists of open source software.

https://github.com/aavision/bubble-sort-benchmarks

Benchmarking Bubble sort using different languages!
https://github.com/aavision/bubble-sort-benchmarks

bash bubble-sort bubblesort c cpp cython go golang javascript php python python3 ruby rust ubuntu

Last synced: 5 months ago
JSON representation

Benchmarking Bubble sort using different languages!

Awesome Lists containing this project

README

          

# Bubble Sort Benchmarks

## Description :books:
The idea of this repo is to check the performance of every language on using the bubble sort for an array of 10.000 numbers! I got that idea because i'm always curious about performance and how things work on low level and high level!

## Benchmarks :rocket:

### C
![c-screenshot](c/image.png)

### C++
![cpp-screenshot](c++/image.png)

### Cython
![cython-screenshot](cython/image.png)

### Go
![go-screenshot](go/image.png)

### JavaScript
![javascript-screenshot](javascript/image.png)

### PHP
![php-screenshot](php/image.png)

### Python
![python-screenshot](python/image.png)

### Rust
![rust-screenshot](rust/image.png)

### Ruby
![ruby-screenshot](ruby/image.png)

## Specs :anchor:
I'm using a laptop with the following specs:

- 12th Gen Intel® Core™ i7-1255U × 12.
- Ubuntu 22.04.5 LTS.
- 32GBs of Ram.
- 500GBs SSD.

## TO-DO :man_playing_handball:
- Adding
- Java.
- Kotlin.
- ~~Ruby~~.
- C#.
- Perl.
- Dart.
- Elixir.
- Erlang.
- Objective-C.
- Scala.
- Lua.
- Powershell.
- Bach.
- Ocaml.

- **Add Dockerfile to some languages.**

## LICENSE :balance_scale:

This project is licensed under the MIT License. See the [LICENSE](https://github.com/AAVision/bubble-sort-benchmarks/blob/main/LICENSE) file for details.