|
1 | 1 | # Benchmarks for basic_bitcoin
|
2 | 2 |
|
3 |
| -## Current benchmarks Azle version: 0.32.0 |
| 3 | +## Current benchmarks Azle version: 0.33.0 |
| 4 | +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | |
| 5 | +|-----------|-------------|------------|--------|-----|--------------|-------| |
| 6 | +| 0 | 1 | 170_905_250 | 175_905_250 | $0.0002409902 | $240.99 | <font color="green">-7_629_006_953</font> | |
| 7 | +| 1 | 1 | 170_800_513 | 175_800_513 | $0.0002408467 | $240.84 | <font color="green">-2_578_218</font> | |
| 8 | +| 2 | 1 | 171_428_639 | 176_428_639 | $0.0002417072 | $241.70 | <font color="green">-1_979_316</font> | |
| 9 | +| 3 | 1 | 171_025_523 | 176_025_523 | $0.0002411550 | $241.15 | <font color="green">-2_900_672</font> | |
| 10 | +| 4 | 1 | 170_961_289 | 175_961_289 | $0.0002410670 | $241.06 | <font color="green">-2_370_795</font> | |
| 11 | +| 5 | 1 | 171_466_412 | 176_466_412 | $0.0002417590 | $241.75 | <font color="green">-1_679_422</font> | |
| 12 | +| 6 | 1 | 170_862_049 | 175_862_049 | $0.0002409310 | $240.93 | <font color="green">-2_947_755</font> | |
| 13 | +| 7 | 1 | 173_307_359 | 178_307_359 | $0.0002442811 | $244.28 | <font color="green">-18_417</font> | |
| 14 | +| 8 | 1 | 169_834_121 | 174_834_121 | $0.0002395227 | $239.52 | <font color="green">-5_819_179</font> | |
| 15 | +| 9 | 1 | 171_501_922 | 176_501_922 | $0.0002418076 | $241.80 | <font color="green">-550_948</font> | |
| 16 | +| 10 | 1 | 178_529_015 | 183_529_015 | $0.0002514348 | $251.43 | <font color="red">+4_749_094</font> | |
| 17 | +| 11 | 1 | 171_776_225 | 176_776_225 | $0.0002421834 | $242.18 | <font color="green">-8_909_712</font> | |
| 18 | +| 12 | 1 | 171_335_289 | 176_335_289 | $0.0002415793 | $241.57 | <font color="green">-2_359_824</font> | |
| 19 | +| 13 | 1 | 171_608_402 | 176_608_402 | $0.0002419535 | $241.95 | <font color="green">-1_749_552</font> | |
| 20 | +| 14 | 1 | 170_037_035 | 175_037_035 | $0.0002398007 | $239.80 | <font color="green">-3_798_922</font> | |
| 21 | +| 15 | 1 | 172_414_397 | 177_414_397 | $0.0002430577 | $243.05 | <font color="red">+254_264</font> | |
| 22 | +| 16 | 1 | 171_497_780 | 176_497_780 | $0.0002418020 | $241.80 | <font color="green">-38_763_946</font> | |
| 23 | +| 17 | 1 | 171_159_191 | 176_159_191 | $0.0002413381 | $241.33 | <font color="green">-2_757_057</font> | |
| 24 | +| 18 | 1 | 171_637_667 | 176_637_667 | $0.0002419936 | $241.99 | <font color="green">-1_835_839</font> | |
| 25 | +| 19 | 1 | 169_942_027 | 174_942_027 | $0.0002396706 | $239.67 | <font color="green">-4_067_254</font> | |
| 26 | +| 20 | 1 | 170_006_935 | 175_006_935 | $0.0002397595 | $239.75 | <font color="green">-2_107_623</font> | |
4 | 27 |
|
5 |
| -| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | |
6 |
| -| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | --------------------------------------- | |
7 |
| -| 0 | init | 7_799_912_203 | 5_920_554_881 | $0.0078723842 | $7_872.38 | <font color="green">-193_524_294</font> | |
8 |
| -| 1 | http_request_update | 173_378_731 | 69_941_492 | $0.0000929991 | $92.99 | <font color="red">+416_751</font> | |
9 |
| -| 2 | http_request_update | 173_407_955 | 69_953_182 | $0.0000930146 | $93.01 | <font color="red">+513_841</font> | |
10 |
| -| 3 | http_request_update | 173_926_195 | 70_160_478 | $0.0000932903 | $93.29 | <font color="red">+619_262</font> | |
11 |
| -| 4 | http_request_update | 173_332_084 | 69_922_833 | $0.0000929743 | $92.97 | <font color="red">+294_134</font> | |
12 |
| -| 5 | http_request_update | 173_145_834 | 69_848_333 | $0.0000928752 | $92.87 | <font color="red">+218_590</font> | |
13 |
| -| 6 | http_request_update | 173_809_804 | 70_113_921 | $0.0000932284 | $93.22 | <font color="red">+548_517</font> | |
14 |
| -| 7 | http_request_update | 173_325_776 | 69_920_310 | $0.0000929709 | $92.97 | <font color="red">+274_361</font> | |
15 |
| -| 8 | http_request_update | 175_653_300 | 70_851_320 | $0.0000942089 | $94.20 | <font color="red">+297_412</font> | |
16 |
| -| 9 | http_request_update | 172_052_870 | 69_411_148 | $0.0000922939 | $92.29 | <font color="red">+270_927</font> | |
17 |
| -| 10 | http_request_update | 173_779_921 | 70_101_968 | $0.0000932125 | $93.21 | <font color="red">+333_798</font> | |
18 |
| -| 11 | http_request_update | 180_685_937 | 72_864_374 | $0.0000968856 | $96.88 | <font color="red">+340_884</font> | |
19 |
| -| 12 | http_request_update | 173_695_113 | 70_068_045 | $0.0000931674 | $93.16 | <font color="red">+283_477</font> | |
20 |
| -| 13 | http_request_update | 173_357_954 | 69_933_181 | $0.0000929881 | $92.98 | <font color="red">+309_624</font> | |
21 |
| -| 14 | http_request_update | 173_835_957 | 70_124_382 | $0.0000932423 | $93.24 | <font color="red">+328_606</font> | |
22 |
| -| 15 | http_request_update | 172_160_133 | 69_454_053 | $0.0000923510 | $92.35 | <font color="red">+490_704</font> | |
23 |
| -| 16 | http_request_update | 210_261_726 | 84_694_690 | $0.0001126160 | $112.61 | <font color="red">+36_398_388</font> | |
24 |
| -| 17 | http_request_update | 173_916_248 | 70_156_499 | $0.0000932850 | $93.28 | <font color="red">+392_003</font> | |
25 |
| -| 18 | http_request_update | 173_473_506 | 69_979_402 | $0.0000930495 | $93.04 | <font color="red">+338_003</font> | |
26 |
| -| 19 | http_request_update | 174_009_281 | 70_193_712 | $0.0000933345 | $93.33 | <font color="red">+357_541</font> | |
27 |
| -| 20 | http_request_update | 172_114_558 | 69_435_823 | $0.0000923267 | $92.32 | <font color="red">+310_170</font> | |
28 |
| -| 21 | http_request_update | 172_083_551 | 69_423_420 | $0.0000923102 | $92.31 | <font color="red">+278_533</font> | |
| 28 | +## Baseline benchmarks Azle version: 0.32.0 |
| 29 | +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | |
| 30 | +|-----------|-------------|------------|--------|-----|--------------| |
| 31 | +| 0 | init | 7_799_912_203 | 7_804_912_203 | $0.0106927297 | $10_692.72 | |
| 32 | +| 1 | http_request_update | 173_378_731 | 178_378_731 | $0.0002443789 | $244.37 | |
| 33 | +| 2 | http_request_update | 173_407_955 | 178_407_955 | $0.0002444189 | $244.41 | |
| 34 | +| 3 | http_request_update | 173_926_195 | 178_926_195 | $0.0002451289 | $245.12 | |
| 35 | +| 4 | http_request_update | 173_332_084 | 178_332_084 | $0.0002443150 | $244.31 | |
| 36 | +| 5 | http_request_update | 173_145_834 | 178_145_834 | $0.0002440598 | $244.05 | |
| 37 | +| 6 | http_request_update | 173_809_804 | 178_809_804 | $0.0002449694 | $244.96 | |
| 38 | +| 7 | http_request_update | 173_325_776 | 178_325_776 | $0.0002443063 | $244.30 | |
| 39 | +| 8 | http_request_update | 175_653_300 | 180_653_300 | $0.0002474950 | $247.49 | |
| 40 | +| 9 | http_request_update | 172_052_870 | 177_052_870 | $0.0002425624 | $242.56 | |
| 41 | +| 10 | http_request_update | 173_779_921 | 178_779_921 | $0.0002449285 | $244.92 | |
| 42 | +| 11 | http_request_update | 180_685_937 | 185_685_937 | $0.0002543897 | $254.38 | |
| 43 | +| 12 | http_request_update | 173_695_113 | 178_695_113 | $0.0002448123 | $244.81 | |
| 44 | +| 13 | http_request_update | 173_357_954 | 178_357_954 | $0.0002443504 | $244.35 | |
| 45 | +| 14 | http_request_update | 173_835_957 | 178_835_957 | $0.0002450053 | $245.00 | |
| 46 | +| 15 | http_request_update | 172_160_133 | 177_160_133 | $0.0002427094 | $242.70 | |
| 47 | +| 16 | http_request_update | 210_261_726 | 215_261_726 | $0.0002949086 | $294.90 | |
| 48 | +| 17 | http_request_update | 173_916_248 | 178_916_248 | $0.0002451153 | $245.11 | |
| 49 | +| 18 | http_request_update | 173_473_506 | 178_473_506 | $0.0002445087 | $244.50 | |
| 50 | +| 19 | http_request_update | 174_009_281 | 179_009_281 | $0.0002452427 | $245.24 | |
| 51 | +| 20 | http_request_update | 172_114_558 | 177_114_558 | $0.0002426469 | $242.64 | |
| 52 | +| 21 | http_request_update | 172_083_551 | 177_083_551 | $0.0002426045 | $242.60 | |
29 | 53 |
|
30 |
| -## Baseline benchmarks Azle version: 0.30.0 |
31 | 54 |
|
32 |
| -| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | |
33 |
| -| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | |
34 |
| -| 0 | init | 7_993_436_497 | 5_997_964_598 | $0.0079753136 | $7_975.31 | |
35 |
| -| 1 | http_request_update | 172_961_980 | 69_774_792 | $0.0000927774 | $92.77 | |
36 |
| -| 2 | http_request_update | 172_894_114 | 69_747_645 | $0.0000927414 | $92.74 | |
37 |
| -| 3 | http_request_update | 173_306_933 | 69_912_773 | $0.0000929609 | $92.96 | |
38 |
| -| 4 | http_request_update | 173_037_950 | 69_805_180 | $0.0000928179 | $92.81 | |
39 |
| -| 5 | http_request_update | 172_927_244 | 69_760_897 | $0.0000927590 | $92.75 | |
40 |
| -| 6 | http_request_update | 173_261_287 | 69_894_514 | $0.0000929366 | $92.93 | |
41 |
| -| 7 | http_request_update | 173_051_415 | 69_810_566 | $0.0000928250 | $92.82 | |
42 |
| -| 8 | http_request_update | 175_355_888 | 70_732_355 | $0.0000940507 | $94.05 | |
43 |
| -| 9 | http_request_update | 171_781_943 | 69_302_777 | $0.0000921498 | $92.14 | |
44 |
| -| 10 | http_request_update | 173_446_123 | 69_968_449 | $0.0000930349 | $93.03 | |
45 |
| -| 11 | http_request_update | 180_345_053 | 72_728_021 | $0.0000967043 | $96.70 | |
46 |
| -| 12 | http_request_update | 173_411_636 | 69_954_654 | $0.0000930166 | $93.01 | |
47 |
| -| 13 | http_request_update | 173_048_330 | 69_809_332 | $0.0000928234 | $92.82 | |
48 |
| -| 14 | http_request_update | 173_507_351 | 69_992_940 | $0.0000930675 | $93.06 | |
49 |
| -| 15 | http_request_update | 171_669_429 | 69_257_771 | $0.0000920900 | $92.08 | |
50 |
| -| 16 | http_request_update | 173_863_338 | 70_135_335 | $0.0000932569 | $93.25 | |
51 |
| -| 17 | http_request_update | 173_524_245 | 69_999_698 | $0.0000930765 | $93.07 | |
52 |
| -| 18 | http_request_update | 173_135_503 | 69_844_201 | $0.0000928697 | $92.86 | |
53 |
| -| 19 | http_request_update | 173_651_740 | 70_050_696 | $0.0000931443 | $93.14 | |
54 |
| -| 20 | http_request_update | 171_804_388 | 69_311_755 | $0.0000921618 | $92.16 | |
55 |
| -| 21 | http_request_update | 171_805_018 | 69_312_007 | $0.0000921621 | $92.16 | |
56 | 55 |
|
57 | 56 | ---
|
58 | 57 |
|
59 | 58 | **Note on calculations:**
|
60 |
| - |
61 |
| -- Cycles are calculated using the formula: base_fee + (per_instruction_fee \* number_of_instructions) + (additional_fee_per_billion \* floor(number_of_instructions / 1_000_000_000)) |
62 |
| -- base_fee: 590_000 cycles |
63 |
| -- per_instruction_fee: 0.4 cycles |
64 |
| -- additional_fee_per_billion: 400_000_000 cycles per billion instructions |
65 |
| -- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) |
| 59 | +- All calculations assume a 13-node subnet |
| 60 | +- Cycles are calculated using the formula: base_fee + per_instruction_fee \* number_of_instructions |
| 61 | +- base_fee: 5_000_000 cycles |
| 62 | +- per_instruction_fee: 1 cycle |
| 63 | +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.37 (as of June 27, 2025) |
66 | 64 |
|
67 | 65 | For the most up-to-date XDR to USD conversion rate, please refer to the [IMF website](https://www.imf.org/external/np/fin/data/rms_sdrv.aspx).
|
68 |
| -For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). |
| 66 | +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/references/cycles-cost-formulas). |
0 commit comments