Skip to content

Commit

Permalink
bench: Update consensus-benchmark results
Browse files Browse the repository at this point in the history
We're not 100 % sure where the individual changes are coming from, as
these benchmark results haven't been updated for some time. But there
are no alarming increases, so this is OK.
  • Loading branch information
Sword-Smith authored and aszepieniec committed Sep 30, 2024
1 parent 318f9fb commit a2d980d
Show file tree
Hide file tree
Showing 12 changed files with 144 additions and 144 deletions.
6 changes: 3 additions & 3 deletions benchmarks/CollectLockScripts-2in-2out.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
{
"name": "CollectLockScripts-2in-2out",
"benchmark_result": {
"clock_cycle_count": 298,
"hash_table_height": 205,
"u32_table_height": 12,
"clock_cycle_count": 306,
"hash_table_height": 211,
"u32_table_height": 102,
"op_stack_table_height": 249,
"ram_table_height": 62
},
Expand Down
8 changes: 4 additions & 4 deletions benchmarks/CollectTypeScripts-2in-2out.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
{
"name": "CollectTypeScripts-2in-2out",
"benchmark_result": {
"clock_cycle_count": 1557,
"hash_table_height": 482,
"u32_table_height": 12,
"op_stack_table_height": 1413,
"clock_cycle_count": 1599,
"hash_table_height": 506,
"u32_table_height": 194,
"op_stack_table_height": 1417,
"ram_table_height": 391
},
"case": "CommonCase"
Expand Down
8 changes: 4 additions & 4 deletions benchmarks/KernelToOutputs-2in-2out.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
{
"name": "KernelToOutputs-2in-2out",
"benchmark_result": {
"clock_cycle_count": 965,
"hash_table_height": 466,
"u32_table_height": 50,
"op_stack_table_height": 804,
"clock_cycle_count": 989,
"hash_table_height": 496,
"u32_table_height": 214,
"op_stack_table_height": 808,
"ram_table_height": 145
},
"case": "CommonCase"
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/NativeCurrency-2in-2out.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
{
"name": "NativeCurrency-2in-2out",
"benchmark_result": {
"clock_cycle_count": 1731,
"hash_table_height": 730,
"u32_table_height": 353,
"op_stack_table_height": 1462,
"ram_table_height": 285
"clock_cycle_count": 1776,
"hash_table_height": 760,
"u32_table_height": 558,
"op_stack_table_height": 1458,
"ram_table_height": 293
},
"case": "CommonCase"
}
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/NativeCurrency-4in-4out.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
{
"name": "NativeCurrency-4in-4out",
"benchmark_result": {
"clock_cycle_count": 2603,
"hash_table_height": 802,
"u32_table_height": 675,
"op_stack_table_height": 2214,
"ram_table_height": 533
"clock_cycle_count": 2680,
"hash_table_height": 832,
"u32_table_height": 783,
"op_stack_table_height": 2210,
"ram_table_height": 541
},
"case": "CommonCase"
}
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/RemovalRecordsIntegrity-2in-2out.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
{
"name": "RemovalRecordsIntegrity-2in-2out",
"benchmark_result": {
"clock_cycle_count": 31257,
"hash_table_height": 19415,
"u32_table_height": 13123,
"op_stack_table_height": 21807,
"ram_table_height": 29403
"clock_cycle_count": 29099,
"hash_table_height": 17825,
"u32_table_height": 13442,
"op_stack_table_height": 20187,
"ram_table_height": 26655
},
"case": "CommonCase"
}
Expand Down
16 changes: 8 additions & 8 deletions profiles/CollectLockScripts-2in-2out.profile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
CollectLockScripts-2in-2out:
| Subroutine | Processor | Op Stack | RAM | Hash | U32 |
|:---------------------------------------------------------------------------------|---------------------:|---------------------:|---------------------:|---------------------:|---------------------:|
| tasmlib_hashing_algebraic_hasher_hash_varlen | 182 ( 61.1%) | 137 ( 55.0%) | 45 ( 72.6%) | 37 ( 18.0%) | 12 (100.0%) |
| ··tasmlib_hashing_absorb_multiple | 168 ( 56.4%) | 122 ( 49.0%) | 45 ( 72.6%) | 30 ( 14.6%) | 12 (100.0%) |
| ····tasmlib_hashing_absorb_multiple_hash_all_full_chunks | 30 ( 10.1%) | 20 ( 8.0%) | 40 ( 64.5%) | 24 ( 11.7%) | 0 ( 0.0%) |
| ····tasmlib_hashing_absorb_multiple_pad_varnum_zeros | 50 ( 16.8%) | 32 ( 12.9%) | 0 ( 0.0%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ····tasmlib_hashing_absorb_multiple_read_remainder | 51 ( 17.1%) | 29 ( 11.6%) | 5 ( 8.1%) | 0 ( 0.0%) | 0 ( 0.0%) |
| tasmlib_hashing_eq_digest | 16 ( 5.4%) | 9 ( 3.6%) | 0 ( 0.0%) | 0 ( 0.0%) | 0 ( 0.0%) |
| neptune_consensus_transaction_collect_lock_scripts_write_all_lock_script_digests | 66 ( 22.1%) | 72 ( 28.9%) | 14 ( 22.6%) | 0 ( 0.0%) | 0 ( 0.0%) |
| Total | 298 (100.0%) | 249 (100.0%) | 62 (100.0%) | 205 (100.0%) | 12 (100.0%) |
| tasmlib_hashing_algebraic_hasher_hash_varlen | 182 ( 59.5%) | 137 ( 55.0%) | 45 ( 72.6%) | 37 ( 17.5%) | 12 ( 11.8%) |
| ··tasmlib_hashing_absorb_multiple | 168 ( 54.9%) | 122 ( 49.0%) | 45 ( 72.6%) | 30 ( 14.2%) | 12 ( 11.8%) |
| ····tasmlib_hashing_absorb_multiple_hash_all_full_chunks | 30 ( 9.8%) | 20 ( 8.0%) | 40 ( 64.5%) | 24 ( 11.4%) | 0 ( 0.0%) |
| ····tasmlib_hashing_absorb_multiple_pad_varnum_zeros | 50 ( 16.3%) | 32 ( 12.9%) | 0 ( 0.0%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ····tasmlib_hashing_absorb_multiple_read_remainder | 51 ( 16.7%) | 29 ( 11.6%) | 5 ( 8.1%) | 0 ( 0.0%) | 0 ( 0.0%) |
| tasmlib_hashing_eq_digest | 16 ( 5.2%) | 9 ( 3.6%) | 0 ( 0.0%) | 0 ( 0.0%) | 0 ( 0.0%) |
| neptune_consensus_transaction_collect_lock_scripts_write_all_lock_script_digests | 70 ( 22.9%) | 72 ( 28.9%) | 14 ( 22.6%) | 0 ( 0.0%) | 30 ( 29.4%) |
| Total | 306 (100.0%) | 249 (100.0%) | 62 (100.0%) | 211 (100.0%) | 102 (100.0%) |
32 changes: 16 additions & 16 deletions profiles/CollectTypeScripts-2in-2out.profile
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
CollectTypeScripts-2in-2out:
| Subroutine | Processor | Op Stack | RAM | Hash | U32 |
|:-----------------------------------------------------------------------|---------------------:|---------------------:|---------------------:|---------------------:|---------------------:|
| tasmlib_list_new___digest | 28 ( 1.8%) | 21 ( 1.5%) | 3 ( 0.8%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ··tasmlib_memory_dyn_malloc | 21 ( 1.3%) | 17 ( 1.2%) | 2 ( 0.5%) | 0 ( 0.0%) | 0 ( 0.0%) |
| tasmlib_list_new___digest | 32 ( 2.0%) | 25 ( 1.8%) | 3 ( 0.8%) | 0 ( 0.0%) | 32 ( 16.5%) |
| ··tasmlib_memory_dyn_malloc | 25 ( 1.6%) | 21 ( 1.5%) | 2 ( 0.5%) | 0 ( 0.0%) | 32 ( 16.5%) |
| ····tasmlib_memory_dyn_malloc_initialize | 4 ( 0.3%) | 2 ( 0.1%) | 0 ( 0.0%) | 0 ( 0.0%) | 0 ( 0.0%) |
| tasmlib_hashing_algebraic_hasher_hash_varlen | 396 ( 25.4%) | 298 ( 21.1%) | 126 ( 32.2%) | 98 ( 20.3%) | 12 (100.0%) |
| ··tasmlib_hashing_absorb_multiple | 368 ( 23.6%) | 268 ( 19.0%) | 126 ( 32.2%) | 84 ( 17.4%) | 12 (100.0%) |
| ····tasmlib_hashing_absorb_multiple_hash_all_full_chunks | 84 ( 5.4%) | 56 ( 4.0%) | 120 ( 30.7%) | 72 ( 14.9%) | 0 ( 0.0%) |
| ····tasmlib_hashing_absorb_multiple_pad_varnum_zeros | 144 ( 9.2%) | 92 ( 6.5%) | 0 ( 0.0%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ····tasmlib_hashing_absorb_multiple_read_remainder | 66 ( 4.2%) | 38 ( 2.7%) | 6 ( 1.5%) | 0 ( 0.0%) | 0 ( 0.0%) |
| tasmlib_hashing_eq_digest | 32 ( 2.1%) | 18 ( 1.3%) | 0 ( 0.0%) | 0 ( 0.0%) | 0 ( 0.0%) |
| neptune_consensus_transaction_collect_type_script_hashes_from_utxo | 982 ( 63.1%) | 950 ( 67.2%) | 244 ( 62.4%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ··neptune_consensus_transaction_collect_type_script_hashes_from_coin | 846 ( 54.3%) | 830 ( 58.7%) | 232 ( 59.3%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ····tasmlib_list_contains___digest | 482 ( 31.0%) | 474 ( 33.5%) | 148 ( 37.9%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ······tasmlib_list_contains___digest_loop | 354 ( 22.7%) | 338 ( 23.9%) | 100 ( 25.6%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ····neptune_consensus_transaction_push_digest_to_list | 76 ( 4.9%) | 76 ( 5.4%) | 28 ( 7.2%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ······tasmlib_list_push___digest | 42 ( 2.7%) | 40 ( 2.8%) | 16 ( 4.1%) | 0 ( 0.0%) | 0 ( 0.0%) |
| netpune_consensus_transaction_write_all_digests | 34 ( 2.2%) | 44 ( 3.1%) | 10 ( 2.6%) | 0 ( 0.0%) | 0 ( 0.0%) |
| Total | 1557 (100.0%) | 1413 (100.0%) | 391 (100.0%) | 482 (100.0%) | 12 (100.0%) |
| tasmlib_hashing_algebraic_hasher_hash_varlen | 396 ( 24.8%) | 298 ( 21.0%) | 126 ( 32.2%) | 98 ( 19.4%) | 12 ( 6.2%) |
| ··tasmlib_hashing_absorb_multiple | 368 ( 23.0%) | 268 ( 18.9%) | 126 ( 32.2%) | 84 ( 16.6%) | 12 ( 6.2%) |
| ····tasmlib_hashing_absorb_multiple_hash_all_full_chunks | 84 ( 5.3%) | 56 ( 4.0%) | 120 ( 30.7%) | 72 ( 14.2%) | 0 ( 0.0%) |
| ····tasmlib_hashing_absorb_multiple_pad_varnum_zeros | 144 ( 9.0%) | 92 ( 6.5%) | 0 ( 0.0%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ····tasmlib_hashing_absorb_multiple_read_remainder | 66 ( 4.1%) | 38 ( 2.7%) | 6 ( 1.5%) | 0 ( 0.0%) | 0 ( 0.0%) |
| tasmlib_hashing_eq_digest | 32 ( 2.0%) | 18 ( 1.3%) | 0 ( 0.0%) | 0 ( 0.0%) | 0 ( 0.0%) |
| neptune_consensus_transaction_collect_type_script_hashes_from_utxo | 1010 ( 63.2%) | 950 ( 67.0%) | 244 ( 62.4%) | 0 ( 0.0%) | 90 ( 46.4%) |
| ··neptune_consensus_transaction_collect_type_script_hashes_from_coin | 866 ( 54.2%) | 830 ( 58.6%) | 232 ( 59.3%) | 0 ( 0.0%) | 60 ( 30.9%) |
| ····tasmlib_list_contains___digest | 482 ( 30.1%) | 474 ( 33.5%) | 148 ( 37.9%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ······tasmlib_list_contains___digest_loop | 354 ( 22.1%) | 338 ( 23.9%) | 100 ( 25.6%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ····neptune_consensus_transaction_push_digest_to_list | 80 ( 5.0%) | 76 ( 5.4%) | 28 ( 7.2%) | 0 ( 0.0%) | 0 ( 0.0%) |
| ······tasmlib_list_push___digest | 42 ( 2.6%) | 40 ( 2.8%) | 16 ( 4.1%) | 0 ( 0.0%) | 0 ( 0.0%) |
| netpune_consensus_transaction_write_all_digests | 34 ( 2.1%) | 44 ( 3.1%) | 10 ( 2.6%) | 0 ( 0.0%) | 0 ( 0.0%) |
| Total | 1599 (100.0%) | 1417 (100.0%) | 391 (100.0%) | 506 (100.0%) | 194 (100.0%) |
Loading

0 comments on commit a2d980d

Please sign in to comment.