mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-30 00:31:14 +00:00
Tests: Reduce the execution time of the LibC TestQSort test
Executing 100 times vs 10 times doesn't increase test coverage substantial, this API is stable and more iterations is just a waste of time. Without KVM this test is a clear outlier in runtime during CI: ``` START LibC/TestQsort (106/172) PASS LibC/TestQsort (41.233692s) ```
This commit is contained in:
parent
bb58a4d943
commit
782e7834c3
Notes:
sideshowbarker
2024-07-18 04:40:01 +09:00
Author: https://github.com/bgianfo Commit: https://github.com/SerenityOS/serenity/commit/782e7834c38 Pull-request: https://github.com/SerenityOS/serenity/pull/9844
|
@ -12,7 +12,7 @@
|
|||
#include <AK/Vector.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
const size_t NUM_RUNS = 100;
|
||||
const size_t NUM_RUNS = 10;
|
||||
|
||||
struct SortableObject {
|
||||
int m_key;
|
||||
|
|
Loading…
Reference in a new issue