LibSQL: Reduce run time of TestSqlDatabase
Scanning tables is a linear process using pointers in the table's tuples, and does not involve more 'stochastic' code paths like index traversals. Therefore the 1000 and 10000 row tests were basically overkill and added nothing we can't find out with less rows.
This commit is contained in:
parent
b3c3b78b01
commit
bd5a04fffe
Notes:
sideshowbarker
2024-07-18 11:36:14 +09:00
Author: https://github.com/JanDeVisser Commit: https://github.com/SerenityOS/serenity/commit/bd5a04fffeb Pull-request: https://github.com/SerenityOS/serenity/pull/8228 Reviewed-by: https://github.com/ADKaster Reviewed-by: https://github.com/bgianfo ✅
1 changed files with 0 additions and 10 deletions
|
@ -176,13 +176,3 @@ TEST_CASE(insert_100_into_table)
|
|||
{
|
||||
insert_and_verify(100);
|
||||
}
|
||||
|
||||
TEST_CASE(insert_1000_into_table)
|
||||
{
|
||||
insert_and_verify(1000);
|
||||
}
|
||||
|
||||
TEST_CASE(insert_10000_into_table)
|
||||
{
|
||||
insert_and_verify(10000);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue