Add ext2 benchmarks of sqlite

This commit is contained in:
Fabing Li
2024-12-11 09:56:49 +00:00
committed by Tate, Hongliang Tian
parent 946e4d5529
commit 4316247d82
14 changed files with 184 additions and 0 deletions

View File

@ -78,6 +78,8 @@ jobs:
- redis/ping_mbulk_100k_conc20_rps
- redis/get_100k_conc20_rps
- redis/set_100k_conc20_rps
# SQLite benchmarks
- sqlite/ext2_benchmarks
fail-fast: false
timeout-minutes: 60
container:

View File

@ -14,6 +14,7 @@ BA = "BA"
ND = "ND"
Fo = "Fo"
Inh = "Inh"
DELET = "DELET"
# Files with svg suffix are ignored to check.
[type.svg]

View File

@ -0,0 +1,16 @@
{
"alert": {
"threshold": "125%",
"bigger_is_better": false
},
"result_extraction": {
"search_pattern": "10000 DELETEs, numeric BETWEEN, indexed....",
"result_index": 8
},
"chart": {
"title": "[Ext2] The deletes-between result of sqlite speedtest",
"description": "sqlite-speed-test: 10000 DELETEs, numeric BETWEEN, indexed",
"unit": "second",
"legend": "The speed of deletes-between on {system} (Ext2)"
}
}

View File

@ -0,0 +1,16 @@
{
"alert": {
"threshold": "125%",
"bigger_is_better": false
},
"result_extraction": {
"search_pattern": "50000 DELETEs of individual rows....",
"result_index": 8
},
"chart": {
"title": "[Ext2] The deletes-individual result of sqlite speedtest",
"description": "sqlite-speed-test: 50000 DELETEs of individual rows",
"unit": "second",
"legend": "The speed of deletes-individual on {system} (Ext2)"
}
}

View File

@ -0,0 +1,16 @@
{
"alert": {
"threshold": "125%",
"bigger_is_better": false
},
"result_extraction": {
"search_pattern": "Refill two 50000-row tables using REPLACE....",
"result_index": 9
},
"chart": {
"title": "[Ext2] The refill-replace result of sqlite speedtest",
"description": "sqlite-speed-test: Refill two 50000-row tables using REPLACE",
"unit": "second",
"legend": "The speed of refill-replace on {system} (Ext2)"
}
}

View File

@ -0,0 +1,16 @@
{
"alert": {
"threshold": "125%",
"bigger_is_better": false
},
"result_extraction": {
"search_pattern": "70000 SELECTS on an IPK....",
"result_index": 8
},
"chart": {
"title": "[Ext2] The selects-ipk result of sqlite speedtest",
"description": "sqlite-speed-test: 70000 SELECTS on an IPK",
"unit": "second",
"legend": "The speed of selects-ipk on {system} (Ext2)"
}
}

View File

@ -0,0 +1,16 @@
{
"alert": {
"threshold": "125%",
"bigger_is_better": false
},
"result_extraction": {
"search_pattern": "70000 SELECTS on a TEXT PK....",
"result_index": 9
},
"chart": {
"title": "[Ext2] The selects-text-pk result of sqlite speedtest",
"description": "sqlite-speed-test: 70000 SELECTS on a TEXT PK",
"unit": "second",
"legend": "The speed of selects-text-pk on {system} (Ext2)"
}
}

View File

@ -0,0 +1,16 @@
{
"alert": {
"threshold": "125%",
"bigger_is_better": false
},
"result_extraction": {
"search_pattern": "TOTAL....",
"result_index": 2
},
"chart": {
"title": "[Ext2] The total result of sqlite speedtest",
"description": "sqlite-speed-test: total",
"unit": "second",
"legend": "Total speed on {system} (Ext2)"
}
}

View File

@ -0,0 +1,16 @@
{
"alert": {
"threshold": "125%",
"bigger_is_better": false
},
"result_extraction": {
"search_pattern": "10000 UPDATES, numeric BETWEEN, indexed....",
"result_index": 8
},
"chart": {
"title": "[Ext2] The updates-between result of sqlite speedtest",
"description": "sqlite-speed-test: 10000 UPDATES, numeric BETWEEN, indexed",
"unit": "second",
"legend": "The speed of updates-between on {system} (Ext2)"
}
}

View File

@ -0,0 +1,16 @@
{
"alert": {
"threshold": "125%",
"bigger_is_better": false
},
"result_extraction": {
"search_pattern": "One big UPDATE of the whole 50000-row table....",
"result_index": 11
},
"chart": {
"title": "[Ext2] The updates-big-one result of sqlite speedtest",
"description": "sqlite-speed-test: One big UPDATE of the whole 50000-row table",
"unit": "second",
"legend": "The speed of updates-big-one on {system} (Ext2)"
}
}

View File

@ -0,0 +1,16 @@
{
"alert": {
"threshold": "125%",
"bigger_is_better": false
},
"result_extraction": {
"search_pattern": "50000 UPDATES of individual rows....",
"result_index": 8
},
"chart": {
"title": "[Ext2] The updates-individual result of sqlite speedtest",
"description": "sqlite-speed-test: 50000 UPDATES of individual rows",
"unit": "second",
"legend": "The speed of updates-individual on {system} (Ext2)"
}
}

View File

@ -0,0 +1,16 @@
{
"alert": {
"threshold": "125%",
"bigger_is_better": false
},
"result_extraction": {
"search_pattern": "VACUUM....",
"result_index": 4
},
"chart": {
"title": "[Ext2] The 'VACUUM' result of sqlite speedtest",
"description": "sqlite-speed-test: repacking database file into a minimal amount of disk space",
"unit": "second",
"legend": "The speed of VACUUM on {system} (Ext2)"
}
}

View File

@ -0,0 +1,7 @@
#!/bin/sh
# SPDX-License-Identifier: MPL-2.0
set -e
/benchmark/bin/sqlite-speedtest1 --size 1000 /ext2/test.db

View File

@ -0,0 +1,14 @@
{
"benchmarks": [
"sqlite/ext2_deletes_between",
"sqlite/ext2_deletes_individual",
"sqlite/ext2_refill_replace",
"sqlite/ext2_selects_ipk",
"sqlite/ext2_selects_text_pk",
"sqlite/ext2_updates_between",
"sqlite/ext2_updates_individual",
"sqlite/ext2_updates_big_one",
"sqlite/ext2_vacuum",
"sqlite/ext2_total"
]
}