Skip to content

Commit d66afd0

Browse files
committed
chore: update benchmarks for TVM0.42-alpha10 -> 0.42 upgrade
The relevant difference in performance is caught by the diff in the Triton VM repo where the instructions `pick` and `place` are introduced: TritonVM/triton-vm@b769392 The main cost is captured by the STARK-verify benchmark, showing a 2.813 increase in the processor table row count and a 3.623 increase in the RAM table. These increases are less than 2 % of the total row count, so these new instructions seem worthwhile! Very nice!
1 parent 434d393 commit d66afd0

16 files changed

+116
-116
lines changed

tasm-lib/benchmarks/tasmlib_array_inner_product_of_463_xfes.json renamed to tasm-lib/benchmarks/tasmlib_array_inner_product_of_467_xfes.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
[
22
{
3-
"name": "tasmlib_array_inner_product_of_463_xfes",
3+
"name": "tasmlib_array_inner_product_of_467_xfes",
44
"benchmark_result": {
5-
"clock_cycle_count": 473,
5+
"clock_cycle_count": 477,
66
"hash_table_height": 294,
77
"u32_table_height": 0,
88
"op_stack_table_height": 5,
9-
"ram_table_height": 2778
9+
"ram_table_height": 2802
1010
},
1111
"case": "CommonCase"
1212
},
1313
{
14-
"name": "tasmlib_array_inner_product_of_463_xfes",
14+
"name": "tasmlib_array_inner_product_of_467_xfes",
1515
"benchmark_result": {
16-
"clock_cycle_count": 473,
16+
"clock_cycle_count": 477,
1717
"hash_table_height": 294,
1818
"u32_table_height": 0,
1919
"op_stack_table_height": 5,
20-
"ram_table_height": 2778
20+
"ram_table_height": 2802
2121
},
2222
"case": "WorstCase"
2323
}

tasm-lib/benchmarks/tasmlib_array_inner_product_of_592_xfes.json renamed to tasm-lib/benchmarks/tasmlib_array_inner_product_of_596_xfes.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
11
[
22
{
3-
"name": "tasmlib_array_inner_product_of_592_xfes",
3+
"name": "tasmlib_array_inner_product_of_596_xfes",
44
"benchmark_result": {
5-
"clock_cycle_count": 602,
5+
"clock_cycle_count": 606,
66
"hash_table_height": 372,
77
"u32_table_height": 0,
88
"op_stack_table_height": 5,
9-
"ram_table_height": 3552
9+
"ram_table_height": 3576
1010
},
1111
"case": "CommonCase"
1212
},
1313
{
14-
"name": "tasmlib_array_inner_product_of_592_xfes",
14+
"name": "tasmlib_array_inner_product_of_596_xfes",
1515
"benchmark_result": {
16-
"clock_cycle_count": 602,
16+
"clock_cycle_count": 606,
1717
"hash_table_height": 372,
1818
"u32_table_height": 0,
1919
"op_stack_table_height": 5,
20-
"ram_table_height": 3552
20+
"ram_table_height": 3576
2121
},
2222
"case": "WorstCase"
2323
}

tasm-lib/benchmarks/tasmlib_array_inner_product_of_three_rows_with_weights_Bfe_mainrowelem.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
{
33
"name": "tasmlib_array_inner_product_of_three_rows_with_weights_Bfe_mainrowelem",
44
"benchmark_result": {
5-
"clock_cycle_count": 477,
5+
"clock_cycle_count": 481,
66
"hash_table_height": 300,
77
"u32_table_height": 0,
88
"op_stack_table_height": 6,
9-
"ram_table_height": 2022
9+
"ram_table_height": 2038
1010
},
1111
"case": "CommonCase"
1212
},
1313
{
1414
"name": "tasmlib_array_inner_product_of_three_rows_with_weights_Bfe_mainrowelem",
1515
"benchmark_result": {
16-
"clock_cycle_count": 477,
16+
"clock_cycle_count": 481,
1717
"hash_table_height": 300,
1818
"u32_table_height": 0,
1919
"op_stack_table_height": 6,
20-
"ram_table_height": 2022
20+
"ram_table_height": 2038
2121
},
2222
"case": "WorstCase"
2323
}

tasm-lib/benchmarks/tasmlib_array_inner_product_of_three_rows_with_weights_Xfe_mainrowelem.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,22 @@
22
{
33
"name": "tasmlib_array_inner_product_of_three_rows_with_weights_Xfe_mainrowelem",
44
"benchmark_result": {
5-
"clock_cycle_count": 477,
5+
"clock_cycle_count": 481,
66
"hash_table_height": 300,
77
"u32_table_height": 0,
88
"op_stack_table_height": 6,
9-
"ram_table_height": 2772
9+
"ram_table_height": 2796
1010
},
1111
"case": "CommonCase"
1212
},
1313
{
1414
"name": "tasmlib_array_inner_product_of_three_rows_with_weights_Xfe_mainrowelem",
1515
"benchmark_result": {
16-
"clock_cycle_count": 477,
16+
"clock_cycle_count": 481,
1717
"hash_table_height": 300,
1818
"u32_table_height": 0,
1919
"op_stack_table_height": 6,
20-
"ram_table_height": 2772
20+
"ram_table_height": 2796
2121
},
2222
"case": "WorstCase"
2323
}

tasm-lib/benchmarks/tasmlib_verifier_master_aux_table_air_constraint_evaluation.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

tasm-lib/benchmarks/tasmlib_verifier_master_aux_table_divide_out_zerofiers.json

Lines changed: 0 additions & 24 deletions
This file was deleted.

tasm-lib/benchmarks/tasmlib_verifier_master_aux_table_verify_Main_table_rows.json

Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[
2+
{
3+
"name": "tasmlib_verifier_master_table_air_constraint_evaluation",
4+
"benchmark_result": {
5+
"clock_cycle_count": 37762,
6+
"hash_table_height": 40578,
7+
"u32_table_height": 0,
8+
"op_stack_table_height": 70227,
9+
"ram_table_height": 24996
10+
},
11+
"case": "CommonCase"
12+
},
13+
{
14+
"name": "tasmlib_verifier_master_table_air_constraint_evaluation",
15+
"benchmark_result": {
16+
"clock_cycle_count": 37762,
17+
"hash_table_height": 40578,
18+
"u32_table_height": 0,
19+
"op_stack_table_height": 70227,
20+
"ram_table_height": 24996
21+
},
22+
"case": "WorstCase"
23+
}
24+
]
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
[
2+
{
3+
"name": "tasmlib_verifier_master_table_divide_out_zerofiers",
4+
"benchmark_result": {
5+
"clock_cycle_count": 7473,
6+
"hash_table_height": 8298,
7+
"u32_table_height": 22,
8+
"op_stack_table_height": 8639,
9+
"ram_table_height": 5379
10+
},
11+
"case": "CommonCase"
12+
},
13+
{
14+
"name": "tasmlib_verifier_master_table_divide_out_zerofiers",
15+
"benchmark_result": {
16+
"clock_cycle_count": 7473,
17+
"hash_table_height": 8298,
18+
"u32_table_height": 22,
19+
"op_stack_table_height": 8639,
20+
"ram_table_height": 5379
21+
},
22+
"case": "WorstCase"
23+
}
24+
]

tasm-lib/benchmarks/tasmlib_verifier_master_aux_table_verify_Aux_table_rows.json renamed to tasm-lib/benchmarks/tasmlib_verifier_master_table_verify_Aux_table_rows.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[
22
{
3-
"name": "tasmlib_verifier_master_aux_table_verify_Aux_table_rows",
3+
"name": "tasmlib_verifier_master_table_verify_Aux_table_rows",
44
"benchmark_result": {
55
"clock_cycle_count": 415,
66
"hash_table_height": 933,
@@ -11,7 +11,7 @@
1111
"case": "CommonCase"
1212
},
1313
{
14-
"name": "tasmlib_verifier_master_aux_table_verify_Aux_table_rows",
14+
"name": "tasmlib_verifier_master_table_verify_Aux_table_rows",
1515
"benchmark_result": {
1616
"clock_cycle_count": 445,
1717
"hash_table_height": 1023,

0 commit comments

Comments
 (0)