Files
swift-nio/Sources
Gregor Milos (Grzegorz Miłoś) 325f762a8b Remove unreliable SchedulingBenchmark (#2650)
* Fix `SchedulingBenchmark` preheating logic.

Motivation:

At the moment `SchedulingBenchmark` preheats single EL to a specified number of tasks. However, the actual performance test runs number of times, and EL doesn't get drained in between the runs.

There are two problems with it:
* perf test will trigger task heap dublings, which the preheating aims to avoid
* each test run will be working with proportionally deeper heap, which means the run times are going to grow with each run

Modifications:

I plumbed through the # of runs to the `Benchmark.setUp`, and prepare ELG with # of ELs that match the expected number of runs.

Result:

Performance test will be more reliable.

* Revert "Fix `SchedulingBenchmark` preheating logic."

This reverts commit 859ba72c78.

* Remove SchedulingBenchmark. Deemed not valuable enough.
2024-03-01 11:10:46 +00:00
..
2024-01-16 03:30:26 -08:00
2024-01-16 03:30:26 -08:00
2024-01-08 10:02:09 +00:00