more tests

This commit is contained in:
2024-06-11 23:59:47 +02:00
parent 1623277c85
commit 39da34cb5c
5 changed files with 293 additions and 5 deletions

View File

@@ -2,8 +2,10 @@
Running with 1500x1500 grid 5k times
| Variation | Description | Duration |
|--------------------|-----------------------------------------------------------------------------|----------|
| perf-2dim | uses 2d grid of bools, no tuning | 00:03:14 |
| perf-2dim-pointers | use 2d grid of `Cell{Neighbors,NeighborCount}`s using pointers to neighbors | 00:03:35 |
| perf-1dim | use 1d grid of bools, access using y*x, no further tuning | 00:03:24 |
| Variation | Description | Duration |
|------------------------------|-----------------------------------------------------------------------------|-------------------|
| perf-2dim | uses 2d grid of bools, no tuning | 00:03:14 |
| perf-2dim-pointers | use 2d grid of `Cell{Neighbors,NeighborCount}`s using pointers to neighbors | 00:03:35/00:04:75 |
| perf-2dim-pointers-array | same as above but array of neighbors instead of slice | 00:02:40 |
| perf-2dim-pointers-all-array | use arrays for everything, static 1500x1500 | infinite, aborted |
| perf-1dim | use 1d grid of bools, access using y*x, no further tuning | 00:03:24 |