more performance tests

This commit is contained in:
2024-06-07 17:34:09 +02:00
parent 81c4b976e2
commit 0c44a7e266
7 changed files with 363 additions and 0 deletions

9
various-tests/README.md Normal file
View File

@@ -0,0 +1,9 @@
## Various performance tests
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 |