Add Mandelbrot set and Lua ported algorithm benchmarks #68
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds these benchmarks from #36:
6 new benchmarks have been added:
For the merkle trees, nbody and spectral norm benchmarks, I decided to give inputs lower than those in https://programming-language-benchmarks.vercel.app/lua, as GDScript was taking too long to finish them.
Results on my PC
{
"benchmarks": [
{
"category": "Gdscript > Binary Trees",
"name": "Binary Trees 15",
"results": {
"time": 2911
}
},
{
"category": "Gdscript > Binary Trees",
"name": "Binary Trees 18",
"results": {
"time": 27350
}
},
{
"category": "Gdscript > Hello World",
"name": "Hello World",
"results": {
"time": 0.054
}
},
{
"category": "Gdscript > Mandelbrot Set",
"name": "Mandelbrot Set",
"results": {
"time": 10890
}
},
{
"category": "Gdscript > Merkle Trees",
"name": "Merkle Trees 13",
"results": {
"time": 4463
}
},
{
"category": "Gdscript > Merkle Trees",
"name": "Merkle Trees 15",
"results": {
"time": 26240
}
},
{
"category": "Gdscript > Nbody",
"name": "Nbody 1 000 000",
"results": {
"time": 16890
}
},
{
"category": "Gdscript > Nbody",
"name": "Nbody 500 000",
"results": {
"time": 8322
}
},
{
"category": "Gdscript > Spectral Norm",
"name": "Spectral Norm 100",
"results": {
"time": 4488
}
},
{
"category": "Gdscript > Spectral Norm",
"name": "Spectral Norm 1000",
"results": {
"time": 17880
}
},
{
"category": "Gdscript > Spectral Norm",
"name": "Spectral Norm 500",
"results": {
"time": 18680
}
}
],
"engine": {
"version": "v4.3.beta1.official",
"version_hash": "a4f2ea91a1bd18f70a43ff4c1377db49b56bc3f0"
},
"system": {
"cpu_architecture": "x86_64",
"cpu_count": 12,
"cpu_name": "AMD Ryzen 5 1600 Six-Core Processor",
"os": "Linux"
}
}