https://github.com/axect/scientific_bench
Benchmark some scientific computations for various languages & libraries
https://github.com/axect/scientific_bench
benchmark cpp eigen3 julia languages nim numpy python rust scientific-computing
Last synced: 3 months ago
JSON representation
Benchmark some scientific computations for various languages & libraries
- Host: GitHub
- URL: https://github.com/axect/scientific_bench
- Owner: Axect
- Created: 2020-09-01T09:39:47.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2025-01-03T08:27:44.000Z (6 months ago)
- Last Synced: 2025-04-12T16:10:15.031Z (3 months ago)
- Topics: benchmark, cpp, eigen3, julia, languages, nim, numpy, python, rust, scientific-computing
- Language: Python
- Homepage:
- Size: 6.53 MB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Scientific Benchmark
## Languages & Libraries
### Rust
* [Peroxide](https://github.com/Axect/Peroxide)
### Python
* [Numpy](https://numpy.org/)
* [Scipy](https://www.scipy.org/)### C++
* [Eigen3](http://eigen.tuxfamily.org/index.php?title=Main_Page)
### D
* [Lubeck](http://lubeck.libmir.org)
### Julia
* Native julia
### Nim
* [Arraymancer](https://github.com/mratsim/Arraymancer)
### Candidates
* Rust
* [ndarray](https://github.com/rust-ndarray/ndarray)
* [nalgebra](https://nalgebra.org/)
* C++
* [Armadillo](http://arma.sourceforge.net/)## Benchmark tool & command
Library | Purpose | Command
:-----: | :-----: | :-----:
[Hyperfine](https://github.com/sharkdp/hyperfine) | Benchmark binaries (Nim, C++, Rust) | `hyperfine -w 3 --export-markdown bench.md ${BINARY_FILE}`
[Criterion](https://github.com/bheisler/criterion.rs) | Benchmark rust | `cargo bench`
[BenchmarkTools](https://github.com/JuliaCI/BenchmarkTools.jl) | For julia benchmark | `@benchmark`
[pytest-benchmark](https://github.com/ionelmc/pytest-benchmark) | For python benchmark | `pytest --benchmark-only ${SOURCE_FILE.py} --benchmark-save=bench`## Computations
### Basic
* [Summation](./Basic/sum)
### Linear Algebra
* [Matrix Multiplication](./Linear_Algebra/matmul)
### IO
* [Database](./IO/db)
### Numerical Computations
### Machine Learning
### Physics