Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/entityfx/entityfx-bench
Benchmarks set written in C#, Java, PHP, JS, Python, Lua, Go
https://github.com/entityfx/entityfx-bench
benchmark benchmarks benchmarks-set dhrystone e2k linpack scimark2 whetstone
Last synced: about 1 month ago
JSON representation
Benchmarks set written in C#, Java, PHP, JS, Python, Lua, Go
- Host: GitHub
- URL: https://github.com/entityfx/entityfx-bench
- Owner: EntityFX
- License: mit
- Created: 2020-09-10T08:28:32.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-10-24T16:01:33.000Z (2 months ago)
- Last Synced: 2024-11-03T08:07:44.382Z (about 2 months ago)
- Topics: benchmark, benchmarks, benchmarks-set, dhrystone, e2k, linpack, scimark2, whetstone
- Language: Lua
- Homepage:
- Size: 8.94 MB
- Stars: 21
- Watchers: 5
- Forks: 6
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# EntityFX Benchmarks Set
![](https://repository-images.githubusercontent.com/294349875/7e366c80-2123-11eb-9279-0c805e037106)
## Languages
* C#
* PHP
* JavaScript (Browser, NodeJS)
* Java
* Python
* Lua
* Golang## Benchmarks
* Dhrystone (http://www.roylongbottom.org.uk/#anchorSource)
* Whetstone (http://www.roylongbottom.org.uk/#anchorSource)
* Scimark 2 (Original sources: https://math.nist.gov/scimark2/download.html)
* Linpack (Based on: https://github.com/fommil/netlib-java/blob/master/perf/src/main/java/com/github/fommil/netlib/Linpack.java)
* Generic:
* Loops
* Conditions
* Arithmetics
* Math
* Array speed
* String manipulation
* Hash algorithms
## Run benchmarks### C#
Mono:
```sh
cd release/dotnet/net45/
mono EntityFX.NetBenchmark.exe
```DotNet Core:
```sh
cd release/dotnet/netcoreapp3.1/
dotnet EntityFX.NetBenchmark.dll
```### Java
```sh
cd /release/java
java -jar EntityFXBench.jar
```### JavaScript
#### Web
http://laseroid.azurewebsites.net/js-bench/
#### NodeJS
You must have nodejs installed
```sh
cd src/js
node ./node_main.js
```### PHP
```sh
cd src/php/
php -n -t 99999 -d memory_limit=2048M Main.php
```### Python
```sh
cd src/python/
python3 main.py
```### Lua
```sh
cd src/lua/
lua main.lua
```## Build
### Dotnet
```sh
cd src/dotnet
dotnet build EntityFX.NetBenchmark.sln --configuration Release
```### Go
```sh
cd src/go/entityfx
go build
```alternatively:
```sh
go get -u github.com/EntityFX/EntityFX-Bench/src/go/entityfx
```