Skip to content

Commit

Permalink
Update test settings
Browse files Browse the repository at this point in the history
Halve TCs (hash pressure higher than initially thought). Also fix VLTC hash
  • Loading branch information
Viren6 committed Nov 8, 2024
1 parent 4fd027e commit 9574ad0
Showing 1 changed file with 25 additions and 25 deletions.
50 changes: 25 additions & 25 deletions server/montytest/templates/tests_run.mak
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
pt_branch = pt_info["pt_branch"]
pt_signature = pt_info["pt_bench"]

tc = args.get('tc', '40+0.4')
tc = args.get('tc', '20+0.2')
new_tc = args.get('new_tc', tc)

default_book = args.get('book', test_book)
Expand Down Expand Up @@ -59,8 +59,8 @@
<input class="list-group-item-check pe-none" type="radio" name="test-type" id="stc_test"
data-options='{
"name": "STC",
"tc": "40+0.4",
"new_tc": "40+0.4",
"tc": "20+0.2",
"new_tc": "20+0.2",
"throughput": "100",
"threads": 1,
"options": "Hash=16",
Expand All @@ -80,8 +80,8 @@
<input class="list-group-item-check pe-none" type="radio" name="test-type" id="ltc_test"
data-options='{
"name": "LTC",
"tc": "240+2.4",
"new_tc": "240+2.4",
"tc": "120+1.2",
"new_tc": "120+1.2",
"throughput": "100",
"threads": 1,
"options": "Hash=64",
Expand All @@ -98,8 +98,8 @@
<input class="list-group-item-check pe-none" type="radio" name="test-type" id="stc_smp_test"
data-options='{
"name": "STC SMP",
"tc": "12+0.12",
"new_tc": "12+0.12",
"tc": "6+0.06",
"new_tc": "6+0.06",
"throughput": "100",
"threads": 15,
"options": "Hash=64",
Expand All @@ -116,8 +116,8 @@
<input class="list-group-item-check pe-none" type="radio" name="test-type" id="ltc_smp_test"
data-options='{
"name": "LTC SMP",
"tc": "48+0.48",
"new_tc": "48+0.48",
"tc": "24+0.24",
"new_tc": "24+0.24",
"throughput": "100",
"threads": 15,
"options": "Hash=256",
Expand All @@ -134,11 +134,11 @@
<input class="list-group-item-check pe-none" type="radio" name="test-type" id="vltc_test"
data-options='{
"name": "VLTC",
"tc": "240+2.4",
"new_tc": "240+2.4",
"tc": "120+1.2",
"new_tc": "120+1.2",
"throughput": "50",
"threads": 3,
"options": "Hash=192",
"options": "Hash=128",
"book": "${test_book}",
"stop_rule": "stop-rule-sprt",
"bounds": "standard STC"
Expand All @@ -152,8 +152,8 @@
<input class="list-group-item-check pe-none" type="radio" name="test-type" id="vltc_smp_test"
data-options='{
"name": "VLTC SMP",
"tc": "400+4",
"new_tc": "400+4",
"tc": "200+2",
"new_tc": "200+2",
"throughput": "50",
"threads": 5,
"options": "Hash=256",
Expand All @@ -170,8 +170,8 @@
<input class="list-group-item-check pe-none" type="radio" name="test-type" id="pt_test"
data-options='{
"name": "PT",
"tc": "240+2.4",
"new_tc": "240+2.4",
"tc": "120+1.2",
"new_tc": "120+1.2",
"throughput": "100",
"threads": 1,
"options": "Hash=64",
Expand All @@ -192,8 +192,8 @@
<input class="list-group-item-check pe-none" type="radio" name="test-type" id="pt_smp_test"
data-options='{
"name": "PT SMP",
"tc": "400+4",
"new_tc": "400+4",
"tc": "200+2",
"new_tc": "200+2",
"throughput": "100",
"threads": 5,
"options": "Hash=512",
Expand Down Expand Up @@ -543,7 +543,7 @@
name="tc"
id="tc"
class="form-control"
value="${args.get('tc', '40+0.4')}"
value="${args.get('tc', '20+0.2')}"
>
</div>
<div class="col mb-2 nodes" style="display: none;">
Expand All @@ -563,7 +563,7 @@
name="new_tc"
id="new_tc"
class="form-control"
value="${args.get('new_tc', '40+0.4')}"
value="${args.get('new_tc', '20+0.2')}"
>
</div>
<div class="col mb-2">
Expand Down Expand Up @@ -1061,18 +1061,18 @@
if (isRun) {
// Select the correct fields by default for re-runs
const tc = '${args.get('tc')}';
if (tc === "40+0.4") {
if (tc === "20+0.2") {
document.getElementById("stc_test").checked = true;
} else if (tc === "12+0.12") {
} else if (tc === "6+0.06") {
document.getElementById("stc_smp_test").checked = true;
} else if (tc === "48+0.48") {
} else if (tc === "24+0.24") {
document.getElementById("ltc_smp_test").checked = true;
} else if (tc === "400+4") {
} else if (tc === "200+2") {
document.getElementById("vltc_smp_test").checked = true;
}

const threads = '${args.get('threads')}';
if (tc === "240+2.4") {
if (tc === "120+1.2") {
if (threads === "1") {
document.getElementById("ltc_test").checked = true;
} else if (threads === "3") {
Expand Down

0 comments on commit 9574ad0

Please sign in to comment.