bench: refactor to use dynamic memory allocation in stats/strided/dmeanors
#6250
| Job | Run time |
|---|---|
| 4s | |
| 4s |
stats/strided/dmeanors
#6250
| Job | Run time |
|---|---|
| 4s | |
| 4s |