Base on this Blog, Ava seems have some performance issue, so I want to compare it with other framworks.
In this project we only run single assertion for 1000 times per each framework.
npm run mocha:sync
output: 454ms
npm run mocha:async
output: 2m
npm run ava:sync
output: 82ms
npm run ava:async
output: 294ms
npm run jest:sync
output: 1.406s
npm run jest:async
output: 104.334s
As we can see Ava is much faster than Mocha/Jest.
Especially in Async test case, Jest and mocha always run in serial, so it last minutes, but ava run all the async case in parallel. So it much faster.
Currently we only run very simple test case to compare the performance between these framwork, maybe we need more test cases get more details of the results.