Commit Graph

2 Commits

Author SHA1 Message Date
Si Beaumont 1af9615110
Increase runtime of performance tests to O(10 ms) to increase SNR (#2063)
Signed-off-by: Si Beaumont <beaumont@apple.com>
2022-03-24 07:42:24 -07:00
Franz Busch 213eb6887e
Add baseline performance and allocation tests for scheduling tasks and executing (#2009)
### Motivation:

In issue https://github.com/apple/swift-nio/issues/1316, we see a large number of allocations to happen when scheduling tasks. This can definitely be optimized. This PR adds a number of baseline allocation and performance tests for both `scheduleTask` and `execute`. In the next PRs, I am going to try a few optimizations to reduce the number of allocations.

### Modifications:

Added baseline performance and allocation tests for `scheduleTask` and `execute`
2021-12-13 16:33:13 +00:00