diff --git a/examples/hello_world/benchmarks.json b/examples/hello_world/benchmarks.json new file mode 100644 index 0000000000..0a31e903a5 --- /dev/null +++ b/examples/hello_world/benchmarks.json @@ -0,0 +1,15 @@ +{ + "hello_world": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1300399" }, + "method_name": "setMessage", + "timestamp": { "__bigint__": "1730239570802280595" } + } + ] + } + } +} diff --git a/examples/hello_world/benchmarks.md b/examples/hello_world/benchmarks.md new file mode 100644 index 0000000000..51e68fca30 --- /dev/null +++ b/examples/hello_world/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for hello_world + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | setMessage | 1_300_399 | 1_110_159 | $0.0000014761 | $1.47 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/async_await/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/async_await/benchmarks.json index 5bfcbe876f..0b3f51c3ce 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/async_await/benchmarks.json +++ b/tests/end_to_end/candid_rpc/class_syntax/async_await/benchmarks.json @@ -29,24 +29,24 @@ "version": "0.25.0", "benchmarks": [ { - "instructions": { "__bigint__": "1403216" }, + "instructions": { "__bigint__": "1403239" }, "method_name": "getRandomnessDirectly", - "timestamp": { "__bigint__": "1729803403463099043" } + "timestamp": { "__bigint__": "1730239608847785987" } }, { "instructions": { "__bigint__": "1331416" }, "method_name": "getRandomnessIndirectly", - "timestamp": { "__bigint__": "1729803405328542548" } + "timestamp": { "__bigint__": "1730239611013122232" } }, { - "instructions": { "__bigint__": "1370777" }, + "instructions": { "__bigint__": "1370696" }, "method_name": "getRandomnessSuperIndirectly", - "timestamp": { "__bigint__": "1729803407508425902" } + "timestamp": { "__bigint__": "1730239613202868641" } }, { - "instructions": { "__bigint__": "1315499" }, + "instructions": { "__bigint__": "1315488" }, "method_name": "returnPromiseVoid", - "timestamp": { "__bigint__": "1729803409436362598" } + "timestamp": { "__bigint__": "1730239615151180920" } } ] } diff --git a/tests/end_to_end/candid_rpc/class_syntax/async_await/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/async_await/benchmarks.md index 19ba6a8257..5f8b38bb3d 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/async_await/benchmarks.md +++ b/tests/end_to_end/candid_rpc/class_syntax/async_await/benchmarks.md @@ -4,10 +4,10 @@ | Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | | --- | ---------------------------- | ------------ | --------- | ------------- | ----------------- | --------------------------------- | -| 0 | getRandomnessDirectly | 1_403_216 | 1_151_286 | $0.0000015308 | $1.53 | -6_032 | +| 0 | getRandomnessDirectly | 1_403_239 | 1_151_295 | $0.0000015308 | $1.53 | -6_009 | | 1 | getRandomnessIndirectly | 1_331_416 | 1_122_566 | $0.0000014926 | $1.49 | +5_340 | -| 2 | getRandomnessSuperIndirectly | 1_370_777 | 1_138_310 | $0.0000015136 | $1.51 | +2_233 | -| 3 | returnPromiseVoid | 1_315_499 | 1_116_199 | $0.0000014842 | $1.48 | +2_383 | +| 2 | getRandomnessSuperIndirectly | 1_370_696 | 1_138_278 | $0.0000015135 | $1.51 | +2_152 | +| 3 | returnPromiseVoid | 1_315_488 | 1_116_195 | $0.0000014842 | $1.48 | +2_372 | ## Baseline benchmarks Azle version: 0.25.0 diff --git a/tests/end_to_end/candid_rpc/class_syntax/blob_array/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/blob_array/benchmarks.md index b67ef9445b..ef5b27c688 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/blob_array/benchmarks.md +++ b/tests/end_to_end/candid_rpc/class_syntax/blob_array/benchmarks.md @@ -2,15 +2,21 @@ ## Current benchmarks Azle version: 0.25.0 +No benchmarks reported + ## Baseline benchmarks Azle version: 0.25.0 +No benchmarks reported + --- **Note on calculations:** -- Cycles are calculated using the formula: base_fee + (per_instruction_fee \* number_of_instructions) -- Base fee: 590,000 cycles -- Per instruction fee: 0.4 cycles -- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.336610 (as of December 18, 2023) +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) -For the most up-to-date fee information, please refer to the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/bytes/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/bytes/benchmarks.json new file mode 100644 index 0000000000..a4d8832da0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/bytes/benchmarks.json @@ -0,0 +1,35 @@ +{ + "bytes_canister": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1927510" }, + "method_name": "getBytes", + "timestamp": { "__bigint__": "1730239597330523686" } + }, + { + "instructions": { "__bigint__": "2551057" }, + "method_name": "getBytes", + "timestamp": { "__bigint__": "1730239599444917323" } + }, + { + "instructions": { "__bigint__": "9456404" }, + "method_name": "getBytes", + "timestamp": { "__bigint__": "1730239601649831092" } + }, + { + "instructions": { "__bigint__": "77855537" }, + "method_name": "getBytes", + "timestamp": { "__bigint__": "1730239605414146220" } + }, + { + "instructions": { "__bigint__": "153850484" }, + "method_name": "getBytes", + "timestamp": { "__bigint__": "1730239613699007531" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/bytes/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/bytes/benchmarks.md new file mode 100644 index 0000000000..e20e16983a --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/bytes/benchmarks.md @@ -0,0 +1,28 @@ +# Benchmarks for bytes_canister + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | getBytes | 1_927_510 | 1_361_004 | $0.0000018097 | $1.80 | +| 1 | getBytes | 2_551_057 | 1_610_422 | $0.0000021413 | $2.14 | +| 2 | getBytes | 9_456_404 | 4_372_561 | $0.0000058141 | $5.81 | +| 3 | getBytes | 77_855_537 | 31_732_214 | $0.0000421934 | $42.19 | +| 4 | getBytes | 153_850_484 | 62_130_193 | $0.0000826127 | $82.61 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/bytes/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/bytes/package-lock.json index 29d7e69420..159d946d1b 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/bytes/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/bytes/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/bytes": { + "name": "bytes_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/call_raw/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/call_raw/benchmarks.json new file mode 100644 index 0000000000..afa0363a69 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/call_raw/benchmarks.json @@ -0,0 +1,20 @@ +{ + "call_raw": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1485457" }, + "method_name": "executeCallRaw", + "timestamp": { "__bigint__": "1730239874446305864" } + }, + { + "instructions": { "__bigint__": "1891128" }, + "method_name": "executeCallRaw", + "timestamp": { "__bigint__": "1730239876602478171" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/call_raw/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/call_raw/benchmarks.md new file mode 100644 index 0000000000..f7e6f5ff79 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/call_raw/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for call_raw + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | executeCallRaw | 1_485_457 | 1_184_182 | $0.0000015746 | $1.57 | +| 1 | executeCallRaw | 1_891_128 | 1_346_451 | $0.0000017903 | $1.79 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/benchmarks.json new file mode 100644 index 0000000000..56daf58293 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/benchmarks.json @@ -0,0 +1,6 @@ +{ + "candid_encoding": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/benchmarks.md new file mode 100644 index 0000000000..7a48c5be65 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for candid_encoding + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package-lock.json index d0d3feb004..bc480a3a8c 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/candid_encoding": { + "name": "candid_encoding_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/benchmarks.json new file mode 100644 index 0000000000..70dfa56b79 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/benchmarks.json @@ -0,0 +1,6 @@ +{ + "candid_keywords": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/benchmarks.md new file mode 100644 index 0000000000..9a6ce193b0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for candid_keywords + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package-lock.json index 99ae26414f..ff3f6a3c5e 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package-lock.json @@ -33,7 +33,7 @@ "name": "candid_keywords_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.19.2", @@ -8382,7 +8382,7 @@ "version": "file:../../functional_syntax/candid_keywords", "requires": { "@dfinity/agent": "0.19.2", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/canister/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/canister/benchmarks.json new file mode 100644 index 0000000000..af1a154626 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/canister/benchmarks.json @@ -0,0 +1,25 @@ +{ + "canister": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "6222466" }, + "method_name": "canisterNestedReturnType", + "timestamp": { "__bigint__": "1730239613007380364" } + }, + { + "instructions": { "__bigint__": "6705068" }, + "method_name": "canisterList", + "timestamp": { "__bigint__": "1730239615010287952" } + }, + { + "instructions": { "__bigint__": "2525839" }, + "method_name": "canisterCrossCanisterCall", + "timestamp": { "__bigint__": "1730239616976680152" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/canister/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/canister/benchmarks.md new file mode 100644 index 0000000000..8f12127a73 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/canister/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for canister + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | canisterNestedReturnType | 6_222_466 | 3_078_986 | $0.0000040940 | $4.09 | +| 1 | canisterList | 6_705_068 | 3_272_027 | $0.0000043507 | $4.35 | +| 2 | canisterCrossCanisterCall | 2_525_839 | 1_600_335 | $0.0000021279 | $2.12 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/canister/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/canister/package-lock.json index 1002560e8f..a135751e16 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/canister/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/canister/package-lock.json @@ -34,7 +34,7 @@ "name": "canister_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "^0.21.4", @@ -8223,7 +8223,7 @@ "version": "file:../../functional_syntax/canister", "requires": { "@dfinity/agent": "^0.21.4", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/complex_types/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/complex_types/benchmarks.json new file mode 100644 index 0000000000..bab1c7042f --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/complex_types/benchmarks.json @@ -0,0 +1,30 @@ +{ + "complex_types": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "18927372" }, + "method_name": "createUser", + "timestamp": { "__bigint__": "1730239612326730956" } + }, + { + "instructions": { "__bigint__": "20095428" }, + "method_name": "createThread", + "timestamp": { "__bigint__": "1730239614434288613" } + }, + { + "instructions": { "__bigint__": "22464676" }, + "method_name": "createPost", + "timestamp": { "__bigint__": "1730239616631942762" } + }, + { + "instructions": { "__bigint__": "25440124" }, + "method_name": "createReaction", + "timestamp": { "__bigint__": "1730239618670613493" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/complex_types/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/complex_types/benchmarks.md new file mode 100644 index 0000000000..d8633fda2a --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/complex_types/benchmarks.md @@ -0,0 +1,27 @@ +# Benchmarks for complex_types + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | createUser | 18_927_372 | 8_160_948 | $0.0000108514 | $10.85 | +| 1 | createThread | 20_095_428 | 8_628_171 | $0.0000114726 | $11.47 | +| 2 | createPost | 22_464_676 | 9_575_870 | $0.0000127327 | $12.73 | +| 3 | createReaction | 25_440_124 | 10_766_049 | $0.0000143153 | $14.31 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/complex_types/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/complex_types/package-lock.json index 8c90c59eba..02b4e3bee1 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/complex_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/complex_types/package-lock.json @@ -34,7 +34,7 @@ "name": "complex_types_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -8355,7 +8355,7 @@ "version": "file:../../functional_syntax/complex_types", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/composite_queries/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/composite_queries/benchmarks.json new file mode 100644 index 0000000000..ec8f82787e --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/composite_queries/benchmarks.json @@ -0,0 +1,15 @@ +{ + "canister1": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1722627" }, + "method_name": "simpleUpdate", + "timestamp": { "__bigint__": "1730239622650087612" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/composite_queries/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/composite_queries/benchmarks.md new file mode 100644 index 0000000000..b65e69429c --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/composite_queries/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for canister1 + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------ | ------------ | --------- | ------------- | ----------------- | +| 0 | simpleUpdate | 1_722_627 | 1_279_050 | $0.0000017007 | $1.70 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package-lock.json index dc92c54912..31a455594a 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/composite_queries/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/composite_queries": { + "name": "composite_queries_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/counter/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/counter/benchmarks.json new file mode 100644 index 0000000000..3b838b3e88 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/counter/benchmarks.json @@ -0,0 +1,25 @@ +{ + "counter": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1493886" }, + "method_name": "incrementCount", + "timestamp": { "__bigint__": "1730239598862968175" } + }, + { + "instructions": { "__bigint__": "1446594" }, + "method_name": "incrementCount", + "timestamp": { "__bigint__": "1730239601032376665" } + }, + { + "instructions": { "__bigint__": "1448095" }, + "method_name": "incrementCount", + "timestamp": { "__bigint__": "1730239603061508212" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/counter/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/counter/benchmarks.md new file mode 100644 index 0000000000..13b56261d5 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/counter/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for counter + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | incrementCount | 1_493_886 | 1_187_554 | $0.0000015791 | $1.57 | +| 1 | incrementCount | 1_446_594 | 1_168_637 | $0.0000015539 | $1.55 | +| 2 | incrementCount | 1_448_095 | 1_169_238 | $0.0000015547 | $1.55 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/counter/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/counter/package-lock.json index 9a31f9861c..569505948a 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/counter/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/counter/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/counter": { + "name": "counter_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/benchmarks.json index 87cc865e56..78acd38274 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/benchmarks.json +++ b/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/benchmarks.json @@ -5,69 +5,69 @@ "version": "0.25.0", "benchmarks": [ { - "instructions": { "__bigint__": "2296025" }, + "instructions": { "__bigint__": "2296798" }, "method_name": "balance", - "timestamp": { "__bigint__": "1729714519747695193" } + "timestamp": { "__bigint__": "1730239601064518819" } }, { - "instructions": { "__bigint__": "3635289" }, + "instructions": { "__bigint__": "3645736" }, "method_name": "account", - "timestamp": { "__bigint__": "1729714521691249148" } + "timestamp": { "__bigint__": "1730239603272721619" } }, { - "instructions": { "__bigint__": "2217840" }, + "instructions": { "__bigint__": "2221503" }, "method_name": "balance", - "timestamp": { "__bigint__": "1729714523840593552" } + "timestamp": { "__bigint__": "1730239605284538170" } }, { - "instructions": { "__bigint__": "3613420" }, + "instructions": { "__bigint__": "3623057" }, "method_name": "account", - "timestamp": { "__bigint__": "1729714525750420766" } + "timestamp": { "__bigint__": "1730239607489939576" } }, { - "instructions": { "__bigint__": "1653154" }, + "instructions": { "__bigint__": "1660399" }, "method_name": "accounts", - "timestamp": { "__bigint__": "1729714527857554646" } + "timestamp": { "__bigint__": "1730239609457333896" } }, { - "instructions": { "__bigint__": "3562571" }, + "instructions": { "__bigint__": "3569252" }, "method_name": "transfer", - "timestamp": { "__bigint__": "1729714529874095831" } + "timestamp": { "__bigint__": "1730239611438819915" } }, { - "instructions": { "__bigint__": "2213914" }, + "instructions": { "__bigint__": "2219641" }, "method_name": "balance", - "timestamp": { "__bigint__": "1729714531945517721" } + "timestamp": { "__bigint__": "1730239613622809945" } }, { - "instructions": { "__bigint__": "3605228" }, + "instructions": { "__bigint__": "3616597" }, "method_name": "account", - "timestamp": { "__bigint__": "1729714533952535454" } + "timestamp": { "__bigint__": "1730239615725436805" } }, { - "instructions": { "__bigint__": "2211079" }, + "instructions": { "__bigint__": "2211639" }, "method_name": "balance", - "timestamp": { "__bigint__": "1729714536032707509" } + "timestamp": { "__bigint__": "1730239617756057065" } }, { - "instructions": { "__bigint__": "3609636" }, + "instructions": { "__bigint__": "3616623" }, "method_name": "account", - "timestamp": { "__bigint__": "1729714538024298815" } + "timestamp": { "__bigint__": "1730239619655820367" } }, { - "instructions": { "__bigint__": "1651452" }, + "instructions": { "__bigint__": "1651930" }, "method_name": "accounts", - "timestamp": { "__bigint__": "1729714540130779019" } + "timestamp": { "__bigint__": "1730239621895560662" } }, { - "instructions": { "__bigint__": "1622561" }, + "instructions": { "__bigint__": "1625345" }, "method_name": "trap", - "timestamp": { "__bigint__": "1729714542106354081" } + "timestamp": { "__bigint__": "1730239623796764167" } }, { - "instructions": { "__bigint__": "2655331" }, + "instructions": { "__bigint__": "2648051" }, "method_name": "sendNotification", - "timestamp": { "__bigint__": "1729714544160196111" } + "timestamp": { "__bigint__": "1730239626019512599" } } ] } @@ -78,14 +78,14 @@ "version": "0.25.0", "benchmarks": [ { - "instructions": { "__bigint__": "2157380" }, + "instructions": { "__bigint__": "2165032" }, "method_name": "transfer", - "timestamp": { "__bigint__": "1729714529874095831" } + "timestamp": { "__bigint__": "1730239611438819915" } }, { - "instructions": { "__bigint__": "1383243" }, + "instructions": { "__bigint__": "1387431" }, "method_name": "receiveNotification", - "timestamp": { "__bigint__": "1729714544160196111" } + "timestamp": { "__bigint__": "1730239626019512599" } } ] } diff --git a/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/benchmarks.md index 078e1bd61a..827a245740 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/benchmarks.md +++ b/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/benchmarks.md @@ -4,42 +4,46 @@ | Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | | --- | ---------------- | ------------ | --------- | ------------- | ----------------- | -| 0 | balance | 2_296_025 | 1_508_410 | $0.0000020162 | $2.0162 | -| 1 | account | 3_635_289 | 2_044_115 | $0.0000027322 | $2.7322 | -| 2 | balance | 2_217_840 | 1_477_136 | $0.0000019744 | $1.9744 | -| 3 | account | 3_613_420 | 2_035_368 | $0.0000027205 | $2.7205 | -| 4 | accounts | 1_653_154 | 1_251_261 | $0.0000016724 | $1.6724 | -| 5 | transfer | 3_562_571 | 2_015_028 | $0.0000026933 | $2.6933 | -| 6 | balance | 2_213_914 | 1_475_565 | $0.0000019723 | $1.9723 | -| 7 | account | 3_605_228 | 2_032_091 | $0.0000027161 | $2.7161 | -| 8 | balance | 2_211_079 | 1_474_431 | $0.0000019707 | $1.9707 | -| 9 | account | 3_609_636 | 2_033_854 | $0.0000027185 | $2.7185 | -| 10 | accounts | 1_651_452 | 1_250_580 | $0.0000016715 | $1.6715 | -| 11 | trap | 1_622_561 | 1_239_024 | $0.0000016561 | $1.6561 | -| 12 | sendNotification | 2_655_331 | 1_652_132 | $0.0000022083 | $2.2083 | +| 0 | balance | 2_296_798 | 1_508_719 | $0.0000020061 | $2.00 | +| 1 | account | 3_645_736 | 2_048_294 | $0.0000027236 | $2.72 | +| 2 | balance | 2_221_503 | 1_478_601 | $0.0000019661 | $1.96 | +| 3 | account | 3_623_057 | 2_039_222 | $0.0000027115 | $2.71 | +| 4 | accounts | 1_660_399 | 1_254_159 | $0.0000016676 | $1.66 | +| 5 | transfer | 3_569_252 | 2_017_700 | $0.0000026829 | $2.68 | +| 6 | balance | 2_219_641 | 1_477_856 | $0.0000019651 | $1.96 | +| 7 | account | 3_616_597 | 2_036_638 | $0.0000027081 | $2.70 | +| 8 | balance | 2_211_639 | 1_474_655 | $0.0000019608 | $1.96 | +| 9 | account | 3_616_623 | 2_036_649 | $0.0000027081 | $2.70 | +| 10 | accounts | 1_651_930 | 1_250_772 | $0.0000016631 | $1.66 | +| 11 | trap | 1_625_345 | 1_240_138 | $0.0000016490 | $1.64 | +| 12 | sendNotification | 2_648_051 | 1_649_220 | $0.0000021929 | $2.19 | ## Baseline benchmarks Azle version: 0.25.0 +No benchmarks reported + # Benchmarks for canister2 ## Current benchmarks Azle version: 0.25.0 | Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | | --- | ------------------- | ------------ | --------- | ------------- | ----------------- | -| 0 | transfer | 2_157_380 | 1_452_952 | $0.0000019420 | $1.9420 | -| 1 | receiveNotification | 1_383_243 | 1_143_297 | $0.0000015281 | $1.5281 | +| 0 | transfer | 2_165_032 | 1_456_012 | $0.0000019360 | $1.93 | +| 1 | receiveNotification | 1_387_431 | 1_144_972 | $0.0000015224 | $1.52 | ## Baseline benchmarks Azle version: 0.25.0 +No benchmarks reported + --- **Note on calculations:** -- Cycles are calculated using the formula: base_fee + (per_instruction_fee _ number_of_instructions) + (additional_fee_per_billion _ floor(number_of_instructions / 1_billion)) -- Base fee: 590,000 cycles -- Per instruction fee: 0.4 cycles -- Additional fee: 400,000,000 cycles per billion instructions -- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.33661 (as of December 18, 2023) +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) 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). For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package-lock.json index 454fc41264..d871fbb5a7 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/cross_canister_calls/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/cross_canister_calls": { + "name": "cross_canister_calls_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/cycles/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/cycles/benchmarks.json new file mode 100644 index 0000000000..63bcebe779 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/cycles/benchmarks.json @@ -0,0 +1,43 @@ +{ + "cycles": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1522184" }, + "method_name": "receiveCycles", + "timestamp": { "__bigint__": "1730239605725730109" } + }, + { + "instructions": { "__bigint__": "1515199" }, + "method_name": "receiveCycles", + "timestamp": { "__bigint__": "1730239607960305638" } + }, + { + "instructions": { "__bigint__": "1516303" }, + "method_name": "receiveCycles", + "timestamp": { "__bigint__": "1730239609885933516" } + } + ] + } + }, + "intermediary": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1731080" }, + "method_name": "sendCycles", + "timestamp": { "__bigint__": "1730239607960305638" } + }, + { + "instructions": { "__bigint__": "1990804" }, + "method_name": "sendCyclesNotify", + "timestamp": { "__bigint__": "1730239609885933516" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/cycles/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/cycles/benchmarks.md new file mode 100644 index 0000000000..816356d7fb --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/cycles/benchmarks.md @@ -0,0 +1,39 @@ +# Benchmarks for cycles + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | receiveCycles | 1_522_184 | 1_198_873 | $0.0000015941 | $1.59 | +| 1 | receiveCycles | 1_515_199 | 1_196_079 | $0.0000015904 | $1.59 | +| 2 | receiveCycles | 1_516_303 | 1_196_521 | $0.0000015910 | $1.59 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +# Benchmarks for intermediary + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ---------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | sendCycles | 1_731_080 | 1_282_432 | $0.0000017052 | $1.70 | +| 1 | sendCyclesNotify | 1_990_804 | 1_386_321 | $0.0000018433 | $1.84 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/cycles/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/cycles/package-lock.json index 2e584c9209..4e606e222e 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/cycles/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/cycles/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/cycles": { + "name": "cycles_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/date/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/date/benchmarks.json new file mode 100644 index 0000000000..aed3da8538 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/date/benchmarks.json @@ -0,0 +1,6 @@ +{ + "date": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/date/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/date/benchmarks.md new file mode 100644 index 0000000000..147974e8c0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/date/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for date + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/date/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/date/package-lock.json index 6a1a754847..6be4fec270 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/date/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/date/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/date": { + "name": "date_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/benchmarks.json new file mode 100644 index 0000000000..632409b296 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/benchmarks.json @@ -0,0 +1,45 @@ +{ + "ethereum_json_rpc": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1122930559" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239590470476007" } + }, + { + "instructions": { "__bigint__": "27934683" }, + "method_name": "ethGetBalance", + "timestamp": { "__bigint__": "1730239596162759400" } + }, + { + "instructions": { "__bigint__": "27892237" }, + "method_name": "ethGetBalance", + "timestamp": { "__bigint__": "1730239598330458976" } + }, + { + "instructions": { "__bigint__": "27891615" }, + "method_name": "ethGetBalance", + "timestamp": { "__bigint__": "1730239600243119514" } + }, + { + "instructions": { "__bigint__": "26856890" }, + "method_name": "ethGetBlockByNumber", + "timestamp": { "__bigint__": "1730239602673946810" } + }, + { + "instructions": { "__bigint__": "26823479" }, + "method_name": "ethGetBlockByNumber", + "timestamp": { "__bigint__": "1730239604408715371" } + }, + { + "instructions": { "__bigint__": "26829163" }, + "method_name": "ethGetBlockByNumber", + "timestamp": { "__bigint__": "1730239606438107933" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/benchmarks.md new file mode 100644 index 0000000000..f248e44abf --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/ethereum_json_rpc/benchmarks.md @@ -0,0 +1,30 @@ +# Benchmarks for ethereum_json_rpc + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | ------------- | ----------- | ------------- | ----------------- | +| 0 | init | 1_122_930_559 | 849_762_223 | $0.0011299033 | $1_129.90 | +| 1 | ethGetBalance | 27_934_683 | 11_763_873 | $0.0000156421 | $15.64 | +| 2 | ethGetBalance | 27_892_237 | 11_746_894 | $0.0000156195 | $15.61 | +| 3 | ethGetBalance | 27_891_615 | 11_746_646 | $0.0000156192 | $15.61 | +| 4 | ethGetBlockByNumber | 26_856_890 | 11_332_756 | $0.0000150688 | $15.06 | +| 5 | ethGetBlockByNumber | 26_823_479 | 11_319_391 | $0.0000150511 | $15.05 | +| 6 | ethGetBlockByNumber | 26_829_163 | 11_321_665 | $0.0000150541 | $15.05 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/func_types/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/func_types/benchmarks.json new file mode 100644 index 0000000000..be4686e642 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/func_types/benchmarks.json @@ -0,0 +1,20 @@ +{ + "func_types": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1042137033" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239595119285049" } + }, + { + "instructions": { "__bigint__": "1658410" }, + "method_name": "getNotifierFromNotifiersCanister", + "timestamp": { "__bigint__": "1730239606228062973" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/func_types/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/func_types/benchmarks.md new file mode 100644 index 0000000000..c33ac4ea9a --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/func_types/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for func_types + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------------------------- | ------------- | ----------- | ------------- | ----------------- | +| 0 | init | 1_042_137_033 | 817_444_813 | $0.0010869318 | $1_086.93 | +| 1 | getNotifierFromNotifiersCanister | 1_658_410 | 1_253_364 | $0.0000016666 | $1.66 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/func_types/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/func_types/package-lock.json index e6307e51d5..e383997910 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/func_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/func_types/package-lock.json @@ -34,7 +34,7 @@ "name": "func_types_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -8849,7 +8849,7 @@ "version": "file:../../functional_syntax/func_types", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/heartbeat/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/heartbeat/benchmarks.json new file mode 100644 index 0000000000..4c63dea8f8 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/heartbeat/benchmarks.json @@ -0,0 +1,2098 @@ +{ + "heartbeat_async": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1111383" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239586962465333" } + }, + { + "instructions": { "__bigint__": "1051651" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239586998145324" } + }, + { + "instructions": { "__bigint__": "1048179" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239587051327824" } + }, + { + "instructions": { "__bigint__": "1052592" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239587338515835" } + }, + { + "instructions": { "__bigint__": "1042355" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239589628361644" } + }, + { + "instructions": { "__bigint__": "1047640" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239589651031296" } + }, + { + "instructions": { "__bigint__": "1046474" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239589697102163" } + }, + { + "instructions": { "__bigint__": "1045735" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239589924273136" } + }, + { + "instructions": { "__bigint__": "1043760" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239589970537318" } + }, + { + "instructions": { "__bigint__": "1045392" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239589994852043" } + }, + { + "instructions": { "__bigint__": "1047652" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239590242151944" } + }, + { + "instructions": { "__bigint__": "1051949" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239590263723628" } + }, + { + "instructions": { "__bigint__": "1045742" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239590310709141" } + }, + { + "instructions": { "__bigint__": "1047817" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239590535288756" } + }, + { + "instructions": { "__bigint__": "1046729" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239590577414884" } + }, + { + "instructions": { "__bigint__": "1049077" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239590597930528" } + }, + { + "instructions": { "__bigint__": "1038331" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239590853636117" } + }, + { + "instructions": { "__bigint__": "1048977" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239590885250560" } + }, + { + "instructions": { "__bigint__": "1044420" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239590937034118" } + }, + { + "instructions": { "__bigint__": "1047655" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239590961529830" } + }, + { + "instructions": { "__bigint__": "1045764" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239591212167663" } + }, + { + "instructions": { "__bigint__": "1047751" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239591234538029" } + }, + { + "instructions": { "__bigint__": "1049324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239591486609196" } + }, + { + "instructions": { "__bigint__": "1047832" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239591510582288" } + }, + { + "instructions": { "__bigint__": "1044517" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239591559574716" } + }, + { + "instructions": { "__bigint__": "1044497" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239591796652981" } + }, + { + "instructions": { "__bigint__": "1047210" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239591861465451" } + }, + { + "instructions": { "__bigint__": "1043068" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239591885641532" } + }, + { + "instructions": { "__bigint__": "1056546" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239592123700062" } + }, + { + "instructions": { "__bigint__": "1029421" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239592174167670" } + }, + { + "instructions": { "__bigint__": "1049284" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239592210043081" } + }, + { + "instructions": { "__bigint__": "1037247" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594701574710" } + }, + { + "instructions": { "__bigint__": "1046569" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594723256812" } + }, + { + "instructions": { "__bigint__": "1037831" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594765900265" } + }, + { + "instructions": { "__bigint__": "1049823" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594789764597" } + }, + { + "instructions": { "__bigint__": "1042142" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594833084774" } + }, + { + "instructions": { "__bigint__": "1051843" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595058623783" } + }, + { + "instructions": { "__bigint__": "1039715" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595102881258" } + }, + { + "instructions": { "__bigint__": "1048626" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595126731563" } + }, + { + "instructions": { "__bigint__": "1044491" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595388528388" } + }, + { + "instructions": { "__bigint__": "1046402" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595418600333" } + }, + { + "instructions": { "__bigint__": "1041205" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595476574295" } + }, + { + "instructions": { "__bigint__": "1049769" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595712745341" } + }, + { + "instructions": { "__bigint__": "1040931" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595770681822" } + }, + { + "instructions": { "__bigint__": "1047392" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595799486370" } + }, + { + "instructions": { "__bigint__": "1046681" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596058426878" } + }, + { + "instructions": { "__bigint__": "1042574" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596091426036" } + }, + { + "instructions": { "__bigint__": "1041170" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596350158672" } + }, + { + "instructions": { "__bigint__": "1043425" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596375743812" } + }, + { + "instructions": { "__bigint__": "1046052" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596436568587" } + }, + { + "instructions": { "__bigint__": "1045862" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596672365464" } + }, + { + "instructions": { "__bigint__": "1043156" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596727713503" } + }, + { + "instructions": { "__bigint__": "1048350" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596753913719" } + }, + { + "instructions": { "__bigint__": "1042501" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597027648098" } + }, + { + "instructions": { "__bigint__": "1048668" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597059492929" } + }, + { + "instructions": { "__bigint__": "1045530" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597112838975" } + }, + { + "instructions": { "__bigint__": "1043805" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597137479047" } + }, + { + "instructions": { "__bigint__": "1044744" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597397967753" } + }, + { + "instructions": { "__bigint__": "1048074" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597427692205" } + }, + { + "instructions": { "__bigint__": "1043081" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597495984216" } + }, + { + "instructions": { "__bigint__": "1043433" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597741125328" } + }, + { + "instructions": { "__bigint__": "1045393" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597818781530" } + }, + { + "instructions": { "__bigint__": "1047961" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597849075678" } + }, + { + "instructions": { "__bigint__": "1042590" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598114669496" } + }, + { + "instructions": { "__bigint__": "1044093" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598147538097" } + }, + { + "instructions": { "__bigint__": "1042704" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598210747913" } + }, + { + "instructions": { "__bigint__": "1049600" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598240196206" } + }, + { + "instructions": { "__bigint__": "1043698" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598501602839" } + }, + { + "instructions": { "__bigint__": "1044698" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598530921109" } + }, + { + "instructions": { "__bigint__": "1046656" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598620519123" } + }, + { + "instructions": { "__bigint__": "1047347" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599132241933" } + }, + { + "instructions": { "__bigint__": "1042627" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599203945532" } + }, + { + "instructions": { "__bigint__": "1041497" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599231009520" } + }, + { + "instructions": { "__bigint__": "1040808" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599279604625" } + }, + { + "instructions": { "__bigint__": "1043930" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599509050798" } + }, + { + "instructions": { "__bigint__": "1045017" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599569195163" } + }, + { + "instructions": { "__bigint__": "1045551" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599594750809" } + }, + { + "instructions": { "__bigint__": "1039966" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599846709287" } + }, + { + "instructions": { "__bigint__": "1044843" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599870354154" } + }, + { + "instructions": { "__bigint__": "1038583" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599924506949" } + }, + { + "instructions": { "__bigint__": "1039426" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600153560392" } + }, + { + "instructions": { "__bigint__": "1043941" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600197415790" } + }, + { + "instructions": { "__bigint__": "1042467" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600223446863" } + }, + { + "instructions": { "__bigint__": "1047172" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600476939778" } + }, + { + "instructions": { "__bigint__": "1045039" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600501733862" } + }, + { + "instructions": { "__bigint__": "1042704" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600550149800" } + }, + { + "instructions": { "__bigint__": "1047303" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600778001209" } + }, + { + "instructions": { "__bigint__": "1041504" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600817262390" } + }, + { + "instructions": { "__bigint__": "1042844" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600836599898" } + }, + { + "instructions": { "__bigint__": "1042131" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601078345763" } + }, + { + "instructions": { "__bigint__": "1045079" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601098008500" } + }, + { + "instructions": { "__bigint__": "1043160" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601138725890" } + }, + { + "instructions": { "__bigint__": "1044205" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601157396628" } + }, + { + "instructions": { "__bigint__": "1041402" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601398268767" } + }, + { + "instructions": { "__bigint__": "1043089" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601415609086" } + }, + { + "instructions": { "__bigint__": "1040869" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601658456104" } + }, + { + "instructions": { "__bigint__": "1041641" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601677522511" } + }, + { + "instructions": { "__bigint__": "1044784" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601717152729" } + }, + { + "instructions": { "__bigint__": "1045440" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601940631416" } + }, + { + "instructions": { "__bigint__": "1041876" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601977847509" } + }, + { + "instructions": { "__bigint__": "1047197" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601996537485" } + }, + { + "instructions": { "__bigint__": "1039681" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602236697779" } + }, + { + "instructions": { "__bigint__": "1045909" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602259184848" } + }, + { + "instructions": { "__bigint__": "1040703" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602501954696" } + }, + { + "instructions": { "__bigint__": "1042550" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602521720623" } + }, + { + "instructions": { "__bigint__": "1045844" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602558682892" } + }, + { + "instructions": { "__bigint__": "1046351" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602780644093" } + }, + { + "instructions": { "__bigint__": "1043809" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602822026470" } + }, + { + "instructions": { "__bigint__": "1044184" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602842841332" } + }, + { + "instructions": { "__bigint__": "1040394" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603086813696" } + }, + { + "instructions": { "__bigint__": "1046121" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603106497055" } + }, + { + "instructions": { "__bigint__": "1042212" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603350314372" } + }, + { + "instructions": { "__bigint__": "1042354" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603373091864" } + }, + { + "instructions": { "__bigint__": "1043706" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603414006100" } + }, + { + "instructions": { "__bigint__": "1048964" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603436765869" } + }, + { + "instructions": { "__bigint__": "1041432" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603478680366" } + }, + { + "instructions": { "__bigint__": "1044657" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603702900557" } + }, + { + "instructions": { "__bigint__": "1042150" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603745485051" } + }, + { + "instructions": { "__bigint__": "1045761" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603766101500" } + }, + { + "instructions": { "__bigint__": "1043939" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604008762398" } + }, + { + "instructions": { "__bigint__": "1044526" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604029004651" } + }, + { + "instructions": { "__bigint__": "1042069" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604072893803" } + }, + { + "instructions": { "__bigint__": "1043168" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604092766040" } + }, + { + "instructions": { "__bigint__": "1040947" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604336243066" } + }, + { + "instructions": { "__bigint__": "1042157" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604363016884" } + }, + { + "instructions": { "__bigint__": "1041395" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604613113025" } + }, + { + "instructions": { "__bigint__": "1044141" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604633356501" } + }, + { + "instructions": { "__bigint__": "1039832" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604671027383" } + }, + { + "instructions": { "__bigint__": "1040036" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604894710974" } + }, + { + "instructions": { "__bigint__": "1041067" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604935021325" } + }, + { + "instructions": { "__bigint__": "1042680" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604955215780" } + }, + { + "instructions": { "__bigint__": "1041569" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605197746233" } + }, + { + "instructions": { "__bigint__": "1046679" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605218895649" } + }, + { + "instructions": { "__bigint__": "1043247" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605462655502" } + }, + { + "instructions": { "__bigint__": "1046525" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605482319218" } + }, + { + "instructions": { "__bigint__": "1038082" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605524587872" } + }, + { + "instructions": { "__bigint__": "1039967" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605544079149" } + }, + { + "instructions": { "__bigint__": "1041461" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605787363323" } + }, + { + "instructions": { "__bigint__": "1044839" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605808618111" } + }, + { + "instructions": { "__bigint__": "1041175" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605851370948" } + }, + { + "instructions": { "__bigint__": "1045481" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606074710222" } + }, + { + "instructions": { "__bigint__": "1040104" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606116781604" } + }, + { + "instructions": { "__bigint__": "1045495" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606136037759" } + }, + { + "instructions": { "__bigint__": "1037698" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606179279632" } + }, + { + "instructions": { "__bigint__": "1040933" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606197922594" } + }, + { + "instructions": { "__bigint__": "1038522" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606440888994" } + }, + { + "instructions": { "__bigint__": "1046986" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606460869670" } + }, + { + "instructions": { "__bigint__": "1044194" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606711474289" } + }, + { + "instructions": { "__bigint__": "1039845" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606733562230" } + }, + { + "instructions": { "__bigint__": "1039289" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606775272207" } + }, + { + "instructions": { "__bigint__": "1044377" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606797723290" } + }, + { + "instructions": { "__bigint__": "1037178" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606840474374" } + }, + { + "instructions": { "__bigint__": "1035181" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607065549136" } + }, + { + "instructions": { "__bigint__": "1036807" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607105665512" } + }, + { + "instructions": { "__bigint__": "1045947" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607125341340" } + }, + { + "instructions": { "__bigint__": "1038082" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607366855049" } + }, + { + "instructions": { "__bigint__": "1041429" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607388866974" } + }, + { + "instructions": { "__bigint__": "1040305" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607433111277" } + }, + { + "instructions": { "__bigint__": "1041429" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607451686037" } + }, + { + "instructions": { "__bigint__": "1041536" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607697815573" } + }, + { + "instructions": { "__bigint__": "1039573" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607719604423" } + }, + { + "instructions": { "__bigint__": "1039262" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607758232558" } + }, + { + "instructions": { "__bigint__": "1043880" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607981835467" } + }, + { + "instructions": { "__bigint__": "1037049" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608022769214" } + }, + { + "instructions": { "__bigint__": "1039819" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608043801590" } + }, + { + "instructions": { "__bigint__": "1040249" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608291898393" } + }, + { + "instructions": { "__bigint__": "1044384" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608313944400" } + }, + { + "instructions": { "__bigint__": "1044462" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608559252100" } + }, + { + "instructions": { "__bigint__": "1041920" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608583930731" } + }, + { + "instructions": { "__bigint__": "1042931" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608647798193" } + }, + { + "instructions": { "__bigint__": "1041258" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608878671546" } + }, + { + "instructions": { "__bigint__": "1042421" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608933277066" } + }, + { + "instructions": { "__bigint__": "1044116" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608966462419" } + }, + { + "instructions": { "__bigint__": "1036904" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609225916711" } + }, + { + "instructions": { "__bigint__": "1041446" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609254285895" } + }, + { + "instructions": { "__bigint__": "1041085" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609512688587" } + }, + { + "instructions": { "__bigint__": "1040135" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609539434182" } + }, + { + "instructions": { "__bigint__": "1041111" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609601415186" } + }, + { + "instructions": { "__bigint__": "1044503" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609836859453" } + }, + { + "instructions": { "__bigint__": "1042420" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609902280901" } + }, + { + "instructions": { "__bigint__": "1040825" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609953689001" } + } + ] + } + }, + "heartbeat_sync": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "166216" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239591885641532" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239592123700062" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239592148556467" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239592174167670" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239592210043081" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239593253489210" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594701574710" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594723256812" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594744793428" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594765900265" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594789764597" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594811115415" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239594833084774" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595058623783" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595080564300" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595102881258" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595126731563" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595354357766" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595388528388" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595418600333" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595446231775" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595476574295" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595712745341" } + }, + { + "instructions": { "__bigint__": "155635" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595743921758" } + }, + { + "instructions": { "__bigint__": "155644" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595770681822" } + }, + { + "instructions": { "__bigint__": "155625" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239595799486370" } + }, + { + "instructions": { "__bigint__": "155606" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596032081528" } + }, + { + "instructions": { "__bigint__": "155788" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596058426878" } + }, + { + "instructions": { "__bigint__": "155843" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596091426036" } + }, + { + "instructions": { "__bigint__": "155730" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596119468777" } + }, + { + "instructions": { "__bigint__": "155908" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596350158672" } + }, + { + "instructions": { "__bigint__": "155834" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596375743812" } + }, + { + "instructions": { "__bigint__": "156014" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596405408573" } + }, + { + "instructions": { "__bigint__": "155895" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596436568587" } + }, + { + "instructions": { "__bigint__": "156105" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596672365464" } + }, + { + "instructions": { "__bigint__": "155986" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596700970072" } + }, + { + "instructions": { "__bigint__": "156207" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596727713503" } + }, + { + "instructions": { "__bigint__": "156097" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596753913719" } + }, + { + "instructions": { "__bigint__": "156308" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239596983171465" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597027648098" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597059492929" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597084635285" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597112838975" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597137479047" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597166361941" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597397967753" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597427692205" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597464095641" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597495984216" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597741125328" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597776468898" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597818781530" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239597849075678" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598080936147" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598114669496" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598147538097" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598181941803" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598210747913" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598240196206" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598472553118" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598501602839" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598530921109" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598576224685" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239598620519123" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599132241933" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599158155591" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599203945532" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599231009520" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599254505382" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599279604625" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599509050798" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599544120111" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599569195163" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599594750809" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599822333684" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599846709287" } + }, + { + "instructions": { "__bigint__": "156340" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599870354154" } + }, + { + "instructions": { "__bigint__": "156261" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599896604375" } + }, + { + "instructions": { "__bigint__": "156349" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239599924506949" } + }, + { + "instructions": { "__bigint__": "156288" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600153560392" } + }, + { + "instructions": { "__bigint__": "156458" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600175422064" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600197415790" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600223446863" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600453615857" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600476939778" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600501733862" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600524707426" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600550149800" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600778001209" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600798508164" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600817262390" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239600836599898" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601059659221" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601078345763" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601098008500" } + }, + { + "instructions": { "__bigint__": "156456" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601117648217" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601138725890" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601157396628" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601379578137" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601398268767" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601415609086" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601434594103" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601658456104" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601677522511" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601698197506" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601717152729" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601940631416" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601959601302" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601977847509" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239601996537485" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602219618007" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602236697779" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602259184848" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602277318515" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602501954696" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602521720623" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602540425222" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602558682892" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602780644093" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602800014660" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602822026470" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239602842841332" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603066533234" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603086813696" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603106497055" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603126433214" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603350314372" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603373091864" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603394849525" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603414006100" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603436765869" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603458183072" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603478680366" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603702900557" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603724571725" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603745485051" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603766101500" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239603988743223" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604008762398" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604029004651" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604052526661" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604072893803" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604092766040" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604318103098" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604336243066" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604363016884" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604385368761" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604613113025" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604633356501" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604651916831" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604671027383" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604894710974" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604915407370" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604935021325" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239604955215780" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605177939214" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605197746233" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605218895649" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605238612382" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605462655502" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605482319218" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605502778166" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605524587872" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605544079149" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605562910552" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605787363323" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605808618111" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605829030382" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239605851370948" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606074710222" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606095384813" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606116781604" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606136037759" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606160064921" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606179279632" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606197922594" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606420889512" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606440888994" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606460869670" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606483578393" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606711474289" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606733562230" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606754734840" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606775272207" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606797723290" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606818772862" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239606840474374" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607065549136" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607085292202" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607105665512" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607125341340" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607348586276" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607366855049" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607388866974" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607409752739" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607433111277" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607451686037" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607472751788" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607697815573" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607719604423" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607738713613" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607758232558" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239607981835467" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608002038148" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608022769214" } + }, + { + "instructions": { "__bigint__": "156611" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608043801590" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608268708598" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608291898393" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608313944400" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608335063943" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608559252100" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608583930731" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608619956882" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608647798193" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608878671546" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608906970931" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608933277066" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239608966462419" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609199338952" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609225916711" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609254285895" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609279518321" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609512688587" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609539434182" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609576615810" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609601415186" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609836859453" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609863301085" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609902280901" } + }, + { + "instructions": { "__bigint__": "156586" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609953689001" } + }, + { + "instructions": { "__bigint__": "156557" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239609984960813" } + }, + { + "instructions": { "__bigint__": "156324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239610013755222" } + }, + { + "instructions": { "__bigint__": "156613" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239610247243421" } + }, + { + "instructions": { "__bigint__": "156431" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239610275346891" } + }, + { + "instructions": { "__bigint__": "156774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239610301870915" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/heartbeat/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/heartbeat/benchmarks.md new file mode 100644 index 0000000000..e443b3da38 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/heartbeat/benchmarks.md @@ -0,0 +1,450 @@ +# Benchmarks for heartbeat_async + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | heartbeat | 1_111_383 | 1_034_553 | $0.0000013756 | $1.37 | +| 1 | heartbeat | 1_051_651 | 1_010_660 | $0.0000013438 | $1.34 | +| 2 | heartbeat | 1_048_179 | 1_009_271 | $0.0000013420 | $1.34 | +| 3 | heartbeat | 1_052_592 | 1_011_036 | $0.0000013443 | $1.34 | +| 4 | heartbeat | 1_042_355 | 1_006_942 | $0.0000013389 | $1.33 | +| 5 | heartbeat | 1_047_640 | 1_009_056 | $0.0000013417 | $1.34 | +| 6 | heartbeat | 1_046_474 | 1_008_589 | $0.0000013411 | $1.34 | +| 7 | heartbeat | 1_045_735 | 1_008_294 | $0.0000013407 | $1.34 | +| 8 | heartbeat | 1_043_760 | 1_007_504 | $0.0000013396 | $1.33 | +| 9 | heartbeat | 1_045_392 | 1_008_156 | $0.0000013405 | $1.34 | +| 10 | heartbeat | 1_047_652 | 1_009_060 | $0.0000013417 | $1.34 | +| 11 | heartbeat | 1_051_949 | 1_010_779 | $0.0000013440 | $1.34 | +| 12 | heartbeat | 1_045_742 | 1_008_296 | $0.0000013407 | $1.34 | +| 13 | heartbeat | 1_047_817 | 1_009_126 | $0.0000013418 | $1.34 | +| 14 | heartbeat | 1_046_729 | 1_008_691 | $0.0000013412 | $1.34 | +| 15 | heartbeat | 1_049_077 | 1_009_630 | $0.0000013425 | $1.34 | +| 16 | heartbeat | 1_038_331 | 1_005_332 | $0.0000013368 | $1.33 | +| 17 | heartbeat | 1_048_977 | 1_009_590 | $0.0000013424 | $1.34 | +| 18 | heartbeat | 1_044_420 | 1_007_768 | $0.0000013400 | $1.33 | +| 19 | heartbeat | 1_047_655 | 1_009_062 | $0.0000013417 | $1.34 | +| 20 | heartbeat | 1_045_764 | 1_008_305 | $0.0000013407 | $1.34 | +| 21 | heartbeat | 1_047_751 | 1_009_100 | $0.0000013418 | $1.34 | +| 22 | heartbeat | 1_049_324 | 1_009_729 | $0.0000013426 | $1.34 | +| 23 | heartbeat | 1_047_832 | 1_009_132 | $0.0000013418 | $1.34 | +| 24 | heartbeat | 1_044_517 | 1_007_806 | $0.0000013400 | $1.34 | +| 25 | heartbeat | 1_044_497 | 1_007_798 | $0.0000013400 | $1.34 | +| 26 | heartbeat | 1_047_210 | 1_008_884 | $0.0000013415 | $1.34 | +| 27 | heartbeat | 1_043_068 | 1_007_227 | $0.0000013393 | $1.33 | +| 28 | heartbeat | 1_056_546 | 1_012_618 | $0.0000013464 | $1.34 | +| 29 | heartbeat | 1_029_421 | 1_001_768 | $0.0000013320 | $1.33 | +| 30 | heartbeat | 1_049_284 | 1_009_713 | $0.0000013426 | $1.34 | +| 31 | heartbeat | 1_037_247 | 1_004_898 | $0.0000013362 | $1.33 | +| 32 | heartbeat | 1_046_569 | 1_008_627 | $0.0000013411 | $1.34 | +| 33 | heartbeat | 1_037_831 | 1_005_132 | $0.0000013365 | $1.33 | +| 34 | heartbeat | 1_049_823 | 1_009_929 | $0.0000013429 | $1.34 | +| 35 | heartbeat | 1_042_142 | 1_006_856 | $0.0000013388 | $1.33 | +| 36 | heartbeat | 1_051_843 | 1_010_737 | $0.0000013439 | $1.34 | +| 37 | heartbeat | 1_039_715 | 1_005_886 | $0.0000013375 | $1.33 | +| 38 | heartbeat | 1_048_626 | 1_009_450 | $0.0000013422 | $1.34 | +| 39 | heartbeat | 1_044_491 | 1_007_796 | $0.0000013400 | $1.34 | +| 40 | heartbeat | 1_046_402 | 1_008_560 | $0.0000013411 | $1.34 | +| 41 | heartbeat | 1_041_205 | 1_006_482 | $0.0000013383 | $1.33 | +| 42 | heartbeat | 1_049_769 | 1_009_907 | $0.0000013428 | $1.34 | +| 43 | heartbeat | 1_040_931 | 1_006_372 | $0.0000013381 | $1.33 | +| 44 | heartbeat | 1_047_392 | 1_008_956 | $0.0000013416 | $1.34 | +| 45 | heartbeat | 1_046_681 | 1_008_672 | $0.0000013412 | $1.34 | +| 46 | heartbeat | 1_042_574 | 1_007_029 | $0.0000013390 | $1.33 | +| 47 | heartbeat | 1_041_170 | 1_006_468 | $0.0000013383 | $1.33 | +| 48 | heartbeat | 1_043_425 | 1_007_370 | $0.0000013395 | $1.33 | +| 49 | heartbeat | 1_046_052 | 1_008_420 | $0.0000013409 | $1.34 | +| 50 | heartbeat | 1_045_862 | 1_008_344 | $0.0000013408 | $1.34 | +| 51 | heartbeat | 1_043_156 | 1_007_262 | $0.0000013393 | $1.33 | +| 52 | heartbeat | 1_048_350 | 1_009_340 | $0.0000013421 | $1.34 | +| 53 | heartbeat | 1_042_501 | 1_007_000 | $0.0000013390 | $1.33 | +| 54 | heartbeat | 1_048_668 | 1_009_467 | $0.0000013423 | $1.34 | +| 55 | heartbeat | 1_045_530 | 1_008_212 | $0.0000013406 | $1.34 | +| 56 | heartbeat | 1_043_805 | 1_007_522 | $0.0000013397 | $1.33 | +| 57 | heartbeat | 1_044_744 | 1_007_897 | $0.0000013402 | $1.34 | +| 58 | heartbeat | 1_048_074 | 1_009_229 | $0.0000013419 | $1.34 | +| 59 | heartbeat | 1_043_081 | 1_007_232 | $0.0000013393 | $1.33 | +| 60 | heartbeat | 1_043_433 | 1_007_373 | $0.0000013395 | $1.33 | +| 61 | heartbeat | 1_045_393 | 1_008_157 | $0.0000013405 | $1.34 | +| 62 | heartbeat | 1_047_961 | 1_009_184 | $0.0000013419 | $1.34 | +| 63 | heartbeat | 1_042_590 | 1_007_036 | $0.0000013390 | $1.33 | +| 64 | heartbeat | 1_044_093 | 1_007_637 | $0.0000013398 | $1.33 | +| 65 | heartbeat | 1_042_704 | 1_007_081 | $0.0000013391 | $1.33 | +| 66 | heartbeat | 1_049_600 | 1_009_840 | $0.0000013428 | $1.34 | +| 67 | heartbeat | 1_043_698 | 1_007_479 | $0.0000013396 | $1.33 | +| 68 | heartbeat | 1_044_698 | 1_007_879 | $0.0000013401 | $1.34 | +| 69 | heartbeat | 1_046_656 | 1_008_662 | $0.0000013412 | $1.34 | +| 70 | heartbeat | 1_047_347 | 1_008_938 | $0.0000013416 | $1.34 | +| 71 | heartbeat | 1_042_627 | 1_007_050 | $0.0000013390 | $1.33 | +| 72 | heartbeat | 1_041_497 | 1_006_598 | $0.0000013384 | $1.33 | +| 73 | heartbeat | 1_040_808 | 1_006_323 | $0.0000013381 | $1.33 | +| 74 | heartbeat | 1_043_930 | 1_007_572 | $0.0000013397 | $1.33 | +| 75 | heartbeat | 1_045_017 | 1_008_006 | $0.0000013403 | $1.34 | +| 76 | heartbeat | 1_045_551 | 1_008_220 | $0.0000013406 | $1.34 | +| 77 | heartbeat | 1_039_966 | 1_005_986 | $0.0000013376 | $1.33 | +| 78 | heartbeat | 1_044_843 | 1_007_937 | $0.0000013402 | $1.34 | +| 79 | heartbeat | 1_038_583 | 1_005_433 | $0.0000013369 | $1.33 | +| 80 | heartbeat | 1_039_426 | 1_005_770 | $0.0000013373 | $1.33 | +| 81 | heartbeat | 1_043_941 | 1_007_576 | $0.0000013397 | $1.33 | +| 82 | heartbeat | 1_042_467 | 1_006_986 | $0.0000013390 | $1.33 | +| 83 | heartbeat | 1_047_172 | 1_008_868 | $0.0000013415 | $1.34 | +| 84 | heartbeat | 1_045_039 | 1_008_015 | $0.0000013403 | $1.34 | +| 85 | heartbeat | 1_042_704 | 1_007_081 | $0.0000013391 | $1.33 | +| 86 | heartbeat | 1_047_303 | 1_008_921 | $0.0000013415 | $1.34 | +| 87 | heartbeat | 1_041_504 | 1_006_601 | $0.0000013384 | $1.33 | +| 88 | heartbeat | 1_042_844 | 1_007_137 | $0.0000013392 | $1.33 | +| 89 | heartbeat | 1_042_131 | 1_006_852 | $0.0000013388 | $1.33 | +| 90 | heartbeat | 1_045_079 | 1_008_031 | $0.0000013403 | $1.34 | +| 91 | heartbeat | 1_043_160 | 1_007_264 | $0.0000013393 | $1.33 | +| 92 | heartbeat | 1_044_205 | 1_007_682 | $0.0000013399 | $1.33 | +| 93 | heartbeat | 1_041_402 | 1_006_560 | $0.0000013384 | $1.33 | +| 94 | heartbeat | 1_043_089 | 1_007_235 | $0.0000013393 | $1.33 | +| 95 | heartbeat | 1_040_869 | 1_006_347 | $0.0000013381 | $1.33 | +| 96 | heartbeat | 1_041_641 | 1_006_656 | $0.0000013385 | $1.33 | +| 97 | heartbeat | 1_044_784 | 1_007_913 | $0.0000013402 | $1.34 | +| 98 | heartbeat | 1_045_440 | 1_008_176 | $0.0000013405 | $1.34 | +| 99 | heartbeat | 1_041_876 | 1_006_750 | $0.0000013386 | $1.33 | +| 100 | heartbeat | 1_047_197 | 1_008_878 | $0.0000013415 | $1.34 | +| 101 | heartbeat | 1_039_681 | 1_005_872 | $0.0000013375 | $1.33 | +| 102 | heartbeat | 1_045_909 | 1_008_363 | $0.0000013408 | $1.34 | +| 103 | heartbeat | 1_040_703 | 1_006_281 | $0.0000013380 | $1.33 | +| 104 | heartbeat | 1_042_550 | 1_007_020 | $0.0000013390 | $1.33 | +| 105 | heartbeat | 1_045_844 | 1_008_337 | $0.0000013408 | $1.34 | +| 106 | heartbeat | 1_046_351 | 1_008_540 | $0.0000013410 | $1.34 | +| 107 | heartbeat | 1_043_809 | 1_007_523 | $0.0000013397 | $1.33 | +| 108 | heartbeat | 1_044_184 | 1_007_673 | $0.0000013399 | $1.33 | +| 109 | heartbeat | 1_040_394 | 1_006_157 | $0.0000013379 | $1.33 | +| 110 | heartbeat | 1_046_121 | 1_008_448 | $0.0000013409 | $1.34 | +| 111 | heartbeat | 1_042_212 | 1_006_884 | $0.0000013388 | $1.33 | +| 112 | heartbeat | 1_042_354 | 1_006_941 | $0.0000013389 | $1.33 | +| 113 | heartbeat | 1_043_706 | 1_007_482 | $0.0000013396 | $1.33 | +| 114 | heartbeat | 1_048_964 | 1_009_585 | $0.0000013424 | $1.34 | +| 115 | heartbeat | 1_041_432 | 1_006_572 | $0.0000013384 | $1.33 | +| 116 | heartbeat | 1_044_657 | 1_007_862 | $0.0000013401 | $1.34 | +| 117 | heartbeat | 1_042_150 | 1_006_860 | $0.0000013388 | $1.33 | +| 118 | heartbeat | 1_045_761 | 1_008_304 | $0.0000013407 | $1.34 | +| 119 | heartbeat | 1_043_939 | 1_007_575 | $0.0000013397 | $1.33 | +| 120 | heartbeat | 1_044_526 | 1_007_810 | $0.0000013401 | $1.34 | +| 121 | heartbeat | 1_042_069 | 1_006_827 | $0.0000013387 | $1.33 | +| 122 | heartbeat | 1_043_168 | 1_007_267 | $0.0000013393 | $1.33 | +| 123 | heartbeat | 1_040_947 | 1_006_378 | $0.0000013382 | $1.33 | +| 124 | heartbeat | 1_042_157 | 1_006_862 | $0.0000013388 | $1.33 | +| 125 | heartbeat | 1_041_395 | 1_006_558 | $0.0000013384 | $1.33 | +| 126 | heartbeat | 1_044_141 | 1_007_656 | $0.0000013398 | $1.33 | +| 127 | heartbeat | 1_039_832 | 1_005_932 | $0.0000013376 | $1.33 | +| 128 | heartbeat | 1_040_036 | 1_006_014 | $0.0000013377 | $1.33 | +| 129 | heartbeat | 1_041_067 | 1_006_426 | $0.0000013382 | $1.33 | +| 130 | heartbeat | 1_042_680 | 1_007_072 | $0.0000013391 | $1.33 | +| 131 | heartbeat | 1_041_569 | 1_006_627 | $0.0000013385 | $1.33 | +| 132 | heartbeat | 1_046_679 | 1_008_671 | $0.0000013412 | $1.34 | +| 133 | heartbeat | 1_043_247 | 1_007_298 | $0.0000013394 | $1.33 | +| 134 | heartbeat | 1_046_525 | 1_008_610 | $0.0000013411 | $1.34 | +| 135 | heartbeat | 1_038_082 | 1_005_232 | $0.0000013366 | $1.33 | +| 136 | heartbeat | 1_039_967 | 1_005_986 | $0.0000013376 | $1.33 | +| 137 | heartbeat | 1_041_461 | 1_006_584 | $0.0000013384 | $1.33 | +| 138 | heartbeat | 1_044_839 | 1_007_935 | $0.0000013402 | $1.34 | +| 139 | heartbeat | 1_041_175 | 1_006_470 | $0.0000013383 | $1.33 | +| 140 | heartbeat | 1_045_481 | 1_008_192 | $0.0000013406 | $1.34 | +| 141 | heartbeat | 1_040_104 | 1_006_041 | $0.0000013377 | $1.33 | +| 142 | heartbeat | 1_045_495 | 1_008_198 | $0.0000013406 | $1.34 | +| 143 | heartbeat | 1_037_698 | 1_005_079 | $0.0000013364 | $1.33 | +| 144 | heartbeat | 1_040_933 | 1_006_373 | $0.0000013381 | $1.33 | +| 145 | heartbeat | 1_038_522 | 1_005_408 | $0.0000013369 | $1.33 | +| 146 | heartbeat | 1_046_986 | 1_008_794 | $0.0000013414 | $1.34 | +| 147 | heartbeat | 1_044_194 | 1_007_677 | $0.0000013399 | $1.33 | +| 148 | heartbeat | 1_039_845 | 1_005_938 | $0.0000013376 | $1.33 | +| 149 | heartbeat | 1_039_289 | 1_005_715 | $0.0000013373 | $1.33 | +| 150 | heartbeat | 1_044_377 | 1_007_750 | $0.0000013400 | $1.33 | +| 151 | heartbeat | 1_037_178 | 1_004_871 | $0.0000013361 | $1.33 | +| 152 | heartbeat | 1_035_181 | 1_004_072 | $0.0000013351 | $1.33 | +| 153 | heartbeat | 1_036_807 | 1_004_722 | $0.0000013359 | $1.33 | +| 154 | heartbeat | 1_045_947 | 1_008_378 | $0.0000013408 | $1.34 | +| 155 | heartbeat | 1_038_082 | 1_005_232 | $0.0000013366 | $1.33 | +| 156 | heartbeat | 1_041_429 | 1_006_571 | $0.0000013384 | $1.33 | +| 157 | heartbeat | 1_040_305 | 1_006_122 | $0.0000013378 | $1.33 | +| 158 | heartbeat | 1_041_429 | 1_006_571 | $0.0000013384 | $1.33 | +| 159 | heartbeat | 1_041_536 | 1_006_614 | $0.0000013385 | $1.33 | +| 160 | heartbeat | 1_039_573 | 1_005_829 | $0.0000013374 | $1.33 | +| 161 | heartbeat | 1_039_262 | 1_005_704 | $0.0000013373 | $1.33 | +| 162 | heartbeat | 1_043_880 | 1_007_552 | $0.0000013397 | $1.33 | +| 163 | heartbeat | 1_037_049 | 1_004_819 | $0.0000013361 | $1.33 | +| 164 | heartbeat | 1_039_819 | 1_005_927 | $0.0000013376 | $1.33 | +| 165 | heartbeat | 1_040_249 | 1_006_099 | $0.0000013378 | $1.33 | +| 166 | heartbeat | 1_044_384 | 1_007_753 | $0.0000013400 | $1.33 | +| 167 | heartbeat | 1_044_462 | 1_007_784 | $0.0000013400 | $1.34 | +| 168 | heartbeat | 1_041_920 | 1_006_768 | $0.0000013387 | $1.33 | +| 169 | heartbeat | 1_042_931 | 1_007_172 | $0.0000013392 | $1.33 | +| 170 | heartbeat | 1_041_258 | 1_006_503 | $0.0000013383 | $1.33 | +| 171 | heartbeat | 1_042_421 | 1_006_968 | $0.0000013389 | $1.33 | +| 172 | heartbeat | 1_044_116 | 1_007_646 | $0.0000013398 | $1.33 | +| 173 | heartbeat | 1_036_904 | 1_004_761 | $0.0000013360 | $1.33 | +| 174 | heartbeat | 1_041_446 | 1_006_578 | $0.0000013384 | $1.33 | +| 175 | heartbeat | 1_041_085 | 1_006_434 | $0.0000013382 | $1.33 | +| 176 | heartbeat | 1_040_135 | 1_006_054 | $0.0000013377 | $1.33 | +| 177 | heartbeat | 1_041_111 | 1_006_444 | $0.0000013382 | $1.33 | +| 178 | heartbeat | 1_044_503 | 1_007_801 | $0.0000013400 | $1.34 | +| 179 | heartbeat | 1_042_420 | 1_006_968 | $0.0000013389 | $1.33 | +| 180 | heartbeat | 1_040_825 | 1_006_330 | $0.0000013381 | $1.33 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +# Benchmarks for heartbeat_sync + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | ------- | ------------- | ----------------- | +| 0 | heartbeat | 166_216 | 656_486 | $0.0000008729 | $0.87 | +| 1 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 2 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 3 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 4 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 5 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 6 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 7 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 8 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 9 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 10 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 11 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 12 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 13 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 14 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 15 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 16 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 17 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 18 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 19 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 20 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 21 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 22 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 23 | heartbeat | 155_635 | 652_254 | $0.0000008673 | $0.86 | +| 24 | heartbeat | 155_644 | 652_257 | $0.0000008673 | $0.86 | +| 25 | heartbeat | 155_625 | 652_250 | $0.0000008673 | $0.86 | +| 26 | heartbeat | 155_606 | 652_242 | $0.0000008673 | $0.86 | +| 27 | heartbeat | 155_788 | 652_315 | $0.0000008674 | $0.86 | +| 28 | heartbeat | 155_843 | 652_337 | $0.0000008674 | $0.86 | +| 29 | heartbeat | 155_730 | 652_292 | $0.0000008673 | $0.86 | +| 30 | heartbeat | 155_908 | 652_363 | $0.0000008674 | $0.86 | +| 31 | heartbeat | 155_834 | 652_333 | $0.0000008674 | $0.86 | +| 32 | heartbeat | 156_014 | 652_405 | $0.0000008675 | $0.86 | +| 33 | heartbeat | 155_895 | 652_358 | $0.0000008674 | $0.86 | +| 34 | heartbeat | 156_105 | 652_442 | $0.0000008675 | $0.86 | +| 35 | heartbeat | 155_986 | 652_394 | $0.0000008675 | $0.86 | +| 36 | heartbeat | 156_207 | 652_482 | $0.0000008676 | $0.86 | +| 37 | heartbeat | 156_097 | 652_438 | $0.0000008675 | $0.86 | +| 38 | heartbeat | 156_308 | 652_523 | $0.0000008676 | $0.86 | +| 39 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 40 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 41 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 42 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 43 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 44 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 45 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 46 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 47 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 48 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 49 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 50 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 51 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 52 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 53 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 54 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 55 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 56 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 57 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 58 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 59 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 60 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 61 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 62 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 63 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 64 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 65 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 66 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 67 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 68 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 69 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 70 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 71 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 72 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 73 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 74 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 75 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 76 | heartbeat | 156_340 | 652_536 | $0.0000008677 | $0.86 | +| 77 | heartbeat | 156_261 | 652_504 | $0.0000008676 | $0.86 | +| 78 | heartbeat | 156_349 | 652_539 | $0.0000008677 | $0.86 | +| 79 | heartbeat | 156_288 | 652_515 | $0.0000008676 | $0.86 | +| 80 | heartbeat | 156_458 | 652_583 | $0.0000008677 | $0.86 | +| 81 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 82 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 83 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 84 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 85 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 86 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 87 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 88 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 89 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 90 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 91 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 92 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 93 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 94 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 95 | heartbeat | 156_456 | 652_582 | $0.0000008677 | $0.86 | +| 96 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 97 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 98 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 99 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 100 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 101 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 102 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 103 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 104 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 105 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 106 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 107 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 108 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 109 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 110 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 111 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 112 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 113 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 114 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 115 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 116 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 117 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 118 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 119 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 120 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 121 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 122 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 123 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 124 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 125 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 126 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 127 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 128 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 129 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 130 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 131 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 132 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 133 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 134 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 135 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 136 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 137 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 138 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 139 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 140 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 141 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 142 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 143 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 144 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 145 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 146 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 147 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 148 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 149 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 150 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 151 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 152 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 153 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 154 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 155 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 156 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 157 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 158 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 159 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 160 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 161 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 162 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 163 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 164 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 165 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 166 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 167 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 168 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 169 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 170 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 171 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 172 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 173 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 174 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 175 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 176 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 177 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 178 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 179 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 180 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 181 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 182 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 183 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 184 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 185 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 186 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 187 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 188 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 189 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 190 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 191 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 192 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 193 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 194 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 195 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 196 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 197 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 198 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 199 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 200 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 201 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 202 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 203 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 204 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 205 | heartbeat | 156_611 | 652_644 | $0.0000008678 | $0.86 | +| 206 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 207 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 208 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 209 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 210 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 211 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 212 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 213 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 214 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 215 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 216 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 217 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 218 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 219 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 220 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 221 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 222 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 223 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 224 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 225 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 226 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 227 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 228 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | +| 229 | heartbeat | 156_586 | 652_634 | $0.0000008678 | $0.86 | +| 230 | heartbeat | 156_557 | 652_622 | $0.0000008678 | $0.86 | +| 231 | heartbeat | 156_324 | 652_529 | $0.0000008676 | $0.86 | +| 232 | heartbeat | 156_613 | 652_645 | $0.0000008678 | $0.86 | +| 233 | heartbeat | 156_431 | 652_572 | $0.0000008677 | $0.86 | +| 234 | heartbeat | 156_774 | 652_709 | $0.0000008679 | $0.86 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package-lock.json index caf3f73077..70fb73ff43 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/heartbeat/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/heartbeat": { + "name": "heartbeat_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/ic_api/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/ic_api/benchmarks.json new file mode 100644 index 0000000000..40c5c971c3 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/ic_api/benchmarks.json @@ -0,0 +1,20 @@ +{ + "ic_api": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1644758" }, + "method_name": "dataCertificateNull", + "timestamp": { "__bigint__": "1730239677409535090" } + }, + { + "instructions": { "__bigint__": "1169624" }, + "method_name": "setCertifiedData", + "timestamp": { "__bigint__": "1730239679487827115" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/ic_api/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/ic_api/benchmarks.md new file mode 100644 index 0000000000..dede90eb35 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/ic_api/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for ic_api + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | dataCertificateNull | 1_644_758 | 1_247_903 | $0.0000016593 | $1.65 | +| 1 | setCertifiedData | 1_169_624 | 1_057_849 | $0.0000014066 | $1.40 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/ic_api/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/ic_api/package-lock.json index 9c0355c883..8e6770d862 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/ic_api/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/ic_api/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/ic_api": { + "name": "ic_api_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/icrc/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/icrc/benchmarks.json new file mode 100644 index 0000000000..4ff174bec6 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/icrc/benchmarks.json @@ -0,0 +1,30 @@ +{ + "proxy": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "14832948" }, + "method_name": "icrc1_transfer", + "timestamp": { "__bigint__": "1730239601500700627" } + }, + { + "instructions": { "__bigint__": "18199756" }, + "method_name": "icrc2_approve", + "timestamp": { "__bigint__": "1730239603522861916" } + }, + { + "instructions": { "__bigint__": "17256693" }, + "method_name": "icrc2_transfer_from", + "timestamp": { "__bigint__": "1730239605593311058" } + }, + { + "instructions": { "__bigint__": "10026166" }, + "method_name": "icrc2_allowance", + "timestamp": { "__bigint__": "1730239607582758494" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/icrc/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/icrc/benchmarks.md new file mode 100644 index 0000000000..d297090eca --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/icrc/benchmarks.md @@ -0,0 +1,27 @@ +# Benchmarks for proxy + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | icrc1_transfer | 14_832_948 | 6_523_179 | $0.0000086737 | $8.67 | +| 1 | icrc2_approve | 18_199_756 | 7_869_902 | $0.0000104644 | $10.46 | +| 2 | icrc2_transfer_from | 17_256_693 | 7_492_677 | $0.0000099628 | $9.96 | +| 3 | icrc2_allowance | 10_026_166 | 4_600_466 | $0.0000061171 | $6.11 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/imports/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/imports/benchmarks.json new file mode 100644 index 0000000000..95902bf9e1 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/imports/benchmarks.json @@ -0,0 +1,6 @@ +{ + "imports": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/imports/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/imports/benchmarks.md new file mode 100644 index 0000000000..929c5e1251 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/imports/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for imports + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/imports/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/imports/package-lock.json index 8a8a1908d0..fab8d9db37 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/imports/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/imports/package-lock.json @@ -18,6 +18,7 @@ } }, "../../functional_syntax/imports": { + "name": "imports_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/init/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/init/benchmarks.json new file mode 100644 index 0000000000..cdb9feaef7 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/init/benchmarks.json @@ -0,0 +1,15 @@ +{ + "init": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1022115532" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239590046692695" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/init/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/init/benchmarks.md new file mode 100644 index 0000000000..2f43d1cad1 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/init/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for init + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ----------- | ------------- | ----------------- | +| 0 | init | 1_022_115_532 | 809_436_212 | $0.0010762830 | $1_076.28 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/init/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/init/package-lock.json index 783faa58cf..9e073c84ea 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/init/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/init/package-lock.json @@ -59,7 +59,7 @@ "name": "init_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "^1.4.0", @@ -8988,7 +8988,7 @@ "version": "file:../../functional_syntax/init", "requires": { "@dfinity/agent": "^1.4.0", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/inspect_message/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/inspect_message/benchmarks.json new file mode 100644 index 0000000000..8974ecb537 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/inspect_message/benchmarks.json @@ -0,0 +1,15 @@ +{ + "inspect_message": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1084452" }, + "method_name": "accessible", + "timestamp": { "__bigint__": "1730239598549638000" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/inspect_message/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/inspect_message/benchmarks.md new file mode 100644 index 0000000000..6d4400e50a --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/inspect_message/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for inspect_message + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | accessible | 1_084_452 | 1_023_780 | $0.0000013613 | $1.36 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/key_value_store/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/key_value_store/benchmarks.json new file mode 100644 index 0000000000..3216d4b9b8 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/key_value_store/benchmarks.json @@ -0,0 +1,20 @@ +{ + "key_value_store": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1403875" }, + "method_name": "set", + "timestamp": { "__bigint__": "1730239597575298798" } + }, + { + "instructions": { "__bigint__": "1352622" }, + "method_name": "set", + "timestamp": { "__bigint__": "1730239599662379617" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/key_value_store/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/key_value_store/benchmarks.md new file mode 100644 index 0000000000..610663f65a --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/key_value_store/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for key_value_store + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | set | 1_403_875 | 1_151_550 | $0.0000015312 | $1.53 | +| 1 | set | 1_352_622 | 1_131_048 | $0.0000015039 | $1.50 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package-lock.json index b3e47edf28..73612555ca 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/key_value_store/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/key_value_store": { + "name": "key_value_store_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/benchmarks.json new file mode 100644 index 0000000000..49114cd109 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/benchmarks.json @@ -0,0 +1,85 @@ +{ + "ledger_canister": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "4878969" }, + "method_name": "getAccountBalance", + "timestamp": { "__bigint__": "1730239599715980129" } + }, + { + "instructions": { "__bigint__": "2119859" }, + "method_name": "getTransferFee", + "timestamp": { "__bigint__": "1730239601670016366" } + }, + { + "instructions": { "__bigint__": "13485729" }, + "method_name": "executeTransfer", + "timestamp": { "__bigint__": "1730239603808862213" } + }, + { + "instructions": { "__bigint__": "13463813" }, + "method_name": "executeTransfer", + "timestamp": { "__bigint__": "1730239605876827394" } + }, + { + "instructions": { "__bigint__": "5736039" }, + "method_name": "getBlocks", + "timestamp": { "__bigint__": "1730239608087132208" } + }, + { + "instructions": { "__bigint__": "1617177" }, + "method_name": "getSymbol", + "timestamp": { "__bigint__": "1730239610034981780" } + }, + { + "instructions": { "__bigint__": "1619248" }, + "method_name": "getName", + "timestamp": { "__bigint__": "1730239612156088865" } + }, + { + "instructions": { "__bigint__": "1616518" }, + "method_name": "getDecimals", + "timestamp": { "__bigint__": "1730239614097016234" } + }, + { + "instructions": { "__bigint__": "1616208" }, + "method_name": "getArchives", + "timestamp": { "__bigint__": "1730239616311023293" } + }, + { + "instructions": { "__bigint__": "13460873" }, + "method_name": "executeTransfer", + "timestamp": { "__bigint__": "1730239618223409925" } + }, + { + "instructions": { "__bigint__": "4787795" }, + "method_name": "getAccountBalance", + "timestamp": { "__bigint__": "1730239620413056929" } + }, + { + "instructions": { "__bigint__": "13449865" }, + "method_name": "executeTransfer", + "timestamp": { "__bigint__": "1730239623770561348" } + }, + { + "instructions": { "__bigint__": "13468886" }, + "method_name": "executeTransfer", + "timestamp": { "__bigint__": "1730239625859956408" } + }, + { + "instructions": { "__bigint__": "14282042" }, + "method_name": "executeTransfer", + "timestamp": { "__bigint__": "1730239629544452086" } + }, + { + "instructions": { "__bigint__": "14295440" }, + "method_name": "executeTransfer", + "timestamp": { "__bigint__": "1730239631746276355" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/benchmarks.md new file mode 100644 index 0000000000..44c0329160 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/ledger_canister/benchmarks.md @@ -0,0 +1,38 @@ +# Benchmarks for ledger_canister + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | getAccountBalance | 4_878_969 | 2_541_587 | $0.0000033795 | $3.37 | +| 1 | getTransferFee | 2_119_859 | 1_437_943 | $0.0000019120 | $1.91 | +| 2 | executeTransfer | 13_485_729 | 5_984_291 | $0.0000079571 | $7.95 | +| 3 | executeTransfer | 13_463_813 | 5_975_525 | $0.0000079455 | $7.94 | +| 4 | getBlocks | 5_736_039 | 2_884_415 | $0.0000038353 | $3.83 | +| 5 | getSymbol | 1_617_177 | 1_236_870 | $0.0000016446 | $1.64 | +| 6 | getName | 1_619_248 | 1_237_699 | $0.0000016457 | $1.64 | +| 7 | getDecimals | 1_616_518 | 1_236_607 | $0.0000016443 | $1.64 | +| 8 | getArchives | 1_616_208 | 1_236_483 | $0.0000016441 | $1.64 | +| 9 | executeTransfer | 13_460_873 | 5_974_349 | $0.0000079439 | $7.94 | +| 10 | getAccountBalance | 4_787_795 | 2_505_118 | $0.0000033310 | $3.33 | +| 11 | executeTransfer | 13_449_865 | 5_969_946 | $0.0000079381 | $7.93 | +| 12 | executeTransfer | 13_468_886 | 5_977_554 | $0.0000079482 | $7.94 | +| 13 | executeTransfer | 14_282_042 | 6_302_816 | $0.0000083807 | $8.38 | +| 14 | executeTransfer | 14_295_440 | 6_308_176 | $0.0000083878 | $8.38 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/benchmarks.json new file mode 100644 index 0000000000..83457e4ec4 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/benchmarks.json @@ -0,0 +1,6 @@ +{ + "list_of_lists": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/benchmarks.md new file mode 100644 index 0000000000..5b13de13c0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for list_of_lists + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package-lock.json index f3dd15342e..849db436c5 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/list_of_lists/package-lock.json @@ -18,6 +18,7 @@ } }, "../../functional_syntax/list_of_lists": { + "name": "list_of_lists_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/management_canister/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/management_canister/benchmarks.json new file mode 100644 index 0000000000..96911fcdb2 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/management_canister/benchmarks.json @@ -0,0 +1,150 @@ +{ + "management_canister": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "14219734" }, + "method_name": "executeCreateCanister", + "timestamp": { "__bigint__": "1730239595740527405" } + }, + { + "instructions": { "__bigint__": "15444299" }, + "method_name": "executeUpdateSettings", + "timestamp": { "__bigint__": "1730239597944354786" } + }, + { + "instructions": { "__bigint__": "3566257" }, + "method_name": "getCanisterStatus", + "timestamp": { "__bigint__": "1730239599843126894" } + }, + { + "instructions": { "__bigint__": "29131458" }, + "method_name": "executeInstallCode", + "timestamp": { "__bigint__": "1730239602133885957" } + }, + { + "instructions": { "__bigint__": "4205889" }, + "method_name": "executeUninstallCode", + "timestamp": { "__bigint__": "1730239604314666792" } + }, + { + "instructions": { "__bigint__": "3567085" }, + "method_name": "getCanisterStatus", + "timestamp": { "__bigint__": "1730239606356524460" } + }, + { + "instructions": { "__bigint__": "18407299" }, + "method_name": "executeUploadChunk", + "timestamp": { "__bigint__": "1730239608539770411" } + }, + { + "instructions": { "__bigint__": "2897705" }, + "method_name": "getStoredChunks", + "timestamp": { "__bigint__": "1730239610500247056" } + }, + { + "instructions": { "__bigint__": "2896965" }, + "method_name": "getStoredChunks", + "timestamp": { "__bigint__": "1730239612696206234" } + }, + { + "instructions": { "__bigint__": "19759649" }, + "method_name": "executeInstallChunkedCode", + "timestamp": { "__bigint__": "1730239614626287694" } + }, + { + "instructions": { "__bigint__": "4200347" }, + "method_name": "executeUninstallCode", + "timestamp": { "__bigint__": "1730239616767057524" } + }, + { + "instructions": { "__bigint__": "2899999" }, + "method_name": "executeClearChunkStore", + "timestamp": { "__bigint__": "1730239618734756723" } + }, + { + "instructions": { "__bigint__": "2900249" }, + "method_name": "getStoredChunks", + "timestamp": { "__bigint__": "1730239620916546982" } + }, + { + "instructions": { "__bigint__": "3564000" }, + "method_name": "getCanisterStatus", + "timestamp": { "__bigint__": "1730239622850446336" } + }, + { + "instructions": { "__bigint__": "2900708" }, + "method_name": "executeDepositCycles", + "timestamp": { "__bigint__": "1730239624994846716" } + }, + { + "instructions": { "__bigint__": "3559262" }, + "method_name": "getCanisterStatus", + "timestamp": { "__bigint__": "1730239626980260851" } + }, + { + "instructions": { "__bigint__": "4187576" }, + "method_name": "executeUninstallCode", + "timestamp": { "__bigint__": "1730239629058037430" } + }, + { + "instructions": { "__bigint__": "3555722" }, + "method_name": "getCanisterStatus", + "timestamp": { "__bigint__": "1730239631279505119" } + }, + { + "instructions": { "__bigint__": "2889953" }, + "method_name": "executeStopCanister", + "timestamp": { "__bigint__": "1730239633244377564" } + }, + { + "instructions": { "__bigint__": "3557793" }, + "method_name": "getCanisterStatus", + "timestamp": { "__bigint__": "1730239635250875515" } + }, + { + "instructions": { "__bigint__": "3564678" }, + "method_name": "getCanisterStatus", + "timestamp": { "__bigint__": "1730239637321402539" } + }, + { + "instructions": { "__bigint__": "2887949" }, + "method_name": "executeStartCanister", + "timestamp": { "__bigint__": "1730239639490220702" } + }, + { + "instructions": { "__bigint__": "3550351" }, + "method_name": "getCanisterStatus", + "timestamp": { "__bigint__": "1730239641510680254" } + }, + { + "instructions": { "__bigint__": "3550787" }, + "method_name": "getCanisterStatus", + "timestamp": { "__bigint__": "1730239643608513550" } + }, + { + "instructions": { "__bigint__": "6300603" }, + "method_name": "getCanisterInfo", + "timestamp": { "__bigint__": "1730239645539523599" } + }, + { + "instructions": { "__bigint__": "2875262" }, + "method_name": "executeStopCanister", + "timestamp": { "__bigint__": "1730239647693960665" } + }, + { + "instructions": { "__bigint__": "2877720" }, + "method_name": "executeDeleteCanister", + "timestamp": { "__bigint__": "1730239649655376451" } + }, + { + "instructions": { "__bigint__": "1287779" }, + "method_name": "getRawRand", + "timestamp": { "__bigint__": "1730239651768171934" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/management_canister/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/management_canister/benchmarks.md new file mode 100644 index 0000000000..723c7827bb --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/management_canister/benchmarks.md @@ -0,0 +1,51 @@ +# Benchmarks for management_canister + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | executeCreateCanister | 14_219_734 | 6_277_893 | $0.0000083475 | $8.34 | +| 1 | executeUpdateSettings | 15_444_299 | 6_767_719 | $0.0000089988 | $8.99 | +| 2 | getCanisterStatus | 3_566_257 | 2_016_502 | $0.0000026813 | $2.68 | +| 3 | executeInstallCode | 29_131_458 | 12_242_583 | $0.0000162786 | $16.27 | +| 4 | executeUninstallCode | 4_205_889 | 2_272_355 | $0.0000030215 | $3.02 | +| 5 | getCanisterStatus | 3_567_085 | 2_016_834 | $0.0000026817 | $2.68 | +| 6 | executeUploadChunk | 18_407_299 | 7_952_919 | $0.0000105748 | $10.57 | +| 7 | getStoredChunks | 2_897_705 | 1_749_082 | $0.0000023257 | $2.32 | +| 8 | getStoredChunks | 2_896_965 | 1_748_786 | $0.0000023253 | $2.32 | +| 9 | executeInstallChunkedCode | 19_759_649 | 8_493_859 | $0.0000112940 | $11.29 | +| 10 | executeUninstallCode | 4_200_347 | 2_270_138 | $0.0000030185 | $3.01 | +| 11 | executeClearChunkStore | 2_899_999 | 1_749_999 | $0.0000023269 | $2.32 | +| 12 | getStoredChunks | 2_900_249 | 1_750_099 | $0.0000023271 | $2.32 | +| 13 | getCanisterStatus | 3_564_000 | 2_015_600 | $0.0000026801 | $2.68 | +| 14 | executeDepositCycles | 2_900_708 | 1_750_283 | $0.0000023273 | $2.32 | +| 15 | getCanisterStatus | 3_559_262 | 2_013_704 | $0.0000026776 | $2.67 | +| 16 | executeUninstallCode | 4_187_576 | 2_265_030 | $0.0000030117 | $3.01 | +| 17 | getCanisterStatus | 3_555_722 | 2_012_288 | $0.0000026757 | $2.67 | +| 18 | executeStopCanister | 2_889_953 | 1_745_981 | $0.0000023216 | $2.32 | +| 19 | getCanisterStatus | 3_557_793 | 2_013_117 | $0.0000026768 | $2.67 | +| 20 | getCanisterStatus | 3_564_678 | 2_015_871 | $0.0000026804 | $2.68 | +| 21 | executeStartCanister | 2_887_949 | 1_745_179 | $0.0000023205 | $2.32 | +| 22 | getCanisterStatus | 3_550_351 | 2_010_140 | $0.0000026728 | $2.67 | +| 23 | getCanisterStatus | 3_550_787 | 2_010_314 | $0.0000026731 | $2.67 | +| 24 | getCanisterInfo | 6_300_603 | 3_110_241 | $0.0000041356 | $4.13 | +| 25 | executeStopCanister | 2_875_262 | 1_740_104 | $0.0000023138 | $2.31 | +| 26 | executeDeleteCanister | 2_877_720 | 1_741_088 | $0.0000023151 | $2.31 | +| 27 | getRawRand | 1_287_779 | 1_105_111 | $0.0000014694 | $1.46 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/manual_reply/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/manual_reply/benchmarks.json new file mode 100644 index 0000000000..c27b88f8a8 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/manual_reply/benchmarks.json @@ -0,0 +1,80 @@ +{ + "manual_reply": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "682146" }, + "method_name": "manualUpdate", + "timestamp": { "__bigint__": "1730239592869452554" } + }, + { + "instructions": { "__bigint__": "1586983" }, + "method_name": "manualUpdate", + "timestamp": { "__bigint__": "1730239595026426952" } + }, + { + "instructions": { "__bigint__": "1487069" }, + "method_name": "updateBlob", + "timestamp": { "__bigint__": "1730239596921052836" } + }, + { + "instructions": { "__bigint__": "1027509" }, + "method_name": "updateFloat32", + "timestamp": { "__bigint__": "1730239599148667773" } + }, + { + "instructions": { "__bigint__": "1128707" }, + "method_name": "updateInt8", + "timestamp": { "__bigint__": "1730239601155110687" } + }, + { + "instructions": { "__bigint__": "1522480" }, + "method_name": "updateNat", + "timestamp": { "__bigint__": "1730239603103056495" } + }, + { + "instructions": { "__bigint__": "1016680" }, + "method_name": "updateNull", + "timestamp": { "__bigint__": "1730239605332410188" } + }, + { + "instructions": { "__bigint__": "872892" }, + "method_name": "updateVoid", + "timestamp": { "__bigint__": "1730239607279675877" } + }, + { + "instructions": { "__bigint__": "13164022" }, + "method_name": "updateRecord", + "timestamp": { "__bigint__": "1730239609444474670" } + }, + { + "instructions": { "__bigint__": "1015171" }, + "method_name": "updateReserved", + "timestamp": { "__bigint__": "1730239611465035667" } + }, + { + "instructions": { "__bigint__": "1274363" }, + "method_name": "updateString", + "timestamp": { "__bigint__": "1730239613557037114" } + }, + { + "instructions": { "__bigint__": "3467068" }, + "method_name": "updateVariant", + "timestamp": { "__bigint__": "1730239615455070691" } + }, + { + "instructions": { "__bigint__": "1027917" }, + "method_name": "updateFloat32", + "timestamp": { "__bigint__": "1730239617633526487" } + }, + { + "instructions": { "__bigint__": "488712" }, + "method_name": "replyRaw", + "timestamp": { "__bigint__": "1730239619609477975" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/manual_reply/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/manual_reply/benchmarks.md new file mode 100644 index 0000000000..04450c093c --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/manual_reply/benchmarks.md @@ -0,0 +1,37 @@ +# Benchmarks for manual_reply + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | manualUpdate | 682_146 | 862_858 | $0.0000011473 | $1.14 | +| 1 | manualUpdate | 1_586_983 | 1_224_793 | $0.0000016286 | $1.62 | +| 2 | updateBlob | 1_487_069 | 1_184_827 | $0.0000015754 | $1.57 | +| 3 | updateFloat32 | 1_027_509 | 1_001_003 | $0.0000013310 | $1.33 | +| 4 | updateInt8 | 1_128_707 | 1_041_482 | $0.0000013848 | $1.38 | +| 5 | updateNat | 1_522_480 | 1_198_992 | $0.0000015943 | $1.59 | +| 6 | updateNull | 1_016_680 | 996_672 | $0.0000013252 | $1.32 | +| 7 | updateVoid | 872_892 | 939_156 | $0.0000012488 | $1.24 | +| 8 | updateRecord | 13_164_022 | 5_855_608 | $0.0000077860 | $7.78 | +| 9 | updateReserved | 1_015_171 | 996_068 | $0.0000013244 | $1.32 | +| 10 | updateString | 1_274_363 | 1_099_745 | $0.0000014623 | $1.46 | +| 11 | updateVariant | 3_467_068 | 1_976_827 | $0.0000026285 | $2.62 | +| 12 | updateFloat32 | 1_027_917 | 1_001_166 | $0.0000013312 | $1.33 | +| 13 | replyRaw | 488_712 | 785_484 | $0.0000010444 | $1.04 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package-lock.json index a03684d42f..634e78a481 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/manual_reply/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/manual_reply": { + "name": "manual_reply_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/benchmarks.json new file mode 100644 index 0000000000..28cc3c7319 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/benchmarks.json @@ -0,0 +1,40 @@ +{ + "calc": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1277852" }, + "method_name": "add", + "timestamp": { "__bigint__": "1730239592579063616" } + }, + { + "instructions": { "__bigint__": "1233924" }, + "method_name": "sub", + "timestamp": { "__bigint__": "1730239594488321318" } + }, + { + "instructions": { "__bigint__": "1233454" }, + "method_name": "mul", + "timestamp": { "__bigint__": "1730239596620732939" } + }, + { + "instructions": { "__bigint__": "1566663" }, + "method_name": "div", + "timestamp": { "__bigint__": "1730239598597287241" } + }, + { + "instructions": { "__bigint__": "878625" }, + "method_name": "clearall", + "timestamp": { "__bigint__": "1730239600674544288" } + }, + { + "instructions": { "__bigint__": "1230326" }, + "method_name": "add", + "timestamp": { "__bigint__": "1730239602907640925" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/benchmarks.md new file mode 100644 index 0000000000..a8cca99ad4 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/benchmarks.md @@ -0,0 +1,29 @@ +# Benchmarks for calc + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | add | 1_277_852 | 1_101_140 | $0.0000014642 | $1.46 | +| 1 | sub | 1_233_924 | 1_083_569 | $0.0000014408 | $1.44 | +| 2 | mul | 1_233_454 | 1_083_381 | $0.0000014405 | $1.44 | +| 3 | div | 1_566_663 | 1_216_665 | $0.0000016178 | $1.61 | +| 4 | clearall | 878_625 | 941_450 | $0.0000012518 | $1.25 | +| 5 | add | 1_230_326 | 1_082_130 | $0.0000014389 | $1.43 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package-lock.json index 57045bbe49..f79ec51f07 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/calc/package-lock.json @@ -17,6 +17,7 @@ } }, "../../../functional_syntax/motoko_examples/calc": { + "name": "calc_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/benchmarks.json new file mode 100644 index 0000000000..bc3cedf9ed --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/benchmarks.json @@ -0,0 +1,25 @@ +{ + "counter": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1003092" }, + "method_name": "set", + "timestamp": { "__bigint__": "1730239594428454302" } + }, + { + "instructions": { "__bigint__": "870948" }, + "method_name": "inc", + "timestamp": { "__bigint__": "1730239596304193346" } + }, + { + "instructions": { "__bigint__": "870882" }, + "method_name": "inc", + "timestamp": { "__bigint__": "1730239598504489817" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/benchmarks.md new file mode 100644 index 0000000000..50bf436d8f --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for counter + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | ------- | ------------- | ----------------- | +| 0 | set | 1_003_092 | 991_236 | $0.0000013180 | $1.31 | +| 1 | inc | 870_948 | 938_379 | $0.0000012477 | $1.24 | +| 2 | inc | 870_882 | 938_352 | $0.0000012477 | $1.24 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package-lock.json index 3fcb5740bd..04053f502e 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/counter/package-lock.json @@ -17,6 +17,7 @@ } }, "../../../functional_syntax/motoko_examples/counter": { + "name": "counter_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/benchmarks.json new file mode 100644 index 0000000000..d334b0da72 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/benchmarks.json @@ -0,0 +1,6 @@ +{ + "echo": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/benchmarks.md new file mode 100644 index 0000000000..9e4324d7d4 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for echo + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package-lock.json index 6605019ef8..1386e59753 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/echo/package-lock.json @@ -17,6 +17,7 @@ } }, "../../../functional_syntax/motoko_examples/echo": { + "name": "echo_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/benchmarks.json new file mode 100644 index 0000000000..f2cfbea718 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/benchmarks.json @@ -0,0 +1,35 @@ +{ + "factorial": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1239149" }, + "method_name": "fac", + "timestamp": { "__bigint__": "1730239599343554603" } + }, + { + "instructions": { "__bigint__": "1215149" }, + "method_name": "fac", + "timestamp": { "__bigint__": "1730239601469551271" } + }, + { + "instructions": { "__bigint__": "1670365" }, + "method_name": "fac", + "timestamp": { "__bigint__": "1730239603663785785" } + }, + { + "instructions": { "__bigint__": "2911899" }, + "method_name": "fac", + "timestamp": { "__bigint__": "1730239605576395798" } + }, + { + "instructions": { "__bigint__": "5448635" }, + "method_name": "fac", + "timestamp": { "__bigint__": "1730239607654174833" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/benchmarks.md new file mode 100644 index 0000000000..de2dc2d499 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/benchmarks.md @@ -0,0 +1,28 @@ +# Benchmarks for factorial + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | fac | 1_239_149 | 1_085_659 | $0.0000014436 | $1.44 | +| 1 | fac | 1_215_149 | 1_076_059 | $0.0000014308 | $1.43 | +| 2 | fac | 1_670_365 | 1_258_146 | $0.0000016729 | $1.67 | +| 3 | fac | 2_911_899 | 1_754_759 | $0.0000023333 | $2.33 | +| 4 | fac | 5_448_635 | 2_769_454 | $0.0000036825 | $3.68 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package-lock.json index 063fbb822d..0a794aee87 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/factorial/package-lock.json @@ -17,6 +17,7 @@ } }, "../../../functional_syntax/motoko_examples/factorial": { + "name": "factorial_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/benchmarks.json new file mode 100644 index 0000000000..96c5849f68 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/benchmarks.json @@ -0,0 +1,6 @@ +{ + "hello_world": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/benchmarks.md new file mode 100644 index 0000000000..f49953fae6 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for hello_world + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package-lock.json index 9e2c5c2023..3583255e35 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello-world/package-lock.json @@ -17,6 +17,7 @@ } }, "../../../functional_syntax/motoko_examples/hello-world": { + "name": "hello-world_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/benchmarks.json new file mode 100644 index 0000000000..68748af522 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/benchmarks.json @@ -0,0 +1,6 @@ +{ + "hello": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/benchmarks.md new file mode 100644 index 0000000000..ea1717996e --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/hello/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for hello + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package-lock.json index 5d08cfff05..3528b75779 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/http_counter/package-lock.json @@ -19,7 +19,6 @@ } }, "../../../functional_syntax/motoko_examples/http_counter": { - "name": "http_counter", "version": "0.1.0", "dev": true, "dependencies": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/benchmarks.json new file mode 100644 index 0000000000..9ba060674b --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/benchmarks.json @@ -0,0 +1,30 @@ +{ + "minimal_dapp": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1143272" }, + "method_name": "count", + "timestamp": { "__bigint__": "1730239600709378057" } + }, + { + "instructions": { "__bigint__": "1090875" }, + "method_name": "count", + "timestamp": { "__bigint__": "1730239602851434052" } + }, + { + "instructions": { "__bigint__": "1090108" }, + "method_name": "reset", + "timestamp": { "__bigint__": "1730239604862008621" } + }, + { + "instructions": { "__bigint__": "1096590" }, + "method_name": "count", + "timestamp": { "__bigint__": "1730239607090908875" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/benchmarks.md new file mode 100644 index 0000000000..52b80d09fe --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/benchmarks.md @@ -0,0 +1,27 @@ +# Benchmarks for minimal_dapp + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | count | 1_143_272 | 1_047_308 | $0.0000013926 | $1.39 | +| 1 | count | 1_090_875 | 1_026_350 | $0.0000013647 | $1.36 | +| 2 | reset | 1_090_108 | 1_026_043 | $0.0000013643 | $1.36 | +| 3 | count | 1_096_590 | 1_028_636 | $0.0000013677 | $1.36 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package-lock.json index f291590cf5..9de364cde3 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/minimal-counter-dapp/package-lock.json @@ -31,7 +31,6 @@ } }, "../../../functional_syntax/motoko_examples/minimal-counter-dapp": { - "name": "minimal-counter-dapp", "version": "0.1.0", "dev": true, "dependencies": { diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/benchmarks.json new file mode 100644 index 0000000000..3ac59627d3 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/benchmarks.json @@ -0,0 +1,15 @@ +{ + "persistent_storage": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1024942770" }, + "method_name": "postUpgrade", + "timestamp": { "__bigint__": "1730239610119723005" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/benchmarks.md new file mode 100644 index 0000000000..8a6ba07b0d --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for persistent_storage + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ----------- | ------------- | ----------------- | +| 0 | postUpgrade | 1_024_942_770 | 810_567_108 | $0.0010777868 | $1_077.78 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package-lock.json index aded6020f1..7cbb649a1b 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/persistent-storage/package-lock.json @@ -17,6 +17,7 @@ } }, "../../../functional_syntax/motoko_examples/persistent-storage": { + "name": "persistent-storage_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/benchmarks.json new file mode 100644 index 0000000000..33ae562831 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/benchmarks.json @@ -0,0 +1,15 @@ +{ + "phone_book": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "2932924" }, + "method_name": "insert", + "timestamp": { "__bigint__": "1730239600151381328" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/benchmarks.md new file mode 100644 index 0000000000..a3a7f074a4 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for phone_book + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | insert | 2_932_924 | 1_763_169 | $0.0000023444 | $2.34 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package-lock.json index c6b5f61fe6..4780fa7ec2 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/phone-book/package-lock.json @@ -36,6 +36,7 @@ } }, "../../../functional_syntax/motoko_examples/phone-book": { + "name": "phone-book_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/benchmarks.json new file mode 100644 index 0000000000..0c6ae933b1 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/benchmarks.json @@ -0,0 +1,6 @@ +{ + "quicksort": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/benchmarks.md new file mode 100644 index 0000000000..52b5ab2928 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for quicksort + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package-lock.json index 8752e48c92..800a41247b 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/quicksort/package-lock.json @@ -17,6 +17,7 @@ } }, "../../../functional_syntax/motoko_examples/quicksort": { + "name": "quicksort_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/benchmarks.json new file mode 100644 index 0000000000..f9011098dd --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/benchmarks.json @@ -0,0 +1,40 @@ +{ + "simple_to_do": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1908472" }, + "method_name": "addTodo", + "timestamp": { "__bigint__": "1730239598756083584" } + }, + { + "instructions": { "__bigint__": "1642955" }, + "method_name": "addTodo", + "timestamp": { "__bigint__": "1730239600959407729" } + }, + { + "instructions": { "__bigint__": "977612" }, + "method_name": "completeTodo", + "timestamp": { "__bigint__": "1730239602847643102" } + }, + { + "instructions": { "__bigint__": "915539" }, + "method_name": "clearCompleted", + "timestamp": { "__bigint__": "1730239604947202898" } + }, + { + "instructions": { "__bigint__": "969805" }, + "method_name": "completeTodo", + "timestamp": { "__bigint__": "1730239607232629373" } + }, + { + "instructions": { "__bigint__": "898144" }, + "method_name": "clearCompleted", + "timestamp": { "__bigint__": "1730239609161419653" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/benchmarks.md new file mode 100644 index 0000000000..9ba35d1977 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/benchmarks.md @@ -0,0 +1,29 @@ +# Benchmarks for simple_to_do + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | addTodo | 1_908_472 | 1_353_388 | $0.0000017996 | $1.79 | +| 1 | addTodo | 1_642_955 | 1_247_182 | $0.0000016583 | $1.65 | +| 2 | completeTodo | 977_612 | 981_044 | $0.0000013045 | $1.30 | +| 3 | clearCompleted | 915_539 | 956_215 | $0.0000012715 | $1.27 | +| 4 | completeTodo | 969_805 | 977_922 | $0.0000013003 | $1.30 | +| 5 | clearCompleted | 898_144 | 949_257 | $0.0000012622 | $1.26 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package-lock.json index b0edb35852..11ea596f5f 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/simple-to-do/package-lock.json @@ -17,6 +17,7 @@ } }, "../../../functional_syntax/motoko_examples/simple-to-do": { + "name": "simple-to-do_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/benchmarks.json new file mode 100644 index 0000000000..ef8f062c26 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/benchmarks.json @@ -0,0 +1,40 @@ +{ + "superheroes": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "3585243" }, + "method_name": "create", + "timestamp": { "__bigint__": "1730239601627485902" } + }, + { + "instructions": { "__bigint__": "4575788" }, + "method_name": "create", + "timestamp": { "__bigint__": "1730239603561630782" } + }, + { + "instructions": { "__bigint__": "4886185" }, + "method_name": "update", + "timestamp": { "__bigint__": "1730239605670769820" } + }, + { + "instructions": { "__bigint__": "3458693" }, + "method_name": "update", + "timestamp": { "__bigint__": "1730239607755519785" } + }, + { + "instructions": { "__bigint__": "1188328" }, + "method_name": "deleteHero", + "timestamp": { "__bigint__": "1730239609836422680" } + }, + { + "instructions": { "__bigint__": "1178075" }, + "method_name": "deleteHero", + "timestamp": { "__bigint__": "1730239612050296735" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/benchmarks.md new file mode 100644 index 0000000000..3495a23bed --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/superheroes/benchmarks.md @@ -0,0 +1,29 @@ +# Benchmarks for superheroes + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | create | 3_585_243 | 2_024_097 | $0.0000026914 | $2.69 | +| 1 | create | 4_575_788 | 2_420_315 | $0.0000032182 | $3.21 | +| 2 | update | 4_886_185 | 2_544_474 | $0.0000033833 | $3.38 | +| 3 | update | 3_458_693 | 1_973_477 | $0.0000026241 | $2.62 | +| 4 | deleteHero | 1_188_328 | 1_065_331 | $0.0000014165 | $1.41 | +| 5 | deleteHero | 1_178_075 | 1_061_230 | $0.0000014111 | $1.41 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/benchmarks.json new file mode 100644 index 0000000000..7610d402c3 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/benchmarks.json @@ -0,0 +1,20 @@ +{ + "threshold_ecdsa": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "8876796" }, + "method_name": "publicKey", + "timestamp": { "__bigint__": "1730239596683210999" } + }, + { + "instructions": { "__bigint__": "8961289" }, + "method_name": "sign", + "timestamp": { "__bigint__": "1730239598816229652" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/benchmarks.md new file mode 100644 index 0000000000..db36632fc5 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/threshold_ecdsa/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for threshold_ecdsa + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | publicKey | 8_876_796 | 4_140_718 | $0.0000055058 | $5.50 | +| 1 | sign | 8_961_289 | 4_174_515 | $0.0000055507 | $5.55 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/benchmarks.json new file mode 100644 index 0000000000..992a6e001d --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/benchmarks.json @@ -0,0 +1,15 @@ +{ + "whoami": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1027546042" }, + "method_name": "postUpgrade", + "timestamp": { "__bigint__": "1730239604341555173" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/benchmarks.md new file mode 100644 index 0000000000..f82def7f10 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/motoko_examples/whoami/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for whoami + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ----------- | ------------- | ----------------- | +| 0 | postUpgrade | 1_027_546_042 | 811_608_416 | $0.0010791714 | $1_079.17 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/notify_raw/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/notify_raw/benchmarks.json index fd9b6f972d..714e730ade 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/notify_raw/benchmarks.json +++ b/tests/end_to_end/candid_rpc/class_syntax/notify_raw/benchmarks.json @@ -5,9 +5,9 @@ "version": "0.25.0", "benchmarks": [ { - "instructions": { "__bigint__": "1604051" }, + "instructions": { "__bigint__": "1605051" }, "method_name": "sendNotification", - "timestamp": { "__bigint__": "1729714463172455556" } + "timestamp": { "__bigint__": "1730239604910028257" } } ] } @@ -18,9 +18,9 @@ "version": "0.25.0", "benchmarks": [ { - "instructions": { "__bigint__": "907281" }, + "instructions": { "__bigint__": "912297" }, "method_name": "receiveNotification", - "timestamp": { "__bigint__": "1729714463172455556" } + "timestamp": { "__bigint__": "1730239604910028257" } } ] } diff --git a/tests/end_to_end/candid_rpc/class_syntax/notify_raw/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/notify_raw/benchmarks.md index 05286249c4..8a0c25aeac 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/notify_raw/benchmarks.md +++ b/tests/end_to_end/candid_rpc/class_syntax/notify_raw/benchmarks.md @@ -4,29 +4,33 @@ | Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | | --- | ---------------- | ------------ | --------- | ------------- | ----------------- | -| 0 | sendNotification | 1_604_051 | 1_231_620 | $0.0000016462 | $1.6462 | +| 0 | sendNotification | 1_605_051 | 1_232_020 | $0.0000016382 | $1.63 | ## Baseline benchmarks Azle version: 0.25.0 +No benchmarks reported + # Benchmarks for canister2 ## Current benchmarks Azle version: 0.25.0 | Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | | --- | ------------------- | ------------ | ------- | ------------- | ----------------- | -| 0 | receiveNotification | 907_281 | 952_912 | $0.0000012737 | $1.2737 | +| 0 | receiveNotification | 912_297 | 954_918 | $0.0000012697 | $1.26 | ## Baseline benchmarks Azle version: 0.25.0 +No benchmarks reported + --- **Note on calculations:** -- Cycles are calculated using the formula: base_fee + (per_instruction_fee _ number_of_instructions) + (additional_fee_per_billion _ floor(number_of_instructions / 1_billion)) -- Base fee: 590,000 cycles -- Per instruction fee: 0.4 cycles -- Additional fee: 400,000,000 cycles per billion instructions -- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.33661 (as of December 18, 2023) +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) 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). For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/null_example/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/null_example/benchmarks.json new file mode 100644 index 0000000000..da8a065050 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/null_example/benchmarks.json @@ -0,0 +1,25 @@ +{ + "null_example": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "5667459" }, + "method_name": "setPartiallyNullRecord", + "timestamp": { "__bigint__": "1730239602300371662" } + }, + { + "instructions": { "__bigint__": "4137196" }, + "method_name": "setSmallNullRecord", + "timestamp": { "__bigint__": "1730239604475526393" } + }, + { + "instructions": { "__bigint__": "5391048" }, + "method_name": "setLargeNullRecord", + "timestamp": { "__bigint__": "1730239606653955405" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/null_example/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/null_example/benchmarks.md new file mode 100644 index 0000000000..54df576eff --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/null_example/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for null_example + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ---------------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | setPartiallyNullRecord | 5_667_459 | 2_856_983 | $0.0000037988 | $3.79 | +| 1 | setSmallNullRecord | 4_137_196 | 2_244_878 | $0.0000029849 | $2.98 | +| 2 | setLargeNullRecord | 5_391_048 | 2_746_419 | $0.0000036518 | $3.65 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/null_example/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/null_example/package-lock.json index 9057d054be..09bf9922a1 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/null_example/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/null_example/package-lock.json @@ -34,7 +34,7 @@ "name": "null_example_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -9938,7 +9938,7 @@ "version": "file:../../functional_syntax/null_example", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/optional_types/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/optional_types/benchmarks.json new file mode 100644 index 0000000000..639f872f67 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/optional_types/benchmarks.json @@ -0,0 +1,6 @@ +{ + "optional_types": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/optional_types/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/optional_types/benchmarks.md new file mode 100644 index 0000000000..18fc6c72e9 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/optional_types/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for optional_types + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/optional_types/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/optional_types/package-lock.json index ecfd295ac7..36bf5f292f 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/optional_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/optional_types/package-lock.json @@ -38,7 +38,7 @@ "name": "optional_types_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -10135,7 +10135,7 @@ "requires": { "@dfinity/agent": "0.11.1", "@types/node-fetch": "2.6.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "node-fetch": "2.6.7", "ts-jest": "^29.1.5", diff --git a/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/benchmarks.json new file mode 100644 index 0000000000..11962acd8d --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/benchmarks.json @@ -0,0 +1,20 @@ +{ + "outgoing_http_requests": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "24930803" }, + "method_name": "xkcd", + "timestamp": { "__bigint__": "1730239598248841564" } + }, + { + "instructions": { "__bigint__": "1987936" }, + "method_name": "xkcdRaw", + "timestamp": { "__bigint__": "1730239600424639012" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/benchmarks.md new file mode 100644 index 0000000000..d23347b87b --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/outgoing_http_requests/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for outgoing_http_requests + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | xkcd | 24_930_803 | 10_562_321 | $0.0000140444 | $14.04 | +| 1 | xkcdRaw | 1_987_936 | 1_385_174 | $0.0000018418 | $1.84 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/benchmarks.json new file mode 100644 index 0000000000..4cd40b3266 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/benchmarks.json @@ -0,0 +1,15 @@ +{ + "pre_and_post_upgrade": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1026297279" }, + "method_name": "postUpgrade", + "timestamp": { "__bigint__": "1730239606092165831" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/benchmarks.md new file mode 100644 index 0000000000..4c024d5013 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for pre_and_post_upgrade + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ----------- | ------------- | ----------------- | +| 0 | postUpgrade | 1_026_297_279 | 811_108_911 | $0.0010785072 | $1_078.50 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package-lock.json index 95fc8d5907..3899f1a384 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/pre_and_post_upgrade/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/pre_and_post_upgrade": { + "name": "pre_and_post_upgrade_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/primitive_types/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/primitive_types/benchmarks.json new file mode 100644 index 0000000000..6d60f6514d --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/primitive_types/benchmarks.json @@ -0,0 +1,6 @@ +{ + "primitive_types": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/primitive_types/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/primitive_types/benchmarks.md new file mode 100644 index 0000000000..01aaa41b5c --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/primitive_types/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for primitive_types + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package-lock.json index b01648886f..019adfbf40 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/primitive_types/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/primitive_types": { + "name": "primitive_types_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/principal/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/principal/benchmarks.json new file mode 100644 index 0000000000..d2a02583ac --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/principal/benchmarks.json @@ -0,0 +1,6 @@ +{ + "principal": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/principal/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/principal/benchmarks.md new file mode 100644 index 0000000000..9cb5784f8c --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/principal/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for principal + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/principal/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/principal/package-lock.json index 644d41a9b7..05c9e10895 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/principal/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/principal/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/principal": { + "name": "principal_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/query/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/query/benchmarks.json new file mode 100644 index 0000000000..84c5c87d0b --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/query/benchmarks.json @@ -0,0 +1,6 @@ +{ + "query": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/query/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/query/benchmarks.md new file mode 100644 index 0000000000..8d22afaa5f --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/query/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for query + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/query/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/query/package-lock.json index 8d11ef1fc3..ac64f6523e 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/query/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/query/package-lock.json @@ -46,7 +46,7 @@ "name": "query_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.19.2", @@ -10326,7 +10326,7 @@ "version": "file:../../functional_syntax/query", "requires": { "@dfinity/agent": "0.19.2", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.4", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/randomness/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/randomness/benchmarks.json new file mode 100644 index 0000000000..e7dff3d27d --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/randomness/benchmarks.json @@ -0,0 +1,40 @@ +{ + "randomness": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1020164554" }, + "method_name": "postUpgrade", + "timestamp": { "__bigint__": "1730239614053162615" } + }, + { + "instructions": { "__bigint__": "1050155" }, + "method_name": "randomNumber", + "timestamp": { "__bigint__": "1730239618465979637" } + }, + { + "instructions": { "__bigint__": "1028861" }, + "method_name": "randomNumber", + "timestamp": { "__bigint__": "1730239620597302929" } + }, + { + "instructions": { "__bigint__": "1028861" }, + "method_name": "randomNumber", + "timestamp": { "__bigint__": "1730239622701415270" } + }, + { + "instructions": { "__bigint__": "1028861" }, + "method_name": "randomNumber", + "timestamp": { "__bigint__": "1730239624658089920" } + }, + { + "instructions": { "__bigint__": "1028861" }, + "method_name": "randomNumber", + "timestamp": { "__bigint__": "1730239626764547652" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/randomness/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/randomness/benchmarks.md new file mode 100644 index 0000000000..ab4ce924b2 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/randomness/benchmarks.md @@ -0,0 +1,29 @@ +# Benchmarks for randomness + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------ | ------------- | ----------- | ------------- | ----------------- | +| 0 | postUpgrade | 1_020_164_554 | 808_655_821 | $0.0010752454 | $1_075.24 | +| 1 | randomNumber | 1_050_155 | 1_010_062 | $0.0000013430 | $1.34 | +| 2 | randomNumber | 1_028_861 | 1_001_544 | $0.0000013317 | $1.33 | +| 3 | randomNumber | 1_028_861 | 1_001_544 | $0.0000013317 | $1.33 | +| 4 | randomNumber | 1_028_861 | 1_001_544 | $0.0000013317 | $1.33 | +| 5 | randomNumber | 1_028_861 | 1_001_544 | $0.0000013317 | $1.33 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/randomness/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/randomness/package-lock.json index 7e7b10c73a..2e2c478fc9 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/randomness/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/randomness/package-lock.json @@ -34,7 +34,7 @@ "name": "randomness_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -10184,7 +10184,7 @@ "version": "file:../../functional_syntax/randomness", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/recursion/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/recursion/benchmarks.json new file mode 100644 index 0000000000..ec8a495c17 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/recursion/benchmarks.json @@ -0,0 +1,28 @@ +{ + "recursion": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "6177459" }, + "method_name": "testRecServiceCall", + "timestamp": { "__bigint__": "1730239610266995449" } + } + ] + } + }, + "recursive_canister": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1020180114" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239595384913366" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/recursion/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/recursion/benchmarks.md new file mode 100644 index 0000000000..c6c628aef4 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/recursion/benchmarks.md @@ -0,0 +1,36 @@ +# Benchmarks for recursion + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------ | ------------ | --------- | ------------- | ----------------- | +| 0 | testRecServiceCall | 6_177_459 | 3_060_983 | $0.0000040701 | $4.07 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +# Benchmarks for recursive_canister + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ----------- | ------------- | ----------------- | +| 0 | init | 1_020_180_114 | 808_662_045 | $0.0010752537 | $1_075.25 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/recursion/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/recursion/package-lock.json index 6d7fcd6b50..b33a9f68e6 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/recursion/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/recursion/package-lock.json @@ -34,7 +34,7 @@ "name": "recursion_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -10208,7 +10208,7 @@ "version": "file:../../functional_syntax/recursion", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/rejections/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/rejections/benchmarks.json new file mode 100644 index 0000000000..f6782c21df --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/rejections/benchmarks.json @@ -0,0 +1,35 @@ +{ + "rejections": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1723935" }, + "method_name": "getRejectionCodeNoError", + "timestamp": { "__bigint__": "1730239606050900008" } + }, + { + "instructions": { "__bigint__": "1644387" }, + "method_name": "getRejectionCodeDestinationInvalid", + "timestamp": { "__bigint__": "1730239608373238155" } + }, + { + "instructions": { "__bigint__": "2061749" }, + "method_name": "getRejectionCodeCanisterReject", + "timestamp": { "__bigint__": "1730239610378806018" } + }, + { + "instructions": { "__bigint__": "1648778" }, + "method_name": "getRejectionCodeCanisterError", + "timestamp": { "__bigint__": "1730239612632410417" } + }, + { + "instructions": { "__bigint__": "2792641" }, + "method_name": "getRejectionMessage", + "timestamp": { "__bigint__": "1730239614511061172" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/rejections/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/rejections/benchmarks.md new file mode 100644 index 0000000000..4ca207f78f --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/rejections/benchmarks.md @@ -0,0 +1,28 @@ +# Benchmarks for rejections + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ---------------------------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | getRejectionCodeNoError | 1_723_935 | 1_279_574 | $0.0000017014 | $1.70 | +| 1 | getRejectionCodeDestinationInvalid | 1_644_387 | 1_247_754 | $0.0000016591 | $1.65 | +| 2 | getRejectionCodeCanisterReject | 2_061_749 | 1_414_699 | $0.0000018811 | $1.88 | +| 3 | getRejectionCodeCanisterError | 1_648_778 | 1_249_511 | $0.0000016614 | $1.66 | +| 4 | getRejectionMessage | 2_792_641 | 1_707_056 | $0.0000022698 | $2.26 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/rejections/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/rejections/package-lock.json index 831a1264b4..4c99cf5bc6 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/rejections/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/rejections/package-lock.json @@ -34,7 +34,7 @@ "name": "rejections_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -10213,7 +10213,7 @@ "version": "file:../../functional_syntax/rejections", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/benchmarks.json new file mode 100644 index 0000000000..5fadbb4e0f --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/benchmarks.json @@ -0,0 +1,20 @@ +{ + "simple_erc20": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "2086892" }, + "method_name": "initializeSupply", + "timestamp": { "__bigint__": "1730239597290502548" } + }, + { + "instructions": { "__bigint__": "1721073" }, + "method_name": "transfer", + "timestamp": { "__bigint__": "1730239599467586126" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/benchmarks.md new file mode 100644 index 0000000000..1f2a71e6c9 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for simple_erc20 + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ---------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | initializeSupply | 2_086_892 | 1_424_756 | $0.0000018945 | $1.89 | +| 1 | transfer | 1_721_073 | 1_278_429 | $0.0000016999 | $1.69 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package-lock.json index 54cbfbc254..0dc14709ad 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/simple_erc20/package-lock.json @@ -34,7 +34,7 @@ "name": "simple_erc20_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -10324,7 +10324,7 @@ "version": "file:../../functional_syntax/simple_erc20", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/benchmarks.json new file mode 100644 index 0000000000..26596a22c3 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/benchmarks.json @@ -0,0 +1,15 @@ +{ + "simple_user_accounts": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "3506185" }, + "method_name": "createUser", + "timestamp": { "__bigint__": "1730239598430805155" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/benchmarks.md new file mode 100644 index 0000000000..c3ef3a1b7e --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for simple_user_accounts + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | createUser | 3_506_185 | 1_992_474 | $0.0000026493 | $2.64 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package-lock.json index de32b3b930..1597d718bc 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/simple_user_accounts/package-lock.json @@ -36,7 +36,7 @@ "name": "simple_user_accounts_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0", + "azle": "0.24.1", "text-encoding": "^0.7.0" }, "devDependencies": { @@ -10335,7 +10335,7 @@ "version": "file:../../functional_syntax/simple_user_accounts", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "text-encoding": "^0.7.0", "ts-jest": "^29.1.5", diff --git a/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/benchmarks.json new file mode 100644 index 0000000000..8fb3b556dd --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/benchmarks.json @@ -0,0 +1,25 @@ +{ + "stable_b_tree_map_instruction_threshold": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "17341249097" }, + "method_name": "insertSmallRecord", + "timestamp": { "__bigint__": "1730239597297136901" } + }, + { + "instructions": { "__bigint__": "15818497677" }, + "method_name": "insertMediumRecord", + "timestamp": { "__bigint__": "1730239604605161134" } + }, + { + "instructions": { "__bigint__": "18226025813" }, + "method_name": "insertLargeRecord", + "timestamp": { "__bigint__": "1730239611817846540" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/benchmarks.md new file mode 100644 index 0000000000..edceb8aa77 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for stable_b_tree_map_instruction_threshold + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------ | -------------- | -------------- | ------------- | ----------------- | +| 0 | insertSmallRecord | 17_341_249_097 | 13_737_089_638 | $0.0182657960 | $18_265.79 | +| 1 | insertMediumRecord | 15_818_497_677 | 12_327_989_070 | $0.0163921572 | $16_392.15 | +| 2 | insertLargeRecord | 18_226_025_813 | 14_491_000_325 | $0.0192682484 | $19_268.24 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package-lock.json index 982bd52307..505311d7b0 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/stable_b_tree_map_instruction_threshold/package-lock.json @@ -18,6 +18,7 @@ } }, "../../functional_syntax/stable_b_tree_map_instruction_threshold": { + "name": "stable_b_tree_map_instruction_threshold_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1", diff --git a/tests/end_to_end/candid_rpc/class_syntax/timers/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/timers/benchmarks.json new file mode 100644 index 0000000000..0e1d359743 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/timers/benchmarks.json @@ -0,0 +1,25 @@ +{ + "timers": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "10140270" }, + "method_name": "setTimers", + "timestamp": { "__bigint__": "1730239598357674025" } + }, + { + "instructions": { "__bigint__": "1176847" }, + "method_name": "clearTimer", + "timestamp": { "__bigint__": "1730239612432093160" } + }, + { + "instructions": { "__bigint__": "1177576" }, + "method_name": "clearTimer", + "timestamp": { "__bigint__": "1730239612432093160" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/timers/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/timers/benchmarks.md new file mode 100644 index 0000000000..090b5bd1d1 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/timers/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for timers + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | setTimers | 10_140_270 | 4_646_108 | $0.0000061778 | $6.17 | +| 1 | clearTimer | 1_176_847 | 1_060_738 | $0.0000014104 | $1.41 | +| 2 | clearTimer | 1_177_576 | 1_061_030 | $0.0000014108 | $1.41 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/timers/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/timers/package-lock.json index d96c5c5780..441093abe9 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/timers/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/timers/package-lock.json @@ -17,6 +17,7 @@ } }, "../../functional_syntax/timers": { + "name": "timers_end_to_end_test_functional_syntax", "dev": true, "dependencies": { "azle": "0.24.1" diff --git a/tests/end_to_end/candid_rpc/class_syntax/tuple_types/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/tuple_types/benchmarks.json new file mode 100644 index 0000000000..7d7f0ad53d --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/tuple_types/benchmarks.json @@ -0,0 +1,6 @@ +{ + "tuple_types": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/tuple_types/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/tuple_types/benchmarks.md new file mode 100644 index 0000000000..d970ae03e0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/tuple_types/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for tuple_types + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package-lock.json index 4237e32ee6..fee5853147 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/tuple_types/package-lock.json @@ -34,7 +34,7 @@ "name": "tuple_types_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -10737,7 +10737,7 @@ "version": "file:../../functional_syntax/tuple_types", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/update/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/update/benchmarks.json new file mode 100644 index 0000000000..1d64f0936f --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/update/benchmarks.json @@ -0,0 +1,15 @@ +{ + "update": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1311462" }, + "method_name": "simpleUpdate", + "timestamp": { "__bigint__": "1730239603770181774" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/update/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/update/benchmarks.md new file mode 100644 index 0000000000..0ef713058f --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/update/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for update + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------ | ------------ | --------- | ------------- | ----------------- | +| 0 | simpleUpdate | 1_311_462 | 1_114_584 | $0.0000014820 | $1.48 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/update/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/update/package-lock.json index 3c8b3d6201..e51394d22f 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/update/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/update/package-lock.json @@ -34,7 +34,7 @@ "name": "update_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0" + "azle": "0.24.1" }, "devDependencies": { "@dfinity/agent": "0.11.1", @@ -10764,7 +10764,7 @@ "version": "file:../../functional_syntax/update", "requires": { "@dfinity/agent": "0.11.1", - "azle": "0.24.0", + "azle": "0.24.1", "jest": "^29.7.0", "ts-jest": "^29.1.5", "tsx": "^4.15.7", diff --git a/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/benchmarks.json b/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/benchmarks.json new file mode 100644 index 0000000000..69cecc2a37 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/benchmarks.json @@ -0,0 +1,6 @@ +{ + "vanilla_js": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/benchmarks.md b/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/benchmarks.md new file mode 100644 index 0000000000..f30a3e1322 --- /dev/null +++ b/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for vanilla_js + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package-lock.json b/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package-lock.json index cd6158a947..f654c8e246 100644 --- a/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package-lock.json +++ b/tests/end_to_end/candid_rpc/class_syntax/vanilla_js/package-lock.json @@ -36,7 +36,7 @@ "name": "vanilla_js_end_to_end_test_functional_syntax", "dev": true, "dependencies": { - "azle": "0.24.0", + "azle": "0.24.1", "js-sha256": "0.9.0" }, "devDependencies": { diff --git a/tests/end_to_end/candid_rpc/functional_syntax/async_await/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/async_await/benchmarks.json new file mode 100644 index 0000000000..87c09e893f --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/async_await/benchmarks.json @@ -0,0 +1,30 @@ +{ + "async_await": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "140032811" }, + "method_name": "getRandomnessDirectly", + "timestamp": { "__bigint__": "1730239639470972249" } + }, + { + "instructions": { "__bigint__": "140003306" }, + "method_name": "getRandomnessIndirectly", + "timestamp": { "__bigint__": "1730239641682046408" } + }, + { + "instructions": { "__bigint__": "140014004" }, + "method_name": "getRandomnessSuperIndirectly", + "timestamp": { "__bigint__": "1730239643620490731" } + }, + { + "instructions": { "__bigint__": "140125266" }, + "method_name": "returnPromiseVoid", + "timestamp": { "__bigint__": "1730239645587715526" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/async_await/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/async_await/benchmarks.md new file mode 100644 index 0000000000..ecfbd1a586 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/async_await/benchmarks.md @@ -0,0 +1,27 @@ +# Benchmarks for async_await + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ---------------------------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | getRandomnessDirectly | 140_032_811 | 56_603_124 | $0.0000752635 | $75.26 | +| 1 | getRandomnessIndirectly | 140_003_306 | 56_591_322 | $0.0000752478 | $75.24 | +| 2 | getRandomnessSuperIndirectly | 140_014_004 | 56_595_601 | $0.0000752535 | $75.25 | +| 3 | returnPromiseVoid | 140_125_266 | 56_640_106 | $0.0000753126 | $75.31 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/benchmarks.json new file mode 100644 index 0000000000..ff4af25a3b --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/benchmarks.json @@ -0,0 +1,35 @@ +{ + "audio_recorder": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "14180135" }, + "method_name": "createUser", + "timestamp": { "__bigint__": "1730239616308743847" } + }, + { + "instructions": { "__bigint__": "34665808" }, + "method_name": "createRecording", + "timestamp": { "__bigint__": "1730239618419632506" } + }, + { + "instructions": { "__bigint__": "48546887" }, + "method_name": "deleteRecording", + "timestamp": { "__bigint__": "1730239620547489115" } + }, + { + "instructions": { "__bigint__": "34451570" }, + "method_name": "createRecording", + "timestamp": { "__bigint__": "1730239622747151251" } + }, + { + "instructions": { "__bigint__": "34132712" }, + "method_name": "deleteUser", + "timestamp": { "__bigint__": "1730239624718525031" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/benchmarks.md new file mode 100644 index 0000000000..81a16eb8b5 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/audio_recorder/benchmarks.md @@ -0,0 +1,28 @@ +# Benchmarks for audio_recorder + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | --------------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | createUser | 14_180_135 | 6_262_054 | $0.0000083265 | $8.32 | +| 1 | createRecording | 34_665_808 | 14_456_323 | $0.0000192221 | $19.22 | +| 2 | deleteRecording | 48_546_887 | 20_008_754 | $0.0000266050 | $26.60 | +| 3 | createRecording | 34_451_570 | 14_370_628 | $0.0000191082 | $19.10 | +| 4 | deleteUser | 34_132_712 | 14_243_084 | $0.0000189386 | $18.93 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/blob_array/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/blob_array/benchmarks.json new file mode 100644 index 0000000000..536a72ba61 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/blob_array/benchmarks.json @@ -0,0 +1,6 @@ +{ + "blob_array": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/blob_array/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/blob_array/benchmarks.md new file mode 100644 index 0000000000..ef5b27c688 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/blob_array/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for blob_array + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/bytes/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/bytes/benchmarks.json new file mode 100644 index 0000000000..5a889fbeeb --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/bytes/benchmarks.json @@ -0,0 +1,35 @@ +{ + "bytes_canister": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1970302" }, + "method_name": "getBytes", + "timestamp": { "__bigint__": "1730239618469912425" } + }, + { + "instructions": { "__bigint__": "2646082" }, + "method_name": "getBytes", + "timestamp": { "__bigint__": "1730239620653477365" } + }, + { + "instructions": { "__bigint__": "9729760" }, + "method_name": "getBytes", + "timestamp": { "__bigint__": "1730239622841711429" } + }, + { + "instructions": { "__bigint__": "79926932" }, + "method_name": "getBytes", + "timestamp": { "__bigint__": "1730239626355798685" } + }, + { + "instructions": { "__bigint__": "157922525" }, + "method_name": "getBytes", + "timestamp": { "__bigint__": "1730239635474440237" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/bytes/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/bytes/benchmarks.md new file mode 100644 index 0000000000..a54633d2f8 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/bytes/benchmarks.md @@ -0,0 +1,28 @@ +# Benchmarks for bytes_canister + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | getBytes | 1_970_302 | 1_378_120 | $0.0000018324 | $1.83 | +| 1 | getBytes | 2_646_082 | 1_648_432 | $0.0000021919 | $2.19 | +| 2 | getBytes | 9_729_760 | 4_481_904 | $0.0000059595 | $5.95 | +| 3 | getBytes | 79_926_932 | 32_560_772 | $0.0000432951 | $43.29 | +| 4 | getBytes | 157_922_525 | 63_759_010 | $0.0000847784 | $84.77 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/call_raw/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/call_raw/benchmarks.json new file mode 100644 index 0000000000..82bd5e62dd --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/call_raw/benchmarks.json @@ -0,0 +1,20 @@ +{ + "call_raw": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1461471" }, + "method_name": "executeCallRaw", + "timestamp": { "__bigint__": "1730239622483184067" } + }, + { + "instructions": { "__bigint__": "1969302" }, + "method_name": "executeCallRaw", + "timestamp": { "__bigint__": "1730239624639929533" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/call_raw/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/call_raw/benchmarks.md new file mode 100644 index 0000000000..d197d85d3b --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/call_raw/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for call_raw + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | executeCallRaw | 1_461_471 | 1_174_588 | $0.0000015618 | $1.56 | +| 1 | executeCallRaw | 1_969_302 | 1_377_720 | $0.0000018319 | $1.83 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/benchmarks.json new file mode 100644 index 0000000000..56daf58293 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/benchmarks.json @@ -0,0 +1,6 @@ +{ + "candid_encoding": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/benchmarks.md new file mode 100644 index 0000000000..7a48c5be65 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/candid_encoding/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for candid_encoding + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/benchmarks.json new file mode 100644 index 0000000000..70dfa56b79 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/benchmarks.json @@ -0,0 +1,6 @@ +{ + "candid_keywords": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/benchmarks.md new file mode 100644 index 0000000000..9a6ce193b0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/candid_keywords/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for candid_keywords + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/complex_init/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/complex_init/benchmarks.json new file mode 100644 index 0000000000..200895247a --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/complex_init/benchmarks.json @@ -0,0 +1,28 @@ +{ + "complex_init": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "5352215311" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239605728040854" } + } + ] + } + }, + "rec_init": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "5357331916" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239617537211768" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/complex_init/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/complex_init/benchmarks.md new file mode 100644 index 0000000000..9fe81fa8df --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/complex_init/benchmarks.md @@ -0,0 +1,36 @@ +# Benchmarks for complex_init + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ------------- | ------------- | ----------------- | +| 0 | init | 5_352_215_311 | 4_141_476_124 | $0.0055067966 | $5_506.79 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +# Benchmarks for rec_init + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ------------- | ------------- | ----------------- | +| 0 | init | 5_357_331_916 | 4_143_522_766 | $0.0055095179 | $5_509.51 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/complex_types/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/complex_types/benchmarks.json new file mode 100644 index 0000000000..d8b6ea599a --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/complex_types/benchmarks.json @@ -0,0 +1,30 @@ +{ + "complex_types": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "80582078" }, + "method_name": "createUser", + "timestamp": { "__bigint__": "1730239607322899223" } + }, + { + "instructions": { "__bigint__": "164270619" }, + "method_name": "createThread", + "timestamp": { "__bigint__": "1730239609423877261" } + }, + { + "instructions": { "__bigint__": "86867411" }, + "method_name": "createPost", + "timestamp": { "__bigint__": "1730239611653908233" } + }, + { + "instructions": { "__bigint__": "173117467" }, + "method_name": "createReaction", + "timestamp": { "__bigint__": "1730239613577737014" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/complex_types/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/complex_types/benchmarks.md new file mode 100644 index 0000000000..e5454e1519 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/complex_types/benchmarks.md @@ -0,0 +1,27 @@ +# Benchmarks for complex_types + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | createUser | 80_582_078 | 32_822_831 | $0.0000436435 | $43.64 | +| 1 | createThread | 164_270_619 | 66_298_247 | $0.0000881548 | $88.15 | +| 2 | createPost | 86_867_411 | 35_336_964 | $0.0000469865 | $46.98 | +| 3 | createReaction | 173_117_467 | 69_836_986 | $0.0000928601 | $92.86 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/counter/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/counter/benchmarks.json new file mode 100644 index 0000000000..4328f1ca72 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/counter/benchmarks.json @@ -0,0 +1,25 @@ +{ + "counter": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1481635" }, + "method_name": "incrementCount", + "timestamp": { "__bigint__": "1730239611337737569" } + }, + { + "instructions": { "__bigint__": "1455012" }, + "method_name": "incrementCount", + "timestamp": { "__bigint__": "1730239613506409712" } + }, + { + "instructions": { "__bigint__": "1454315" }, + "method_name": "incrementCount", + "timestamp": { "__bigint__": "1730239615379288706" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/counter/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/counter/benchmarks.md new file mode 100644 index 0000000000..284ac0bda6 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/counter/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for counter + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | incrementCount | 1_481_635 | 1_182_654 | $0.0000015725 | $1.57 | +| 1 | incrementCount | 1_455_012 | 1_172_004 | $0.0000015584 | $1.55 | +| 2 | incrementCount | 1_454_315 | 1_171_726 | $0.0000015580 | $1.55 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/date/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/date/benchmarks.json new file mode 100644 index 0000000000..aed3da8538 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/date/benchmarks.json @@ -0,0 +1,6 @@ +{ + "date": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/date/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/date/benchmarks.md new file mode 100644 index 0000000000..147974e8c0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/date/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for date + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/benchmarks.json new file mode 100644 index 0000000000..31a3d2e248 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/benchmarks.json @@ -0,0 +1,45 @@ +{ + "ethereum_json_rpc": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "5469808001" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239628722688553" } + }, + { + "instructions": { "__bigint__": "170482490" }, + "method_name": "ethGetBalance", + "timestamp": { "__bigint__": "1730239635818107874" } + }, + { + "instructions": { "__bigint__": "170442545" }, + "method_name": "ethGetBalance", + "timestamp": { "__bigint__": "1730239637908456001" } + }, + { + "instructions": { "__bigint__": "170450296" }, + "method_name": "ethGetBalance", + "timestamp": { "__bigint__": "1730239639999643870" } + }, + { + "instructions": { "__bigint__": "169399953" }, + "method_name": "ethGetBlockByNumber", + "timestamp": { "__bigint__": "1730239641852314236" } + }, + { + "instructions": { "__bigint__": "169462701" }, + "method_name": "ethGetBlockByNumber", + "timestamp": { "__bigint__": "1730239643914338898" } + }, + { + "instructions": { "__bigint__": "169411886" }, + "method_name": "ethGetBlockByNumber", + "timestamp": { "__bigint__": "1730239646098852693" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/benchmarks.md new file mode 100644 index 0000000000..6abc53ad40 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/ethereum_json_rpc/benchmarks.md @@ -0,0 +1,30 @@ +# Benchmarks for ethereum_json_rpc + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | +| 0 | init | 5_469_808_001 | 4_188_513_200 | $0.0055693403 | $5_569.34 | +| 1 | ethGetBalance | 170_482_490 | 68_782_996 | $0.0000914587 | $91.45 | +| 2 | ethGetBalance | 170_442_545 | 68_767_018 | $0.0000914374 | $91.43 | +| 3 | ethGetBalance | 170_450_296 | 68_770_118 | $0.0000914416 | $91.44 | +| 4 | ethGetBlockByNumber | 169_399_953 | 68_349_981 | $0.0000908829 | $90.88 | +| 5 | ethGetBlockByNumber | 169_462_701 | 68_375_080 | $0.0000909163 | $90.91 | +| 6 | ethGetBlockByNumber | 169_411_886 | 68_354_754 | $0.0000908893 | $90.88 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/benchmarks.json new file mode 100644 index 0000000000..5b04fe5806 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/benchmarks.json @@ -0,0 +1,1653 @@ +{ + "heartbeat_async": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "139749422" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239648850899257" } + }, + { + "instructions": { "__bigint__": "139809216" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239648873375450" } + }, + { + "instructions": { "__bigint__": "139802816" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239650126951703" } + }, + { + "instructions": { "__bigint__": "139630209" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239652175209413" } + }, + { + "instructions": { "__bigint__": "139854768" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239652621107716" } + }, + { + "instructions": { "__bigint__": "139672386" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239652642866491" } + }, + { + "instructions": { "__bigint__": "139739615" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239652889139830" } + }, + { + "instructions": { "__bigint__": "139758481" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239652913911823" } + }, + { + "instructions": { "__bigint__": "139928068" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239653161905295" } + }, + { + "instructions": { "__bigint__": "139765418" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239653182687334" } + }, + { + "instructions": { "__bigint__": "139871740" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239653429919373" } + }, + { + "instructions": { "__bigint__": "139686293" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239653454369461" } + }, + { + "instructions": { "__bigint__": "140007444" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239653713123550" } + }, + { + "instructions": { "__bigint__": "139696774" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239653737427421" } + }, + { + "instructions": { "__bigint__": "139886410" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239653993211000" } + }, + { + "instructions": { "__bigint__": "139781498" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239654046044568" } + }, + { + "instructions": { "__bigint__": "139829651" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239654323956226" } + }, + { + "instructions": { "__bigint__": "139883189" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239654349583399" } + }, + { + "instructions": { "__bigint__": "139938825" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239654603072361" } + }, + { + "instructions": { "__bigint__": "139816176" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239654629643989" } + }, + { + "instructions": { "__bigint__": "139882379" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239654882614755" } + }, + { + "instructions": { "__bigint__": "139858649" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239654910207506" } + }, + { + "instructions": { "__bigint__": "139829396" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239655178803060" } + }, + { + "instructions": { "__bigint__": "139870482" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239655209443785" } + }, + { + "instructions": { "__bigint__": "139862804" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239655478070234" } + }, + { + "instructions": { "__bigint__": "139821275" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239655500448844" } + }, + { + "instructions": { "__bigint__": "139916837" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239655554439598" } + }, + { + "instructions": { "__bigint__": "139789041" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239655793167790" } + }, + { + "instructions": { "__bigint__": "139896599" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239656080515001" } + }, + { + "instructions": { "__bigint__": "139941112" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239656101407655" } + }, + { + "instructions": { "__bigint__": "139823475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239656346530739" } + }, + { + "instructions": { "__bigint__": "139852882" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239656371250675" } + }, + { + "instructions": { "__bigint__": "139876199" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239656623333390" } + }, + { + "instructions": { "__bigint__": "139760066" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239656645969807" } + }, + { + "instructions": { "__bigint__": "139796767" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239656892853272" } + }, + { + "instructions": { "__bigint__": "139755574" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239657138513825" } + }, + { + "instructions": { "__bigint__": "139879587" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239657412321763" } + }, + { + "instructions": { "__bigint__": "139820447" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239660338418797" } + }, + { + "instructions": { "__bigint__": "139870946" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239660966168973" } + }, + { + "instructions": { "__bigint__": "139783505" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661013642605" } + }, + { + "instructions": { "__bigint__": "139747233" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661035171984" } + }, + { + "instructions": { "__bigint__": "139836632" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661283655449" } + }, + { + "instructions": { "__bigint__": "139858733" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661306947963" } + }, + { + "instructions": { "__bigint__": "139769750" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661557559600" } + }, + { + "instructions": { "__bigint__": "139795248" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661783560572" } + }, + { + "instructions": { "__bigint__": "139732891" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662030237727" } + }, + { + "instructions": { "__bigint__": "139869669" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662051462424" } + }, + { + "instructions": { "__bigint__": "139848949" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662099622107" } + }, + { + "instructions": { "__bigint__": "139839481" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662329089387" } + }, + { + "instructions": { "__bigint__": "139805421" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662622460238" } + }, + { + "instructions": { "__bigint__": "139817324" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662644937650" } + }, + { + "instructions": { "__bigint__": "139753781" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662702253282" } + }, + { + "instructions": { "__bigint__": "139797471" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662730219977" } + }, + { + "instructions": { "__bigint__": "139858365" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662996423377" } + }, + { + "instructions": { "__bigint__": "139737760" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663023343004" } + }, + { + "instructions": { "__bigint__": "139789123" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663485129608" } + }, + { + "instructions": { "__bigint__": "139992140" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663509047940" } + }, + { + "instructions": { "__bigint__": "139894348" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663562839183" } + }, + { + "instructions": { "__bigint__": "139899721" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663788588161" } + }, + { + "instructions": { "__bigint__": "139890700" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664050826002" } + }, + { + "instructions": { "__bigint__": "139868474" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664075472233" } + }, + { + "instructions": { "__bigint__": "139893381" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664150168151" } + }, + { + "instructions": { "__bigint__": "139866059" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664177698505" } + }, + { + "instructions": { "__bigint__": "139815468" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664645849981" } + }, + { + "instructions": { "__bigint__": "139901606" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664672219784" } + }, + { + "instructions": { "__bigint__": "139785981" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664929849316" } + }, + { + "instructions": { "__bigint__": "139934113" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664958169138" } + }, + { + "instructions": { "__bigint__": "139849218" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665030451066" } + }, + { + "instructions": { "__bigint__": "139866925" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665261521872" } + }, + { + "instructions": { "__bigint__": "139871861" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665514968778" } + }, + { + "instructions": { "__bigint__": "139949917" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665536978693" } + }, + { + "instructions": { "__bigint__": "139970873" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665784895048" } + }, + { + "instructions": { "__bigint__": "139895389" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665810004983" } + }, + { + "instructions": { "__bigint__": "139845191" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666059346848" } + }, + { + "instructions": { "__bigint__": "139867198" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666102175447" } + }, + { + "instructions": { "__bigint__": "139845318" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666358825104" } + }, + { + "instructions": { "__bigint__": "139963185" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666380912287" } + }, + { + "instructions": { "__bigint__": "139851954" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666832694285" } + }, + { + "instructions": { "__bigint__": "140046253" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666858212114" } + }, + { + "instructions": { "__bigint__": "139840152" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666907491516" } + }, + { + "instructions": { "__bigint__": "140008078" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667138861404" } + }, + { + "instructions": { "__bigint__": "139680372" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667391493348" } + }, + { + "instructions": { "__bigint__": "139945385" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667413987626" } + }, + { + "instructions": { "__bigint__": "139857128" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667665260905" } + }, + { + "instructions": { "__bigint__": "139847486" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667687427737" } + }, + { + "instructions": { "__bigint__": "139852712" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667944117550" } + }, + { + "instructions": { "__bigint__": "140062124" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667967810215" } + }, + { + "instructions": { "__bigint__": "139774759" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668222306891" } + }, + { + "instructions": { "__bigint__": "139899311" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668246295461" } + }, + { + "instructions": { "__bigint__": "139802787" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668498437394" } + }, + { + "instructions": { "__bigint__": "140003801" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668522463764" } + }, + { + "instructions": { "__bigint__": "139986344" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668771580465" } + }, + { + "instructions": { "__bigint__": "140015176" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668796067202" } + }, + { + "instructions": { "__bigint__": "139847409" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669050409599" } + }, + { + "instructions": { "__bigint__": "139941065" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669075891108" } + }, + { + "instructions": { "__bigint__": "139886973" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669329179699" } + }, + { + "instructions": { "__bigint__": "140026538" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669352658000" } + }, + { + "instructions": { "__bigint__": "139861357" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669601910917" } + }, + { + "instructions": { "__bigint__": "140037021" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669628423647" } + }, + { + "instructions": { "__bigint__": "139961404" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669885133578" } + }, + { + "instructions": { "__bigint__": "140165647" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669908311864" } + }, + { + "instructions": { "__bigint__": "140072469" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239670966729935" } + }, + { + "instructions": { "__bigint__": "140266818" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671091028185" } + }, + { + "instructions": { "__bigint__": "140164737" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671135600957" } + }, + { + "instructions": { "__bigint__": "140403790" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671366369474" } + }, + { + "instructions": { "__bigint__": "140188238" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671631585674" } + }, + { + "instructions": { "__bigint__": "140290540" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671668010501" } + }, + { + "instructions": { "__bigint__": "140232221" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671916650173" } + }, + { + "instructions": { "__bigint__": "140242432" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671937573294" } + }, + { + "instructions": { "__bigint__": "140205298" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672190212385" } + }, + { + "instructions": { "__bigint__": "140280308" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672209576249" } + }, + { + "instructions": { "__bigint__": "140140813" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672654471857" } + }, + { + "instructions": { "__bigint__": "140143421" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672674423089" } + }, + { + "instructions": { "__bigint__": "140188136" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672712759033" } + }, + { + "instructions": { "__bigint__": "140234515" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672935030396" } + }, + { + "instructions": { "__bigint__": "140090269" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673175994211" } + }, + { + "instructions": { "__bigint__": "140281041" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673194160574" } + }, + { + "instructions": { "__bigint__": "140263671" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673436304519" } + }, + { + "instructions": { "__bigint__": "140265102" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673454038235" } + }, + { + "instructions": { "__bigint__": "140172542" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673696778663" } + }, + { + "instructions": { "__bigint__": "140231376" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673716458885" } + }, + { + "instructions": { "__bigint__": "140209553" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673966332810" } + }, + { + "instructions": { "__bigint__": "140276186" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673985378837" } + }, + { + "instructions": { "__bigint__": "140256120" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674223652740" } + }, + { + "instructions": { "__bigint__": "140259008" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674240981937" } + }, + { + "instructions": { "__bigint__": "140246643" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674478249274" } + }, + { + "instructions": { "__bigint__": "140273729" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674495307992" } + }, + { + "instructions": { "__bigint__": "140312984" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674939765375" } + }, + { + "instructions": { "__bigint__": "140353906" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674957563104" } + }, + { + "instructions": { "__bigint__": "140253771" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674993627010" } + }, + { + "instructions": { "__bigint__": "140163535" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675215039948" } + }, + { + "instructions": { "__bigint__": "140210098" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675459039120" } + }, + { + "instructions": { "__bigint__": "140189466" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675484505057" } + }, + { + "instructions": { "__bigint__": "140073162" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675745064190" } + }, + { + "instructions": { "__bigint__": "140188179" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675767097608" } + }, + { + "instructions": { "__bigint__": "140157437" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676037478131" } + }, + { + "instructions": { "__bigint__": "140159769" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676069533867" } + }, + { + "instructions": { "__bigint__": "140112463" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676321506334" } + }, + { + "instructions": { "__bigint__": "140150146" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676549561179" } + }, + { + "instructions": { "__bigint__": "139983103" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676819153567" } + }, + { + "instructions": { "__bigint__": "140136958" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676857614506" } + }, + { + "instructions": { "__bigint__": "140085430" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676926276448" } + }, + { + "instructions": { "__bigint__": "140091620" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677166098172" } + }, + { + "instructions": { "__bigint__": "140100480" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677427645855" } + }, + { + "instructions": { "__bigint__": "140028006" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677462912793" } + }, + { + "instructions": { "__bigint__": "140156872" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677557714951" } + }, + { + "instructions": { "__bigint__": "140053625" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677782901780" } + }, + { + "instructions": { "__bigint__": "140053123" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678036621183" } + }, + { + "instructions": { "__bigint__": "140029165" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678274025680" } + }, + { + "instructions": { "__bigint__": "140161700" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678340238704" } + }, + { + "instructions": { "__bigint__": "140074202" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678371065838" } + } + ] + } + }, + "heartbeat_sync": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "91478" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239656913791572" } + }, + { + "instructions": { "__bigint__": "83610" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239657138513825" } + }, + { + "instructions": { "__bigint__": "83612" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239657412321763" } + }, + { + "instructions": { "__bigint__": "83600" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239658478454585" } + }, + { + "instructions": { "__bigint__": "83611" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239660338418797" } + }, + { + "instructions": { "__bigint__": "83692" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239660966168973" } + }, + { + "instructions": { "__bigint__": "83820" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239660988013447" } + }, + { + "instructions": { "__bigint__": "83899" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661013642605" } + }, + { + "instructions": { "__bigint__": "83958" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661035171984" } + }, + { + "instructions": { "__bigint__": "83938" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661262325333" } + }, + { + "instructions": { "__bigint__": "83760" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661283655449" } + }, + { + "instructions": { "__bigint__": "83901" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661306947963" } + }, + { + "instructions": { "__bigint__": "83973" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661536321208" } + }, + { + "instructions": { "__bigint__": "83902" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661557559600" } + }, + { + "instructions": { "__bigint__": "83973" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661783560572" } + }, + { + "instructions": { "__bigint__": "83893" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239661804665974" } + }, + { + "instructions": { "__bigint__": "83753" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662030237727" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662051462424" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662075403901" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662099622107" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662329089387" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662365792503" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662622460238" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662644937650" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662676052618" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662702253282" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662730219977" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662964400471" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239662996423377" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663023343004" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663254853275" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663485129608" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663509047940" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663536437882" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663562839183" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663788588161" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239663819708228" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664050826002" } + }, + { + "instructions": { "__bigint__": "83722" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664075472233" } + }, + { + "instructions": { "__bigint__": "83475" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664104920644" } + }, + { + "instructions": { "__bigint__": "83731" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664150168151" } + }, + { + "instructions": { "__bigint__": "83493" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664177698505" } + }, + { + "instructions": { "__bigint__": "83861" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664416597675" } + }, + { + "instructions": { "__bigint__": "83529" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664645849981" } + }, + { + "instructions": { "__bigint__": "83859" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664672219784" } + }, + { + "instructions": { "__bigint__": "83751" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664699706136" } + }, + { + "instructions": { "__bigint__": "83927" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664929849316" } + }, + { + "instructions": { "__bigint__": "83656" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664958169138" } + }, + { + "instructions": { "__bigint__": "83853" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239664986374803" } + }, + { + "instructions": { "__bigint__": "83662" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665030451066" } + }, + { + "instructions": { "__bigint__": "83621" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665261521872" } + }, + { + "instructions": { "__bigint__": "83573" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665285773100" } + }, + { + "instructions": { "__bigint__": "83627" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665514968778" } + }, + { + "instructions": { "__bigint__": "84017" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665536978693" } + }, + { + "instructions": { "__bigint__": "83853" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665762847865" } + }, + { + "instructions": { "__bigint__": "83662" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665784895048" } + }, + { + "instructions": { "__bigint__": "83621" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665810004983" } + }, + { + "instructions": { "__bigint__": "83573" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239665832192599" } + }, + { + "instructions": { "__bigint__": "83627" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666059346848" } + }, + { + "instructions": { "__bigint__": "84017" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666102175447" } + }, + { + "instructions": { "__bigint__": "83853" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666336640068" } + }, + { + "instructions": { "__bigint__": "83662" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666358825104" } + }, + { + "instructions": { "__bigint__": "83621" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666380912287" } + }, + { + "instructions": { "__bigint__": "83573" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666606171061" } + }, + { + "instructions": { "__bigint__": "83627" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666832694285" } + }, + { + "instructions": { "__bigint__": "84017" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666858212114" } + }, + { + "instructions": { "__bigint__": "83853" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666883747756" } + }, + { + "instructions": { "__bigint__": "83671" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239666907491516" } + }, + { + "instructions": { "__bigint__": "83649" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667138861404" } + }, + { + "instructions": { "__bigint__": "83601" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667161849009" } + }, + { + "instructions": { "__bigint__": "84041" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667391493348" } + }, + { + "instructions": { "__bigint__": "84016" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667413987626" } + }, + { + "instructions": { "__bigint__": "83932" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667642994095" } + }, + { + "instructions": { "__bigint__": "84006" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667665260905" } + }, + { + "instructions": { "__bigint__": "83896" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667687427737" } + }, + { + "instructions": { "__bigint__": "84069" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667715404744" } + }, + { + "instructions": { "__bigint__": "84143" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667944117550" } + }, + { + "instructions": { "__bigint__": "83559" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667967810215" } + }, + { + "instructions": { "__bigint__": "84065" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239667995287471" } + }, + { + "instructions": { "__bigint__": "84110" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668222306891" } + }, + { + "instructions": { "__bigint__": "84396" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668246295461" } + }, + { + "instructions": { "__bigint__": "83790" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668473849153" } + }, + { + "instructions": { "__bigint__": "83927" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668498437394" } + }, + { + "instructions": { "__bigint__": "84348" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668522463764" } + }, + { + "instructions": { "__bigint__": "84365" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668545608086" } + }, + { + "instructions": { "__bigint__": "83997" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668771580465" } + }, + { + "instructions": { "__bigint__": "84683" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668796067202" } + }, + { + "instructions": { "__bigint__": "84150" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239668823265874" } + }, + { + "instructions": { "__bigint__": "83981" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669050409599" } + }, + { + "instructions": { "__bigint__": "84017" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669075891108" } + }, + { + "instructions": { "__bigint__": "84037" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669306402110" } + }, + { + "instructions": { "__bigint__": "84160" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669329179699" } + }, + { + "instructions": { "__bigint__": "84740" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669352658000" } + }, + { + "instructions": { "__bigint__": "84732" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669375111923" } + }, + { + "instructions": { "__bigint__": "84823" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669601910917" } + }, + { + "instructions": { "__bigint__": "84565" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669628423647" } + }, + { + "instructions": { "__bigint__": "84148" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669657306850" } + }, + { + "instructions": { "__bigint__": "84018" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669885133578" } + }, + { + "instructions": { "__bigint__": "84374" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239669908311864" } + }, + { + "instructions": { "__bigint__": "83727" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239670740893464" } + }, + { + "instructions": { "__bigint__": "84920" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239670966729935" } + }, + { + "instructions": { "__bigint__": "84187" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671091028185" } + }, + { + "instructions": { "__bigint__": "84070" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671112865395" } + }, + { + "instructions": { "__bigint__": "84534" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671135600957" } + }, + { + "instructions": { "__bigint__": "84332" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671366369474" } + }, + { + "instructions": { "__bigint__": "84126" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671597315233" } + }, + { + "instructions": { "__bigint__": "84219" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671631585674" } + }, + { + "instructions": { "__bigint__": "84387" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671668010501" } + }, + { + "instructions": { "__bigint__": "84526" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671690277782" } + }, + { + "instructions": { "__bigint__": "84684" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671916650173" } + }, + { + "instructions": { "__bigint__": "84277" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239671937573294" } + }, + { + "instructions": { "__bigint__": "84009" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672169458783" } + }, + { + "instructions": { "__bigint__": "83708" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672190212385" } + }, + { + "instructions": { "__bigint__": "84946" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672209576249" } + }, + { + "instructions": { "__bigint__": "84386" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672432109875" } + }, + { + "instructions": { "__bigint__": "85060" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672654471857" } + }, + { + "instructions": { "__bigint__": "84962" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672674423089" } + }, + { + "instructions": { "__bigint__": "84430" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672693886714" } + }, + { + "instructions": { "__bigint__": "84889" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672712759033" } + }, + { + "instructions": { "__bigint__": "84845" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672935030396" } + }, + { + "instructions": { "__bigint__": "85315" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239672954024886" } + }, + { + "instructions": { "__bigint__": "84546" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673175994211" } + }, + { + "instructions": { "__bigint__": "84783" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673194160574" } + }, + { + "instructions": { "__bigint__": "84543" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673213044725" } + }, + { + "instructions": { "__bigint__": "84619" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673436304519" } + }, + { + "instructions": { "__bigint__": "84060" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673454038235" } + }, + { + "instructions": { "__bigint__": "84842" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673676586601" } + }, + { + "instructions": { "__bigint__": "84818" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673696778663" } + }, + { + "instructions": { "__bigint__": "85021" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673716458885" } + }, + { + "instructions": { "__bigint__": "84760" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673741887225" } + }, + { + "instructions": { "__bigint__": "84252" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673966332810" } + }, + { + "instructions": { "__bigint__": "84668" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239673985378837" } + }, + { + "instructions": { "__bigint__": "84523" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674205095213" } + }, + { + "instructions": { "__bigint__": "83775" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674223652740" } + }, + { + "instructions": { "__bigint__": "84006" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674240981937" } + }, + { + "instructions": { "__bigint__": "84231" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674460928846" } + }, + { + "instructions": { "__bigint__": "85219" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674478249274" } + }, + { + "instructions": { "__bigint__": "84760" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674495307992" } + }, + { + "instructions": { "__bigint__": "84252" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674717115663" } + }, + { + "instructions": { "__bigint__": "84668" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674939765375" } + }, + { + "instructions": { "__bigint__": "84523" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674957563104" } + }, + { + "instructions": { "__bigint__": "83775" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674976476079" } + }, + { + "instructions": { "__bigint__": "84006" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239674993627010" } + }, + { + "instructions": { "__bigint__": "84231" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675215039948" } + }, + { + "instructions": { "__bigint__": "85219" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675233521302" } + }, + { + "instructions": { "__bigint__": "84760" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675459039120" } + }, + { + "instructions": { "__bigint__": "84252" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675484505057" } + }, + { + "instructions": { "__bigint__": "84668" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675510258524" } + }, + { + "instructions": { "__bigint__": "84523" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675745064190" } + }, + { + "instructions": { "__bigint__": "83775" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675767097608" } + }, + { + "instructions": { "__bigint__": "84006" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239675805708868" } + }, + { + "instructions": { "__bigint__": "84231" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676037478131" } + }, + { + "instructions": { "__bigint__": "85219" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676069533867" } + }, + { + "instructions": { "__bigint__": "84760" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676300586992" } + }, + { + "instructions": { "__bigint__": "84252" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676321506334" } + }, + { + "instructions": { "__bigint__": "84668" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676549561179" } + }, + { + "instructions": { "__bigint__": "84523" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676576611575" } + }, + { + "instructions": { "__bigint__": "83775" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676819153567" } + }, + { + "instructions": { "__bigint__": "84006" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676857614506" } + }, + { + "instructions": { "__bigint__": "84231" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676885083081" } + }, + { + "instructions": { "__bigint__": "85229" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239676926276448" } + }, + { + "instructions": { "__bigint__": "84770" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677166098172" } + }, + { + "instructions": { "__bigint__": "84262" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677195541362" } + }, + { + "instructions": { "__bigint__": "84678" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677427645855" } + }, + { + "instructions": { "__bigint__": "84537" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677462912793" } + }, + { + "instructions": { "__bigint__": "83775" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677514057766" } + }, + { + "instructions": { "__bigint__": "84006" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677557714951" } + }, + { + "instructions": { "__bigint__": "84231" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239677782901780" } + }, + { + "instructions": { "__bigint__": "85289" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678008955287" } + }, + { + "instructions": { "__bigint__": "84547" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678036621183" } + }, + { + "instructions": { "__bigint__": "84181" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678274025680" } + }, + { + "instructions": { "__bigint__": "84030" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678310887197" } + }, + { + "instructions": { "__bigint__": "84924" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678340238704" } + }, + { + "instructions": { "__bigint__": "84090" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678371065838" } + }, + { + "instructions": { "__bigint__": "84382" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678610047211" } + }, + { + "instructions": { "__bigint__": "84676" }, + "method_name": "heartbeat", + "timestamp": { "__bigint__": "1730239678840718447" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/benchmarks.md new file mode 100644 index 0000000000..a9dd3f02ae --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/heartbeat/benchmarks.md @@ -0,0 +1,361 @@ +# Benchmarks for heartbeat_async + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | heartbeat | 139_749_422 | 56_489_768 | $0.0000751127 | $75.11 | +| 1 | heartbeat | 139_809_216 | 56_513_686 | $0.0000751446 | $75.14 | +| 2 | heartbeat | 139_802_816 | 56_511_126 | $0.0000751411 | $75.14 | +| 3 | heartbeat | 139_630_209 | 56_442_083 | $0.0000750493 | $75.04 | +| 4 | heartbeat | 139_854_768 | 56_531_907 | $0.0000751688 | $75.16 | +| 5 | heartbeat | 139_672_386 | 56_458_954 | $0.0000750718 | $75.07 | +| 6 | heartbeat | 139_739_615 | 56_485_846 | $0.0000751075 | $75.10 | +| 7 | heartbeat | 139_758_481 | 56_493_392 | $0.0000751176 | $75.11 | +| 8 | heartbeat | 139_928_068 | 56_561_227 | $0.0000752078 | $75.20 | +| 9 | heartbeat | 139_765_418 | 56_496_167 | $0.0000751213 | $75.12 | +| 10 | heartbeat | 139_871_740 | 56_538_696 | $0.0000751778 | $75.17 | +| 11 | heartbeat | 139_686_293 | 56_464_517 | $0.0000750792 | $75.07 | +| 12 | heartbeat | 140_007_444 | 56_592_977 | $0.0000752500 | $75.24 | +| 13 | heartbeat | 139_696_774 | 56_468_709 | $0.0000750847 | $75.08 | +| 14 | heartbeat | 139_886_410 | 56_544_564 | $0.0000751856 | $75.18 | +| 15 | heartbeat | 139_781_498 | 56_502_599 | $0.0000751298 | $75.12 | +| 16 | heartbeat | 139_829_651 | 56_521_860 | $0.0000751554 | $75.15 | +| 17 | heartbeat | 139_883_189 | 56_543_275 | $0.0000751839 | $75.18 | +| 18 | heartbeat | 139_938_825 | 56_565_530 | $0.0000752135 | $75.21 | +| 19 | heartbeat | 139_816_176 | 56_516_470 | $0.0000751483 | $75.14 | +| 20 | heartbeat | 139_882_379 | 56_542_951 | $0.0000751835 | $75.18 | +| 21 | heartbeat | 139_858_649 | 56_533_459 | $0.0000751708 | $75.17 | +| 22 | heartbeat | 139_829_396 | 56_521_758 | $0.0000751553 | $75.15 | +| 23 | heartbeat | 139_870_482 | 56_538_192 | $0.0000751771 | $75.17 | +| 24 | heartbeat | 139_862_804 | 56_535_121 | $0.0000751731 | $75.17 | +| 25 | heartbeat | 139_821_275 | 56_518_510 | $0.0000751510 | $75.15 | +| 26 | heartbeat | 139_916_837 | 56_556_734 | $0.0000752018 | $75.20 | +| 27 | heartbeat | 139_789_041 | 56_505_616 | $0.0000751338 | $75.13 | +| 28 | heartbeat | 139_896_599 | 56_548_639 | $0.0000751910 | $75.19 | +| 29 | heartbeat | 139_941_112 | 56_566_444 | $0.0000752147 | $75.21 | +| 30 | heartbeat | 139_823_475 | 56_519_390 | $0.0000751521 | $75.15 | +| 31 | heartbeat | 139_852_882 | 56_531_152 | $0.0000751678 | $75.16 | +| 32 | heartbeat | 139_876_199 | 56_540_479 | $0.0000751802 | $75.18 | +| 33 | heartbeat | 139_760_066 | 56_494_026 | $0.0000751184 | $75.11 | +| 34 | heartbeat | 139_796_767 | 56_508_706 | $0.0000751379 | $75.13 | +| 35 | heartbeat | 139_755_574 | 56_492_229 | $0.0000751160 | $75.11 | +| 36 | heartbeat | 139_879_587 | 56_541_834 | $0.0000751820 | $75.18 | +| 37 | heartbeat | 139_820_447 | 56_518_178 | $0.0000751505 | $75.15 | +| 38 | heartbeat | 139_870_946 | 56_538_378 | $0.0000751774 | $75.17 | +| 39 | heartbeat | 139_783_505 | 56_503_402 | $0.0000751309 | $75.13 | +| 40 | heartbeat | 139_747_233 | 56_488_893 | $0.0000751116 | $75.11 | +| 41 | heartbeat | 139_836_632 | 56_524_652 | $0.0000751591 | $75.15 | +| 42 | heartbeat | 139_858_733 | 56_533_493 | $0.0000751709 | $75.17 | +| 43 | heartbeat | 139_769_750 | 56_497_900 | $0.0000751236 | $75.12 | +| 44 | heartbeat | 139_795_248 | 56_508_099 | $0.0000751371 | $75.13 | +| 45 | heartbeat | 139_732_891 | 56_483_156 | $0.0000751040 | $75.10 | +| 46 | heartbeat | 139_869_669 | 56_537_867 | $0.0000751767 | $75.17 | +| 47 | heartbeat | 139_848_949 | 56_529_579 | $0.0000751657 | $75.16 | +| 48 | heartbeat | 139_839_481 | 56_525_792 | $0.0000751606 | $75.16 | +| 49 | heartbeat | 139_805_421 | 56_512_168 | $0.0000751425 | $75.14 | +| 50 | heartbeat | 139_817_324 | 56_516_929 | $0.0000751489 | $75.14 | +| 51 | heartbeat | 139_753_781 | 56_491_512 | $0.0000751151 | $75.11 | +| 52 | heartbeat | 139_797_471 | 56_508_988 | $0.0000751383 | $75.13 | +| 53 | heartbeat | 139_858_365 | 56_533_346 | $0.0000751707 | $75.17 | +| 54 | heartbeat | 139_737_760 | 56_485_104 | $0.0000751065 | $75.10 | +| 55 | heartbeat | 139_789_123 | 56_505_649 | $0.0000751339 | $75.13 | +| 56 | heartbeat | 139_992_140 | 56_586_856 | $0.0000752418 | $75.24 | +| 57 | heartbeat | 139_894_348 | 56_547_739 | $0.0000751898 | $75.18 | +| 58 | heartbeat | 139_899_721 | 56_549_888 | $0.0000751927 | $75.19 | +| 59 | heartbeat | 139_890_700 | 56_546_280 | $0.0000751879 | $75.18 | +| 60 | heartbeat | 139_868_474 | 56_537_389 | $0.0000751761 | $75.17 | +| 61 | heartbeat | 139_893_381 | 56_547_352 | $0.0000751893 | $75.18 | +| 62 | heartbeat | 139_866_059 | 56_536_423 | $0.0000751748 | $75.17 | +| 63 | heartbeat | 139_815_468 | 56_516_187 | $0.0000751479 | $75.14 | +| 64 | heartbeat | 139_901_606 | 56_550_642 | $0.0000751937 | $75.19 | +| 65 | heartbeat | 139_785_981 | 56_504_392 | $0.0000751322 | $75.13 | +| 66 | heartbeat | 139_934_113 | 56_563_645 | $0.0000752110 | $75.21 | +| 67 | heartbeat | 139_849_218 | 56_529_687 | $0.0000751658 | $75.16 | +| 68 | heartbeat | 139_866_925 | 56_536_770 | $0.0000751752 | $75.17 | +| 69 | heartbeat | 139_871_861 | 56_538_744 | $0.0000751779 | $75.17 | +| 70 | heartbeat | 139_949_917 | 56_569_966 | $0.0000752194 | $75.21 | +| 71 | heartbeat | 139_970_873 | 56_578_349 | $0.0000752305 | $75.23 | +| 72 | heartbeat | 139_895_389 | 56_548_155 | $0.0000751904 | $75.19 | +| 73 | heartbeat | 139_845_191 | 56_528_076 | $0.0000751637 | $75.16 | +| 74 | heartbeat | 139_867_198 | 56_536_879 | $0.0000751754 | $75.17 | +| 75 | heartbeat | 139_845_318 | 56_528_127 | $0.0000751638 | $75.16 | +| 76 | heartbeat | 139_963_185 | 56_575_274 | $0.0000752264 | $75.22 | +| 77 | heartbeat | 139_851_954 | 56_530_781 | $0.0000751673 | $75.16 | +| 78 | heartbeat | 140_046_253 | 56_608_501 | $0.0000752706 | $75.27 | +| 79 | heartbeat | 139_840_152 | 56_526_060 | $0.0000751610 | $75.16 | +| 80 | heartbeat | 140_008_078 | 56_593_231 | $0.0000752503 | $75.25 | +| 81 | heartbeat | 139_680_372 | 56_462_148 | $0.0000750760 | $75.07 | +| 82 | heartbeat | 139_945_385 | 56_568_154 | $0.0000752170 | $75.21 | +| 83 | heartbeat | 139_857_128 | 56_532_851 | $0.0000751700 | $75.17 | +| 84 | heartbeat | 139_847_486 | 56_528_994 | $0.0000751649 | $75.16 | +| 85 | heartbeat | 139_852_712 | 56_531_084 | $0.0000751677 | $75.16 | +| 86 | heartbeat | 140_062_124 | 56_614_849 | $0.0000752791 | $75.27 | +| 87 | heartbeat | 139_774_759 | 56_499_903 | $0.0000751262 | $75.12 | +| 88 | heartbeat | 139_899_311 | 56_549_724 | $0.0000751925 | $75.19 | +| 89 | heartbeat | 139_802_787 | 56_511_114 | $0.0000751411 | $75.14 | +| 90 | heartbeat | 140_003_801 | 56_591_520 | $0.0000752480 | $75.24 | +| 91 | heartbeat | 139_986_344 | 56_584_537 | $0.0000752388 | $75.23 | +| 92 | heartbeat | 140_015_176 | 56_596_070 | $0.0000752541 | $75.25 | +| 93 | heartbeat | 139_847_409 | 56_528_963 | $0.0000751649 | $75.16 | +| 94 | heartbeat | 139_941_065 | 56_566_426 | $0.0000752147 | $75.21 | +| 95 | heartbeat | 139_886_973 | 56_544_789 | $0.0000751859 | $75.18 | +| 96 | heartbeat | 140_026_538 | 56_600_615 | $0.0000752601 | $75.26 | +| 97 | heartbeat | 139_861_357 | 56_534_542 | $0.0000751723 | $75.17 | +| 98 | heartbeat | 140_037_021 | 56_604_808 | $0.0000752657 | $75.26 | +| 99 | heartbeat | 139_961_404 | 56_574_561 | $0.0000752255 | $75.22 | +| 100 | heartbeat | 140_165_647 | 56_656_258 | $0.0000753341 | $75.33 | +| 101 | heartbeat | 140_072_469 | 56_618_987 | $0.0000752846 | $75.28 | +| 102 | heartbeat | 140_266_818 | 56_696_727 | $0.0000753879 | $75.38 | +| 103 | heartbeat | 140_164_737 | 56_655_894 | $0.0000753336 | $75.33 | +| 104 | heartbeat | 140_403_790 | 56_751_516 | $0.0000754608 | $75.46 | +| 105 | heartbeat | 140_188_238 | 56_665_295 | $0.0000753461 | $75.34 | +| 106 | heartbeat | 140_290_540 | 56_706_216 | $0.0000754006 | $75.40 | +| 107 | heartbeat | 140_232_221 | 56_682_888 | $0.0000753695 | $75.36 | +| 108 | heartbeat | 140_242_432 | 56_686_972 | $0.0000753750 | $75.37 | +| 109 | heartbeat | 140_205_298 | 56_672_119 | $0.0000753552 | $75.35 | +| 110 | heartbeat | 140_280_308 | 56_702_123 | $0.0000753951 | $75.39 | +| 111 | heartbeat | 140_140_813 | 56_646_325 | $0.0000753209 | $75.32 | +| 112 | heartbeat | 140_143_421 | 56_647_368 | $0.0000753223 | $75.32 | +| 113 | heartbeat | 140_188_136 | 56_665_254 | $0.0000753461 | $75.34 | +| 114 | heartbeat | 140_234_515 | 56_683_806 | $0.0000753708 | $75.37 | +| 115 | heartbeat | 140_090_269 | 56_626_107 | $0.0000752940 | $75.29 | +| 116 | heartbeat | 140_281_041 | 56_702_416 | $0.0000753955 | $75.39 | +| 117 | heartbeat | 140_263_671 | 56_695_468 | $0.0000753863 | $75.38 | +| 118 | heartbeat | 140_265_102 | 56_696_040 | $0.0000753870 | $75.38 | +| 119 | heartbeat | 140_172_542 | 56_659_016 | $0.0000753378 | $75.33 | +| 120 | heartbeat | 140_231_376 | 56_682_550 | $0.0000753691 | $75.36 | +| 121 | heartbeat | 140_209_553 | 56_673_821 | $0.0000753575 | $75.35 | +| 122 | heartbeat | 140_276_186 | 56_700_474 | $0.0000753929 | $75.39 | +| 123 | heartbeat | 140_256_120 | 56_692_448 | $0.0000753822 | $75.38 | +| 124 | heartbeat | 140_259_008 | 56_693_603 | $0.0000753838 | $75.38 | +| 125 | heartbeat | 140_246_643 | 56_688_657 | $0.0000753772 | $75.37 | +| 126 | heartbeat | 140_273_729 | 56_699_491 | $0.0000753916 | $75.39 | +| 127 | heartbeat | 140_312_984 | 56_715_193 | $0.0000754125 | $75.41 | +| 128 | heartbeat | 140_353_906 | 56_731_562 | $0.0000754343 | $75.43 | +| 129 | heartbeat | 140_253_771 | 56_691_508 | $0.0000753810 | $75.38 | +| 130 | heartbeat | 140_163_535 | 56_655_414 | $0.0000753330 | $75.33 | +| 131 | heartbeat | 140_210_098 | 56_674_039 | $0.0000753578 | $75.35 | +| 132 | heartbeat | 140_189_466 | 56_665_786 | $0.0000753468 | $75.34 | +| 133 | heartbeat | 140_073_162 | 56_619_264 | $0.0000752849 | $75.28 | +| 134 | heartbeat | 140_188_179 | 56_665_271 | $0.0000753461 | $75.34 | +| 135 | heartbeat | 140_157_437 | 56_652_974 | $0.0000753298 | $75.32 | +| 136 | heartbeat | 140_159_769 | 56_653_907 | $0.0000753310 | $75.33 | +| 137 | heartbeat | 140_112_463 | 56_634_985 | $0.0000753058 | $75.30 | +| 138 | heartbeat | 140_150_146 | 56_650_058 | $0.0000753259 | $75.32 | +| 139 | heartbeat | 139_983_103 | 56_583_241 | $0.0000752370 | $75.23 | +| 140 | heartbeat | 140_136_958 | 56_644_783 | $0.0000753189 | $75.31 | +| 141 | heartbeat | 140_085_430 | 56_624_172 | $0.0000752915 | $75.29 | +| 142 | heartbeat | 140_091_620 | 56_626_648 | $0.0000752948 | $75.29 | +| 143 | heartbeat | 140_100_480 | 56_630_192 | $0.0000752995 | $75.29 | +| 144 | heartbeat | 140_028_006 | 56_601_202 | $0.0000752609 | $75.26 | +| 145 | heartbeat | 140_156_872 | 56_652_748 | $0.0000753295 | $75.32 | +| 146 | heartbeat | 140_053_625 | 56_611_450 | $0.0000752745 | $75.27 | +| 147 | heartbeat | 140_053_123 | 56_611_249 | $0.0000752743 | $75.27 | +| 148 | heartbeat | 140_029_165 | 56_601_666 | $0.0000752615 | $75.26 | +| 149 | heartbeat | 140_161_700 | 56_654_680 | $0.0000753320 | $75.33 | +| 150 | heartbeat | 140_074_202 | 56_619_680 | $0.0000752855 | $75.28 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +# Benchmarks for heartbeat_sync + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | ------- | ------------- | ----------------- | +| 0 | heartbeat | 91_478 | 626_591 | $0.0000008332 | $0.83 | +| 1 | heartbeat | 83_610 | 623_444 | $0.0000008290 | $0.82 | +| 2 | heartbeat | 83_612 | 623_444 | $0.0000008290 | $0.82 | +| 3 | heartbeat | 83_600 | 623_440 | $0.0000008290 | $0.82 | +| 4 | heartbeat | 83_611 | 623_444 | $0.0000008290 | $0.82 | +| 5 | heartbeat | 83_692 | 623_476 | $0.0000008290 | $0.82 | +| 6 | heartbeat | 83_820 | 623_528 | $0.0000008291 | $0.82 | +| 7 | heartbeat | 83_899 | 623_559 | $0.0000008291 | $0.82 | +| 8 | heartbeat | 83_958 | 623_583 | $0.0000008292 | $0.82 | +| 9 | heartbeat | 83_938 | 623_575 | $0.0000008291 | $0.82 | +| 10 | heartbeat | 83_760 | 623_504 | $0.0000008291 | $0.82 | +| 11 | heartbeat | 83_901 | 623_560 | $0.0000008291 | $0.82 | +| 12 | heartbeat | 83_973 | 623_589 | $0.0000008292 | $0.82 | +| 13 | heartbeat | 83_902 | 623_560 | $0.0000008291 | $0.82 | +| 14 | heartbeat | 83_973 | 623_589 | $0.0000008292 | $0.82 | +| 15 | heartbeat | 83_893 | 623_557 | $0.0000008291 | $0.82 | +| 16 | heartbeat | 83_753 | 623_501 | $0.0000008291 | $0.82 | +| 17 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 18 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 19 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 20 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 21 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 22 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 23 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 24 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 25 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 26 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 27 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 28 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 29 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 30 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 31 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 32 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 33 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 34 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 35 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 36 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 37 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 38 | heartbeat | 83_722 | 623_488 | $0.0000008290 | $0.82 | +| 39 | heartbeat | 83_475 | 623_390 | $0.0000008289 | $0.82 | +| 40 | heartbeat | 83_731 | 623_492 | $0.0000008290 | $0.82 | +| 41 | heartbeat | 83_493 | 623_397 | $0.0000008289 | $0.82 | +| 42 | heartbeat | 83_861 | 623_544 | $0.0000008291 | $0.82 | +| 43 | heartbeat | 83_529 | 623_411 | $0.0000008289 | $0.82 | +| 44 | heartbeat | 83_859 | 623_543 | $0.0000008291 | $0.82 | +| 45 | heartbeat | 83_751 | 623_500 | $0.0000008290 | $0.82 | +| 46 | heartbeat | 83_927 | 623_570 | $0.0000008291 | $0.82 | +| 47 | heartbeat | 83_656 | 623_462 | $0.0000008290 | $0.82 | +| 48 | heartbeat | 83_853 | 623_541 | $0.0000008291 | $0.82 | +| 49 | heartbeat | 83_662 | 623_464 | $0.0000008290 | $0.82 | +| 50 | heartbeat | 83_621 | 623_448 | $0.0000008290 | $0.82 | +| 51 | heartbeat | 83_573 | 623_429 | $0.0000008290 | $0.82 | +| 52 | heartbeat | 83_627 | 623_450 | $0.0000008290 | $0.82 | +| 53 | heartbeat | 84_017 | 623_606 | $0.0000008292 | $0.82 | +| 54 | heartbeat | 83_853 | 623_541 | $0.0000008291 | $0.82 | +| 55 | heartbeat | 83_662 | 623_464 | $0.0000008290 | $0.82 | +| 56 | heartbeat | 83_621 | 623_448 | $0.0000008290 | $0.82 | +| 57 | heartbeat | 83_573 | 623_429 | $0.0000008290 | $0.82 | +| 58 | heartbeat | 83_627 | 623_450 | $0.0000008290 | $0.82 | +| 59 | heartbeat | 84_017 | 623_606 | $0.0000008292 | $0.82 | +| 60 | heartbeat | 83_853 | 623_541 | $0.0000008291 | $0.82 | +| 61 | heartbeat | 83_662 | 623_464 | $0.0000008290 | $0.82 | +| 62 | heartbeat | 83_621 | 623_448 | $0.0000008290 | $0.82 | +| 63 | heartbeat | 83_573 | 623_429 | $0.0000008290 | $0.82 | +| 64 | heartbeat | 83_627 | 623_450 | $0.0000008290 | $0.82 | +| 65 | heartbeat | 84_017 | 623_606 | $0.0000008292 | $0.82 | +| 66 | heartbeat | 83_853 | 623_541 | $0.0000008291 | $0.82 | +| 67 | heartbeat | 83_671 | 623_468 | $0.0000008290 | $0.82 | +| 68 | heartbeat | 83_649 | 623_459 | $0.0000008290 | $0.82 | +| 69 | heartbeat | 83_601 | 623_440 | $0.0000008290 | $0.82 | +| 70 | heartbeat | 84_041 | 623_616 | $0.0000008292 | $0.82 | +| 71 | heartbeat | 84_016 | 623_606 | $0.0000008292 | $0.82 | +| 72 | heartbeat | 83_932 | 623_572 | $0.0000008291 | $0.82 | +| 73 | heartbeat | 84_006 | 623_602 | $0.0000008292 | $0.82 | +| 74 | heartbeat | 83_896 | 623_558 | $0.0000008291 | $0.82 | +| 75 | heartbeat | 84_069 | 623_627 | $0.0000008292 | $0.82 | +| 76 | heartbeat | 84_143 | 623_657 | $0.0000008293 | $0.82 | +| 77 | heartbeat | 83_559 | 623_423 | $0.0000008289 | $0.82 | +| 78 | heartbeat | 84_065 | 623_626 | $0.0000008292 | $0.82 | +| 79 | heartbeat | 84_110 | 623_644 | $0.0000008292 | $0.82 | +| 80 | heartbeat | 84_396 | 623_758 | $0.0000008294 | $0.82 | +| 81 | heartbeat | 83_790 | 623_516 | $0.0000008291 | $0.82 | +| 82 | heartbeat | 83_927 | 623_570 | $0.0000008291 | $0.82 | +| 83 | heartbeat | 84_348 | 623_739 | $0.0000008294 | $0.82 | +| 84 | heartbeat | 84_365 | 623_746 | $0.0000008294 | $0.82 | +| 85 | heartbeat | 83_997 | 623_598 | $0.0000008292 | $0.82 | +| 86 | heartbeat | 84_683 | 623_873 | $0.0000008295 | $0.82 | +| 87 | heartbeat | 84_150 | 623_660 | $0.0000008293 | $0.82 | +| 88 | heartbeat | 83_981 | 623_592 | $0.0000008292 | $0.82 | +| 89 | heartbeat | 84_017 | 623_606 | $0.0000008292 | $0.82 | +| 90 | heartbeat | 84_037 | 623_614 | $0.0000008292 | $0.82 | +| 91 | heartbeat | 84_160 | 623_664 | $0.0000008293 | $0.82 | +| 92 | heartbeat | 84_740 | 623_896 | $0.0000008296 | $0.82 | +| 93 | heartbeat | 84_732 | 623_892 | $0.0000008296 | $0.82 | +| 94 | heartbeat | 84_823 | 623_929 | $0.0000008296 | $0.82 | +| 95 | heartbeat | 84_565 | 623_826 | $0.0000008295 | $0.82 | +| 96 | heartbeat | 84_148 | 623_659 | $0.0000008293 | $0.82 | +| 97 | heartbeat | 84_018 | 623_607 | $0.0000008292 | $0.82 | +| 98 | heartbeat | 84_374 | 623_749 | $0.0000008294 | $0.82 | +| 99 | heartbeat | 83_727 | 623_490 | $0.0000008290 | $0.82 | +| 100 | heartbeat | 84_920 | 623_968 | $0.0000008297 | $0.82 | +| 101 | heartbeat | 84_187 | 623_674 | $0.0000008293 | $0.82 | +| 102 | heartbeat | 84_070 | 623_628 | $0.0000008292 | $0.82 | +| 103 | heartbeat | 84_534 | 623_813 | $0.0000008295 | $0.82 | +| 104 | heartbeat | 84_332 | 623_732 | $0.0000008294 | $0.82 | +| 105 | heartbeat | 84_126 | 623_650 | $0.0000008292 | $0.82 | +| 106 | heartbeat | 84_219 | 623_687 | $0.0000008293 | $0.82 | +| 107 | heartbeat | 84_387 | 623_754 | $0.0000008294 | $0.82 | +| 108 | heartbeat | 84_526 | 623_810 | $0.0000008295 | $0.82 | +| 109 | heartbeat | 84_684 | 623_873 | $0.0000008295 | $0.82 | +| 110 | heartbeat | 84_277 | 623_710 | $0.0000008293 | $0.82 | +| 111 | heartbeat | 84_009 | 623_603 | $0.0000008292 | $0.82 | +| 112 | heartbeat | 83_708 | 623_483 | $0.0000008290 | $0.82 | +| 113 | heartbeat | 84_946 | 623_978 | $0.0000008297 | $0.82 | +| 114 | heartbeat | 84_386 | 623_754 | $0.0000008294 | $0.82 | +| 115 | heartbeat | 85_060 | 624_024 | $0.0000008297 | $0.82 | +| 116 | heartbeat | 84_962 | 623_984 | $0.0000008297 | $0.82 | +| 117 | heartbeat | 84_430 | 623_772 | $0.0000008294 | $0.82 | +| 118 | heartbeat | 84_889 | 623_955 | $0.0000008297 | $0.82 | +| 119 | heartbeat | 84_845 | 623_938 | $0.0000008296 | $0.82 | +| 120 | heartbeat | 85_315 | 624_126 | $0.0000008299 | $0.82 | +| 121 | heartbeat | 84_546 | 623_818 | $0.0000008295 | $0.82 | +| 122 | heartbeat | 84_783 | 623_913 | $0.0000008296 | $0.82 | +| 123 | heartbeat | 84_543 | 623_817 | $0.0000008295 | $0.82 | +| 124 | heartbeat | 84_619 | 623_847 | $0.0000008295 | $0.82 | +| 125 | heartbeat | 84_060 | 623_624 | $0.0000008292 | $0.82 | +| 126 | heartbeat | 84_842 | 623_936 | $0.0000008296 | $0.82 | +| 127 | heartbeat | 84_818 | 623_927 | $0.0000008296 | $0.82 | +| 128 | heartbeat | 85_021 | 624_008 | $0.0000008297 | $0.82 | +| 129 | heartbeat | 84_760 | 623_904 | $0.0000008296 | $0.82 | +| 130 | heartbeat | 84_252 | 623_700 | $0.0000008293 | $0.82 | +| 131 | heartbeat | 84_668 | 623_867 | $0.0000008295 | $0.82 | +| 132 | heartbeat | 84_523 | 623_809 | $0.0000008295 | $0.82 | +| 133 | heartbeat | 83_775 | 623_510 | $0.0000008291 | $0.82 | +| 134 | heartbeat | 84_006 | 623_602 | $0.0000008292 | $0.82 | +| 135 | heartbeat | 84_231 | 623_692 | $0.0000008293 | $0.82 | +| 136 | heartbeat | 85_219 | 624_087 | $0.0000008298 | $0.82 | +| 137 | heartbeat | 84_760 | 623_904 | $0.0000008296 | $0.82 | +| 138 | heartbeat | 84_252 | 623_700 | $0.0000008293 | $0.82 | +| 139 | heartbeat | 84_668 | 623_867 | $0.0000008295 | $0.82 | +| 140 | heartbeat | 84_523 | 623_809 | $0.0000008295 | $0.82 | +| 141 | heartbeat | 83_775 | 623_510 | $0.0000008291 | $0.82 | +| 142 | heartbeat | 84_006 | 623_602 | $0.0000008292 | $0.82 | +| 143 | heartbeat | 84_231 | 623_692 | $0.0000008293 | $0.82 | +| 144 | heartbeat | 85_219 | 624_087 | $0.0000008298 | $0.82 | +| 145 | heartbeat | 84_760 | 623_904 | $0.0000008296 | $0.82 | +| 146 | heartbeat | 84_252 | 623_700 | $0.0000008293 | $0.82 | +| 147 | heartbeat | 84_668 | 623_867 | $0.0000008295 | $0.82 | +| 148 | heartbeat | 84_523 | 623_809 | $0.0000008295 | $0.82 | +| 149 | heartbeat | 83_775 | 623_510 | $0.0000008291 | $0.82 | +| 150 | heartbeat | 84_006 | 623_602 | $0.0000008292 | $0.82 | +| 151 | heartbeat | 84_231 | 623_692 | $0.0000008293 | $0.82 | +| 152 | heartbeat | 85_219 | 624_087 | $0.0000008298 | $0.82 | +| 153 | heartbeat | 84_760 | 623_904 | $0.0000008296 | $0.82 | +| 154 | heartbeat | 84_252 | 623_700 | $0.0000008293 | $0.82 | +| 155 | heartbeat | 84_668 | 623_867 | $0.0000008295 | $0.82 | +| 156 | heartbeat | 84_523 | 623_809 | $0.0000008295 | $0.82 | +| 157 | heartbeat | 83_775 | 623_510 | $0.0000008291 | $0.82 | +| 158 | heartbeat | 84_006 | 623_602 | $0.0000008292 | $0.82 | +| 159 | heartbeat | 84_231 | 623_692 | $0.0000008293 | $0.82 | +| 160 | heartbeat | 85_229 | 624_091 | $0.0000008298 | $0.82 | +| 161 | heartbeat | 84_770 | 623_908 | $0.0000008296 | $0.82 | +| 162 | heartbeat | 84_262 | 623_704 | $0.0000008293 | $0.82 | +| 163 | heartbeat | 84_678 | 623_871 | $0.0000008295 | $0.82 | +| 164 | heartbeat | 84_537 | 623_814 | $0.0000008295 | $0.82 | +| 165 | heartbeat | 83_775 | 623_510 | $0.0000008291 | $0.82 | +| 166 | heartbeat | 84_006 | 623_602 | $0.0000008292 | $0.82 | +| 167 | heartbeat | 84_231 | 623_692 | $0.0000008293 | $0.82 | +| 168 | heartbeat | 85_289 | 624_115 | $0.0000008299 | $0.82 | +| 169 | heartbeat | 84_547 | 623_818 | $0.0000008295 | $0.82 | +| 170 | heartbeat | 84_181 | 623_672 | $0.0000008293 | $0.82 | +| 171 | heartbeat | 84_030 | 623_612 | $0.0000008292 | $0.82 | +| 172 | heartbeat | 84_924 | 623_969 | $0.0000008297 | $0.82 | +| 173 | heartbeat | 84_090 | 623_636 | $0.0000008292 | $0.82 | +| 174 | heartbeat | 84_382 | 623_752 | $0.0000008294 | $0.82 | +| 175 | heartbeat | 84_676 | 623_870 | $0.0000008295 | $0.82 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ic_api/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/ic_api/benchmarks.json new file mode 100644 index 0000000000..14cee66542 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/ic_api/benchmarks.json @@ -0,0 +1,20 @@ +{ + "ic_api": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1678855" }, + "method_name": "dataCertificateNull", + "timestamp": { "__bigint__": "1730239694779528482" } + }, + { + "instructions": { "__bigint__": "1215442" }, + "method_name": "setCertifiedData", + "timestamp": { "__bigint__": "1730239697056584586" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/ic_api/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/ic_api/benchmarks.md new file mode 100644 index 0000000000..43c726b94e --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/ic_api/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for ic_api + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | dataCertificateNull | 1_678_855 | 1_261_542 | $0.0000016774 | $1.67 | +| 1 | setCertifiedData | 1_215_442 | 1_076_176 | $0.0000014310 | $1.43 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/imports/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/imports/benchmarks.json new file mode 100644 index 0000000000..95902bf9e1 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/imports/benchmarks.json @@ -0,0 +1,6 @@ +{ + "imports": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/imports/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/imports/benchmarks.md new file mode 100644 index 0000000000..929c5e1251 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/imports/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for imports + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/init/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/init/benchmarks.json new file mode 100644 index 0000000000..f253666248 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/init/benchmarks.json @@ -0,0 +1,15 @@ +{ + "init": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "5358645869" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239600368934575" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/init/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/init/benchmarks.md new file mode 100644 index 0000000000..ce127a67f4 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/init/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for init + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ------------- | ------------- | ----------------- | +| 0 | init | 5_358_645_869 | 4_144_048_347 | $0.0055102168 | $5_510.21 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/benchmarks.json new file mode 100644 index 0000000000..756867bec1 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/benchmarks.json @@ -0,0 +1,15 @@ +{ + "inspect_message": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1054509" }, + "method_name": "accessible", + "timestamp": { "__bigint__": "1730239606586841119" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/benchmarks.md new file mode 100644 index 0000000000..b81617c17d --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/inspect_message/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for inspect_message + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | accessible | 1_054_509 | 1_011_803 | $0.0000013454 | $1.34 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/benchmarks.json new file mode 100644 index 0000000000..cf58776089 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/benchmarks.json @@ -0,0 +1,20 @@ +{ + "key_value_store": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1414666" }, + "method_name": "set", + "timestamp": { "__bigint__": "1730239608299022614" } + }, + { + "instructions": { "__bigint__": "1385879" }, + "method_name": "set", + "timestamp": { "__bigint__": "1730239610483332259" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/benchmarks.md new file mode 100644 index 0000000000..8765fcb3ae --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/key_value_store/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for key_value_store + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | set | 1_414_666 | 1_155_866 | $0.0000015369 | $1.53 | +| 1 | set | 1_385_879 | 1_144_351 | $0.0000015216 | $1.52 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/benchmarks.json new file mode 100644 index 0000000000..83457e4ec4 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/benchmarks.json @@ -0,0 +1,6 @@ +{ + "list_of_lists": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/benchmarks.md new file mode 100644 index 0000000000..5b13de13c0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/list_of_lists/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for list_of_lists + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/benchmarks.json new file mode 100644 index 0000000000..66c69b0f0b --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/benchmarks.json @@ -0,0 +1,80 @@ +{ + "manual_reply": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "668973" }, + "method_name": "manualUpdate", + "timestamp": { "__bigint__": "1730239609653114989" } + }, + { + "instructions": { "__bigint__": "1617076" }, + "method_name": "manualUpdate", + "timestamp": { "__bigint__": "1730239611574294502" } + }, + { + "instructions": { "__bigint__": "1484658" }, + "method_name": "updateBlob", + "timestamp": { "__bigint__": "1730239613694788495" } + }, + { + "instructions": { "__bigint__": "1030821" }, + "method_name": "updateFloat32", + "timestamp": { "__bigint__": "1730239615710338577" } + }, + { + "instructions": { "__bigint__": "1127512" }, + "method_name": "updateInt8", + "timestamp": { "__bigint__": "1730239617827524386" } + }, + { + "instructions": { "__bigint__": "1527642" }, + "method_name": "updateNat", + "timestamp": { "__bigint__": "1730239620003101527" } + }, + { + "instructions": { "__bigint__": "1017883" }, + "method_name": "updateNull", + "timestamp": { "__bigint__": "1730239622021247038" } + }, + { + "instructions": { "__bigint__": "854508" }, + "method_name": "updateVoid", + "timestamp": { "__bigint__": "1730239624126035973" } + }, + { + "instructions": { "__bigint__": "16891676" }, + "method_name": "updateRecord", + "timestamp": { "__bigint__": "1730239626084626988" } + }, + { + "instructions": { "__bigint__": "1016996" }, + "method_name": "updateReserved", + "timestamp": { "__bigint__": "1730239628084966948" } + }, + { + "instructions": { "__bigint__": "1273554" }, + "method_name": "updateString", + "timestamp": { "__bigint__": "1730239630282033714" } + }, + { + "instructions": { "__bigint__": "4377783" }, + "method_name": "updateVariant", + "timestamp": { "__bigint__": "1730239632300673014" } + }, + { + "instructions": { "__bigint__": "1031697" }, + "method_name": "updateFloat32", + "timestamp": { "__bigint__": "1730239634464135611" } + }, + { + "instructions": { "__bigint__": "455023" }, + "method_name": "replyRaw", + "timestamp": { "__bigint__": "1730239636405018484" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/benchmarks.md new file mode 100644 index 0000000000..1899b1c1df --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/manual_reply/benchmarks.md @@ -0,0 +1,37 @@ +# Benchmarks for manual_reply + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | manualUpdate | 668_973 | 857_589 | $0.0000011403 | $1.14 | +| 1 | manualUpdate | 1_617_076 | 1_236_830 | $0.0000016446 | $1.64 | +| 2 | updateBlob | 1_484_658 | 1_183_863 | $0.0000015741 | $1.57 | +| 3 | updateFloat32 | 1_030_821 | 1_002_328 | $0.0000013328 | $1.33 | +| 4 | updateInt8 | 1_127_512 | 1_041_004 | $0.0000013842 | $1.38 | +| 5 | updateNat | 1_527_642 | 1_201_056 | $0.0000015970 | $1.59 | +| 6 | updateNull | 1_017_883 | 997_153 | $0.0000013259 | $1.32 | +| 7 | updateVoid | 854_508 | 931_803 | $0.0000012390 | $1.23 | +| 8 | updateRecord | 16_891_676 | 7_346_670 | $0.0000097686 | $9.76 | +| 9 | updateReserved | 1_016_996 | 996_798 | $0.0000013254 | $1.32 | +| 10 | updateString | 1_273_554 | 1_099_421 | $0.0000014619 | $1.46 | +| 11 | updateVariant | 4_377_783 | 2_341_113 | $0.0000031129 | $3.11 | +| 12 | updateFloat32 | 1_031_697 | 1_002_678 | $0.0000013332 | $1.33 | +| 13 | replyRaw | 455_023 | 772_009 | $0.0000010265 | $1.02 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/benchmarks.json new file mode 100644 index 0000000000..928a42b236 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/benchmarks.json @@ -0,0 +1,40 @@ +{ + "calc": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1276291" }, + "method_name": "add", + "timestamp": { "__bigint__": "1730239607268047225" } + }, + { + "instructions": { "__bigint__": "1254903" }, + "method_name": "sub", + "timestamp": { "__bigint__": "1730239609433993651" } + }, + { + "instructions": { "__bigint__": "1253156" }, + "method_name": "mul", + "timestamp": { "__bigint__": "1730239611392347447" } + }, + { + "instructions": { "__bigint__": "1617163" }, + "method_name": "div", + "timestamp": { "__bigint__": "1730239613549657963" } + }, + { + "instructions": { "__bigint__": "850175" }, + "method_name": "clearall", + "timestamp": { "__bigint__": "1730239615532418717" } + }, + { + "instructions": { "__bigint__": "1250619" }, + "method_name": "add", + "timestamp": { "__bigint__": "1730239617654351068" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/benchmarks.md new file mode 100644 index 0000000000..bdb2d616bf --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/calc/benchmarks.md @@ -0,0 +1,29 @@ +# Benchmarks for calc + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | add | 1_276_291 | 1_100_516 | $0.0000014633 | $1.46 | +| 1 | sub | 1_254_903 | 1_091_961 | $0.0000014519 | $1.45 | +| 2 | mul | 1_253_156 | 1_091_262 | $0.0000014510 | $1.45 | +| 3 | div | 1_617_163 | 1_236_865 | $0.0000016446 | $1.64 | +| 4 | clearall | 850_175 | 930_070 | $0.0000012367 | $1.23 | +| 5 | add | 1_250_619 | 1_090_247 | $0.0000014497 | $1.44 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/benchmarks.json new file mode 100644 index 0000000000..88257e7a3b --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/benchmarks.json @@ -0,0 +1,25 @@ +{ + "counter": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "993893" }, + "method_name": "set", + "timestamp": { "__bigint__": "1730239615291555621" } + }, + { + "instructions": { "__bigint__": "851892" }, + "method_name": "inc", + "timestamp": { "__bigint__": "1730239617495890070" } + }, + { + "instructions": { "__bigint__": "851905" }, + "method_name": "inc", + "timestamp": { "__bigint__": "1730239619408079723" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/benchmarks.md new file mode 100644 index 0000000000..9b863c40a8 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/counter/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for counter + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | ------- | ------------- | ----------------- | +| 0 | set | 993_893 | 987_557 | $0.0000013131 | $1.31 | +| 1 | inc | 851_892 | 930_756 | $0.0000012376 | $1.23 | +| 2 | inc | 851_905 | 930_762 | $0.0000012376 | $1.23 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/benchmarks.json new file mode 100644 index 0000000000..d334b0da72 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/benchmarks.json @@ -0,0 +1,6 @@ +{ + "echo": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/benchmarks.md new file mode 100644 index 0000000000..9e4324d7d4 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/echo/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for echo + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/benchmarks.json new file mode 100644 index 0000000000..7b079bb76d --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/benchmarks.json @@ -0,0 +1,35 @@ +{ + "factorial": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1248857" }, + "method_name": "fac", + "timestamp": { "__bigint__": "1730239611405207314" } + }, + { + "instructions": { "__bigint__": "1248637" }, + "method_name": "fac", + "timestamp": { "__bigint__": "1730239613522046510" } + }, + { + "instructions": { "__bigint__": "1717381" }, + "method_name": "fac", + "timestamp": { "__bigint__": "1730239615743691673" } + }, + { + "instructions": { "__bigint__": "2951919" }, + "method_name": "fac", + "timestamp": { "__bigint__": "1730239617618317523" } + }, + { + "instructions": { "__bigint__": "5520606" }, + "method_name": "fac", + "timestamp": { "__bigint__": "1730239619801190254" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/benchmarks.md new file mode 100644 index 0000000000..70063b15dc --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/factorial/benchmarks.md @@ -0,0 +1,28 @@ +# Benchmarks for factorial + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | fac | 1_248_857 | 1_089_542 | $0.0000014487 | $1.44 | +| 1 | fac | 1_248_637 | 1_089_454 | $0.0000014486 | $1.44 | +| 2 | fac | 1_717_381 | 1_276_952 | $0.0000016979 | $1.69 | +| 3 | fac | 2_951_919 | 1_770_767 | $0.0000023545 | $2.35 | +| 4 | fac | 5_520_606 | 2_798_242 | $0.0000037207 | $3.72 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/benchmarks.json new file mode 100644 index 0000000000..96c5849f68 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/benchmarks.json @@ -0,0 +1,6 @@ +{ + "hello_world": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/benchmarks.md new file mode 100644 index 0000000000..f49953fae6 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello-world/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for hello_world + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/benchmarks.json new file mode 100644 index 0000000000..68748af522 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/benchmarks.json @@ -0,0 +1,6 @@ +{ + "hello": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/benchmarks.md new file mode 100644 index 0000000000..ea1717996e --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/hello/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for hello + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/benchmarks.json new file mode 100644 index 0000000000..e7848c2864 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/benchmarks.json @@ -0,0 +1,30 @@ +{ + "minimal_dapp": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1122048" }, + "method_name": "count", + "timestamp": { "__bigint__": "1730239613144304119" } + }, + { + "instructions": { "__bigint__": "1091308" }, + "method_name": "count", + "timestamp": { "__bigint__": "1730239615266597872" } + }, + { + "instructions": { "__bigint__": "1091646" }, + "method_name": "reset", + "timestamp": { "__bigint__": "1730239617177311073" } + }, + { + "instructions": { "__bigint__": "1098247" }, + "method_name": "count", + "timestamp": { "__bigint__": "1730239619426438349" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/benchmarks.md new file mode 100644 index 0000000000..9b2a309a3a --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/minimal-counter-dapp/benchmarks.md @@ -0,0 +1,27 @@ +# Benchmarks for minimal_dapp + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | count | 1_122_048 | 1_038_819 | $0.0000013813 | $1.38 | +| 1 | count | 1_091_308 | 1_026_523 | $0.0000013649 | $1.36 | +| 2 | reset | 1_091_646 | 1_026_658 | $0.0000013651 | $1.36 | +| 3 | count | 1_098_247 | 1_029_298 | $0.0000013686 | $1.36 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/benchmarks.json new file mode 100644 index 0000000000..9f0268ef08 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/benchmarks.json @@ -0,0 +1,15 @@ +{ + "persistent_storage": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "5365081297" }, + "method_name": "postUpgrade", + "timestamp": { "__bigint__": "1730239620128133806" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/benchmarks.md new file mode 100644 index 0000000000..cd2dea53d2 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/persistent-storage/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for persistent_storage + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ------------- | ------------- | ----------------- | +| 0 | postUpgrade | 5_365_081_297 | 4_146_622_518 | $0.0055136396 | $5_513.63 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/benchmarks.json new file mode 100644 index 0000000000..8047a10877 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/benchmarks.json @@ -0,0 +1,15 @@ +{ + "phone_book": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "3414930" }, + "method_name": "insert", + "timestamp": { "__bigint__": "1730239613530136498" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/benchmarks.md new file mode 100644 index 0000000000..dc4d53a65d --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/phone-book/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for phone_book + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | insert | 3_414_930 | 1_955_972 | $0.0000026008 | $2.60 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/benchmarks.json new file mode 100644 index 0000000000..0c6ae933b1 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/benchmarks.json @@ -0,0 +1,6 @@ +{ + "quicksort": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/benchmarks.md new file mode 100644 index 0000000000..52b5ab2928 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/quicksort/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for quicksort + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/benchmarks.json new file mode 100644 index 0000000000..da0548d8f1 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/benchmarks.json @@ -0,0 +1,40 @@ +{ + "simple_to_do": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1923734" }, + "method_name": "addTodo", + "timestamp": { "__bigint__": "1730239617799616518" } + }, + { + "instructions": { "__bigint__": "1678531" }, + "method_name": "addTodo", + "timestamp": { "__bigint__": "1730239619721366769" } + }, + { + "instructions": { "__bigint__": "989602" }, + "method_name": "completeTodo", + "timestamp": { "__bigint__": "1730239621901137183" } + }, + { + "instructions": { "__bigint__": "894339" }, + "method_name": "clearCompleted", + "timestamp": { "__bigint__": "1730239623886232165" } + }, + { + "instructions": { "__bigint__": "982997" }, + "method_name": "completeTodo", + "timestamp": { "__bigint__": "1730239626008063140" } + }, + { + "instructions": { "__bigint__": "881373" }, + "method_name": "clearCompleted", + "timestamp": { "__bigint__": "1730239628177565746" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/benchmarks.md new file mode 100644 index 0000000000..bce144db6e --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/simple-to-do/benchmarks.md @@ -0,0 +1,29 @@ +# Benchmarks for simple_to_do + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | -------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | addTodo | 1_923_734 | 1_359_493 | $0.0000018077 | $1.80 | +| 1 | addTodo | 1_678_531 | 1_261_412 | $0.0000016773 | $1.67 | +| 2 | completeTodo | 989_602 | 985_840 | $0.0000013108 | $1.31 | +| 3 | clearCompleted | 894_339 | 947_735 | $0.0000012602 | $1.26 | +| 4 | completeTodo | 982_997 | 983_198 | $0.0000013073 | $1.30 | +| 5 | clearCompleted | 881_373 | 942_549 | $0.0000012533 | $1.25 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/benchmarks.json new file mode 100644 index 0000000000..d8443331f8 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/benchmarks.json @@ -0,0 +1,40 @@ +{ + "superheroes": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "4480732" }, + "method_name": "create", + "timestamp": { "__bigint__": "1730239615174026173" } + }, + { + "instructions": { "__bigint__": "5781720" }, + "method_name": "create", + "timestamp": { "__bigint__": "1730239617293000978" } + }, + { + "instructions": { "__bigint__": "6213011" }, + "method_name": "update", + "timestamp": { "__bigint__": "1730239619435012912" } + }, + { + "instructions": { "__bigint__": "4396975" }, + "method_name": "update", + "timestamp": { "__bigint__": "1730239621442675764" } + }, + { + "instructions": { "__bigint__": "1223082" }, + "method_name": "deleteHero", + "timestamp": { "__bigint__": "1730239623566399450" } + }, + { + "instructions": { "__bigint__": "1212082" }, + "method_name": "deleteHero", + "timestamp": { "__bigint__": "1730239625639362141" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/benchmarks.md new file mode 100644 index 0000000000..7d8c17ba8a --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/superheroes/benchmarks.md @@ -0,0 +1,29 @@ +# Benchmarks for superheroes + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | create | 4_480_732 | 2_382_292 | $0.0000031677 | $3.16 | +| 1 | create | 5_781_720 | 2_902_688 | $0.0000038596 | $3.85 | +| 2 | update | 6_213_011 | 3_075_204 | $0.0000040890 | $4.08 | +| 3 | update | 4_396_975 | 2_348_790 | $0.0000031231 | $3.12 | +| 4 | deleteHero | 1_223_082 | 1_079_232 | $0.0000014350 | $1.43 | +| 5 | deleteHero | 1_212_082 | 1_074_832 | $0.0000014292 | $1.42 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/benchmarks.json new file mode 100644 index 0000000000..96a0f74aa8 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/benchmarks.json @@ -0,0 +1,20 @@ +{ + "threshold_ecdsa": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "148423144" }, + "method_name": "publicKey", + "timestamp": { "__bigint__": "1730239635326525268" } + }, + { + "instructions": { "__bigint__": "148560260" }, + "method_name": "sign", + "timestamp": { "__bigint__": "1730239637554691362" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/benchmarks.md new file mode 100644 index 0000000000..a16d9fd366 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/motoko_examples/threshold_ecdsa/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for threshold_ecdsa + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | publicKey | 148_423_144 | 59_959_257 | $0.0000797260 | $79.72 | +| 1 | sign | 148_560_260 | 60_014_104 | $0.0000797990 | $79.79 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/benchmarks.json new file mode 100644 index 0000000000..005e24dcf0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/benchmarks.json @@ -0,0 +1,28 @@ +{ + "canister1": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1637207" }, + "method_name": "sendNotification", + "timestamp": { "__bigint__": "1730239625979078337" } + } + ] + } + }, + "canister2": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "865000" }, + "method_name": "receiveNotification", + "timestamp": { "__bigint__": "1730239625979078337" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/benchmarks.md new file mode 100644 index 0000000000..08ecc3980c --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/notify_raw/benchmarks.md @@ -0,0 +1,36 @@ +# Benchmarks for canister1 + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ---------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | sendNotification | 1_637_207 | 1_244_882 | $0.0000016553 | $1.65 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +# Benchmarks for canister2 + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | ------------ | ------- | ------------- | ----------------- | +| 0 | receiveNotification | 865_000 | 936_000 | $0.0000012446 | $1.24 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/null_example/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/null_example/benchmarks.json new file mode 100644 index 0000000000..3f2ac75eda --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/null_example/benchmarks.json @@ -0,0 +1,25 @@ +{ + "null_example": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "8986991" }, + "method_name": "setPartiallyNullRecord", + "timestamp": { "__bigint__": "1730239611205720555" } + }, + { + "instructions": { "__bigint__": "5402154" }, + "method_name": "setSmallNullRecord", + "timestamp": { "__bigint__": "1730239613336742326" } + }, + { + "instructions": { "__bigint__": "8718130" }, + "method_name": "setLargeNullRecord", + "timestamp": { "__bigint__": "1730239615583070846" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/null_example/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/null_example/benchmarks.md new file mode 100644 index 0000000000..597baffae8 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/null_example/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for null_example + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ---------------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | setPartiallyNullRecord | 8_986_991 | 4_184_796 | $0.0000055644 | $5.56 | +| 1 | setSmallNullRecord | 5_402_154 | 2_750_861 | $0.0000036577 | $3.65 | +| 2 | setLargeNullRecord | 8_718_130 | 4_077_252 | $0.0000054214 | $5.42 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/optional_types/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/optional_types/benchmarks.json new file mode 100644 index 0000000000..639f872f67 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/optional_types/benchmarks.json @@ -0,0 +1,6 @@ +{ + "optional_types": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/optional_types/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/optional_types/benchmarks.md new file mode 100644 index 0000000000..18fc6c72e9 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/optional_types/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for optional_types + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/benchmarks.json new file mode 100644 index 0000000000..b562c26843 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/benchmarks.json @@ -0,0 +1,20 @@ +{ + "outgoing_http_requests": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "168031017" }, + "method_name": "xkcd", + "timestamp": { "__bigint__": "1730239630534954122" } + }, + { + "instructions": { "__bigint__": "2132500" }, + "method_name": "xkcdRaw", + "timestamp": { "__bigint__": "1730239632822675893" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/benchmarks.md new file mode 100644 index 0000000000..ced70c7044 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/outgoing_http_requests/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for outgoing_http_requests + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | ---------- | ------------- | ----------------- | +| 0 | xkcd | 168_031_017 | 67_802_406 | $0.0000901548 | $90.15 | +| 1 | xkcdRaw | 2_132_500 | 1_443_000 | $0.0000019187 | $1.91 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/benchmarks.json new file mode 100644 index 0000000000..3fe7bd390e --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/benchmarks.json @@ -0,0 +1,15 @@ +{ + "pre_and_post_upgrade": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "5369433219" }, + "method_name": "postUpgrade", + "timestamp": { "__bigint__": "1730239618740864658" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/benchmarks.md new file mode 100644 index 0000000000..2b0b0ffa51 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/pre_and_post_upgrade/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for pre_and_post_upgrade + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ------------- | ------------- | ----------------- | +| 0 | postUpgrade | 5_369_433_219 | 4_148_363_287 | $0.0055159542 | $5_515.95 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/benchmarks.json new file mode 100644 index 0000000000..6d60f6514d --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/benchmarks.json @@ -0,0 +1,6 @@ +{ + "primitive_types": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/benchmarks.md new file mode 100644 index 0000000000..01aaa41b5c --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/primitive_types/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for primitive_types + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/principal/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/principal/benchmarks.json new file mode 100644 index 0000000000..d2a02583ac --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/principal/benchmarks.json @@ -0,0 +1,6 @@ +{ + "principal": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/principal/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/principal/benchmarks.md new file mode 100644 index 0000000000..9cb5784f8c --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/principal/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for principal + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/query/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/query/benchmarks.json new file mode 100644 index 0000000000..84c5c87d0b --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/query/benchmarks.json @@ -0,0 +1,6 @@ +{ + "query": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/query/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/query/benchmarks.md new file mode 100644 index 0000000000..8d22afaa5f --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/query/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for query + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/randomness/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/randomness/benchmarks.json new file mode 100644 index 0000000000..13e77485a0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/randomness/benchmarks.json @@ -0,0 +1,40 @@ +{ + "randomness": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "5874961038" }, + "method_name": "postUpgrade", + "timestamp": { "__bigint__": "1730239634091309695" } + }, + { + "instructions": { "__bigint__": "1033719" }, + "method_name": "randomNumber", + "timestamp": { "__bigint__": "1730239639985807287" } + }, + { + "instructions": { "__bigint__": "1022494" }, + "method_name": "randomNumber", + "timestamp": { "__bigint__": "1730239642072745145" } + }, + { + "instructions": { "__bigint__": "1022587" }, + "method_name": "randomNumber", + "timestamp": { "__bigint__": "1730239644299749390" } + }, + { + "instructions": { "__bigint__": "1020801" }, + "method_name": "randomNumber", + "timestamp": { "__bigint__": "1730239646315461781" } + }, + { + "instructions": { "__bigint__": "1022196" }, + "method_name": "randomNumber", + "timestamp": { "__bigint__": "1730239648225732570" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/randomness/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/randomness/benchmarks.md new file mode 100644 index 0000000000..bcbc6781dd --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/randomness/benchmarks.md @@ -0,0 +1,29 @@ +# Benchmarks for randomness + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------ | ------------- | ------------- | ------------- | ----------------- | +| 0 | postUpgrade | 5_874_961_038 | 4_350_574_415 | $0.0057848283 | $5_784.82 | +| 1 | randomNumber | 1_033_719 | 1_003_487 | $0.0000013343 | $1.33 | +| 2 | randomNumber | 1_022_494 | 998_997 | $0.0000013283 | $1.32 | +| 3 | randomNumber | 1_022_587 | 999_034 | $0.0000013284 | $1.32 | +| 4 | randomNumber | 1_020_801 | 998_320 | $0.0000013274 | $1.32 | +| 5 | randomNumber | 1_022_196 | 998_878 | $0.0000013282 | $1.32 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/benchmarks.json new file mode 100644 index 0000000000..b19dd27af9 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/benchmarks.json @@ -0,0 +1,505 @@ +{ + "robust_imports": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "6251005422" }, + "method_name": "separateArilsFromPith", + "timestamp": { "__bigint__": "1730239623150200952" } + }, + { + "instructions": { "__bigint__": "8903923" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239623421654888" } + }, + { + "instructions": { "__bigint__": "8904036" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239623443244549" } + }, + { + "instructions": { "__bigint__": "8904061" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239623870760349" } + }, + { + "instructions": { "__bigint__": "8904035" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624097310399" } + }, + { + "instructions": { "__bigint__": "8903790" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624325787331" } + }, + { + "instructions": { "__bigint__": "8903765" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624553009904" } + }, + { + "instructions": { "__bigint__": "8903789" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624576088183" } + }, + { + "instructions": { "__bigint__": "8903766" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624599425678" } + }, + { + "instructions": { "__bigint__": "8903453" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624621523953" } + }, + { + "instructions": { "__bigint__": "8903428" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624644478313" } + }, + { + "instructions": { "__bigint__": "8903454" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624868910051" } + }, + { + "instructions": { "__bigint__": "8903428" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624895587851" } + }, + { + "instructions": { "__bigint__": "8903455" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624923779340" } + }, + { + "instructions": { "__bigint__": "8903428" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239624950884440" } + }, + { + "instructions": { "__bigint__": "8903453" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625178588792" } + }, + { + "instructions": { "__bigint__": "8903429" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625204555889" } + }, + { + "instructions": { "__bigint__": "8903771" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625232656580" } + }, + { + "instructions": { "__bigint__": "8903772" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625257266646" } + }, + { + "instructions": { "__bigint__": "8904089" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625283710515" } + }, + { + "instructions": { "__bigint__": "8903859" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625512095864" } + }, + { + "instructions": { "__bigint__": "8903254" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625537930937" } + }, + { + "instructions": { "__bigint__": "8893386" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625565412145" } + }, + { + "instructions": { "__bigint__": "8878242" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625590804415" } + }, + { + "instructions": { "__bigint__": "8879057" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625829734061" } + }, + { + "instructions": { "__bigint__": "8901622" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625860381135" } + }, + { + "instructions": { "__bigint__": "8891033" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625887984549" } + }, + { + "instructions": { "__bigint__": "8892361" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239625918038332" } + }, + { + "instructions": { "__bigint__": "8903359" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239626154492885" } + }, + { + "instructions": { "__bigint__": "8912758" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239626185793299" } + }, + { + "instructions": { "__bigint__": "8910591" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239626210239687" } + }, + { + "instructions": { "__bigint__": "8914810" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239626235371684" } + }, + { + "instructions": { "__bigint__": "2061319" }, + "method_name": "setStable", + "timestamp": { "__bigint__": "1730239626464834638" } + }, + { + "instructions": { "__bigint__": "8911346" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239626487422822" } + }, + { + "instructions": { "__bigint__": "8910596" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239626518187140" } + }, + { + "instructions": { "__bigint__": "8911109" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239626540749156" } + }, + { + "instructions": { "__bigint__": "8910896" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239626822922393" } + }, + { + "instructions": { "__bigint__": "8910299" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239626853609633" } + }, + { + "instructions": { "__bigint__": "8910007" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627084312236" } + }, + { + "instructions": { "__bigint__": "8910158" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627106831352" } + }, + { + "instructions": { "__bigint__": "8909265" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627151823440" } + }, + { + "instructions": { "__bigint__": "8912400" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627171399160" } + }, + { + "instructions": { "__bigint__": "8911316" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627396041748" } + }, + { + "instructions": { "__bigint__": "8909496" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627418374732" } + }, + { + "instructions": { "__bigint__": "8908796" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627439516555" } + }, + { + "instructions": { "__bigint__": "8909410" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627463286680" } + }, + { + "instructions": { "__bigint__": "8910880" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627731875415" } + }, + { + "instructions": { "__bigint__": "8910132" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627758229162" } + }, + { + "instructions": { "__bigint__": "8910794" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627778827677" } + }, + { + "instructions": { "__bigint__": "8916697" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239627803241355" } + }, + { + "instructions": { "__bigint__": "8915972" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628028633900" } + }, + { + "instructions": { "__bigint__": "8916636" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628049855593" } + }, + { + "instructions": { "__bigint__": "8915307" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628072011845" } + }, + { + "instructions": { "__bigint__": "8914605" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628095300329" } + }, + { + "instructions": { "__bigint__": "8915221" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628320446382" } + }, + { + "instructions": { "__bigint__": "8917538" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628341673024" } + }, + { + "instructions": { "__bigint__": "8916788" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628363608871" } + }, + { + "instructions": { "__bigint__": "8917452" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628386978517" } + }, + { + "instructions": { "__bigint__": "8917741" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628407341171" } + }, + { + "instructions": { "__bigint__": "8917040" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628430670510" } + }, + { + "instructions": { "__bigint__": "8917655" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628657605869" } + }, + { + "instructions": { "__bigint__": "8913102" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628685847531" } + }, + { + "instructions": { "__bigint__": "8911766" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628709991406" } + }, + { + "instructions": { "__bigint__": "8922879" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628737671086" } + }, + { + "instructions": { "__bigint__": "8921766" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628971840533" } + }, + { + "instructions": { "__bigint__": "8922691" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239628994147758" } + }, + { + "instructions": { "__bigint__": "8921479" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629028478089" } + }, + { + "instructions": { "__bigint__": "8920958" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629050343188" } + }, + { + "instructions": { "__bigint__": "8920210" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629076658536" } + }, + { + "instructions": { "__bigint__": "8920873" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629311256143" } + }, + { + "instructions": { "__bigint__": "8922809" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629333840334" } + }, + { + "instructions": { "__bigint__": "8922108" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629354350454" } + }, + { + "instructions": { "__bigint__": "8922865" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629374820790" } + }, + { + "instructions": { "__bigint__": "8922816" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629597277507" } + }, + { + "instructions": { "__bigint__": "8922066" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629619037773" } + }, + { + "instructions": { "__bigint__": "8922740" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629642383764" } + }, + { + "instructions": { "__bigint__": "8924494" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629670109410" } + }, + { + "instructions": { "__bigint__": "8923792" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629703363066" } + }, + { + "instructions": { "__bigint__": "8923079" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629926367874" } + }, + { + "instructions": { "__bigint__": "8922084" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629945285018" } + }, + { + "instructions": { "__bigint__": "8920240" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239629971661810" } + }, + { + "instructions": { "__bigint__": "8925149" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630003598124" } + }, + { + "instructions": { "__bigint__": "8926250" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630228864831" } + }, + { + "instructions": { "__bigint__": "8926464" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630251427408" } + }, + { + "instructions": { "__bigint__": "8923679" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630277524723" } + }, + { + "instructions": { "__bigint__": "8923717" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630315642928" } + }, + { + "instructions": { "__bigint__": "8921089" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630349595835" } + }, + { + "instructions": { "__bigint__": "8921058" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630573746893" } + }, + { + "instructions": { "__bigint__": "8921377" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630595034070" } + }, + { + "instructions": { "__bigint__": "8917867" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630616917633" } + }, + { + "instructions": { "__bigint__": "8921538" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630641624486" } + }, + { + "instructions": { "__bigint__": "8919570" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630868395408" } + }, + { + "instructions": { "__bigint__": "8922460" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630891879128" } + }, + { + "instructions": { "__bigint__": "8922318" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630912570642" } + }, + { + "instructions": { "__bigint__": "8919079" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630937858869" } + }, + { + "instructions": { "__bigint__": "8921286" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239630961606984" } + }, + { + "instructions": { "__bigint__": "8921610" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239631192183786" } + }, + { + "instructions": { "__bigint__": "8924259" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239631213680916" } + }, + { + "instructions": { "__bigint__": "8917352" }, + "method_name": "buyHoneydew", + "timestamp": { "__bigint__": "1730239631237326592" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/benchmarks.md new file mode 100644 index 0000000000..b4d7a6e636 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/robust_imports/benchmarks.md @@ -0,0 +1,122 @@ +# Benchmarks for robust_imports + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | --------------------- | ------------- | ------------- | ------------- | ----------------- | +| 0 | separateArilsFromPith | 6_251_005_422 | 4_900_992_168 | $0.0065167023 | $6_516.70 | +| 1 | buyHoneydew | 8_903_923 | 4_151_569 | $0.0000055202 | $5.52 | +| 2 | buyHoneydew | 8_904_036 | 4_151_614 | $0.0000055203 | $5.52 | +| 3 | buyHoneydew | 8_904_061 | 4_151_624 | $0.0000055203 | $5.52 | +| 4 | buyHoneydew | 8_904_035 | 4_151_614 | $0.0000055203 | $5.52 | +| 5 | buyHoneydew | 8_903_790 | 4_151_516 | $0.0000055201 | $5.52 | +| 6 | buyHoneydew | 8_903_765 | 4_151_506 | $0.0000055201 | $5.52 | +| 7 | buyHoneydew | 8_903_789 | 4_151_515 | $0.0000055201 | $5.52 | +| 8 | buyHoneydew | 8_903_766 | 4_151_506 | $0.0000055201 | $5.52 | +| 9 | buyHoneydew | 8_903_453 | 4_151_381 | $0.0000055200 | $5.51 | +| 10 | buyHoneydew | 8_903_428 | 4_151_371 | $0.0000055200 | $5.51 | +| 11 | buyHoneydew | 8_903_454 | 4_151_381 | $0.0000055200 | $5.51 | +| 12 | buyHoneydew | 8_903_428 | 4_151_371 | $0.0000055200 | $5.51 | +| 13 | buyHoneydew | 8_903_455 | 4_151_382 | $0.0000055200 | $5.51 | +| 14 | buyHoneydew | 8_903_428 | 4_151_371 | $0.0000055200 | $5.51 | +| 15 | buyHoneydew | 8_903_453 | 4_151_381 | $0.0000055200 | $5.51 | +| 16 | buyHoneydew | 8_903_429 | 4_151_371 | $0.0000055200 | $5.51 | +| 17 | buyHoneydew | 8_903_771 | 4_151_508 | $0.0000055201 | $5.52 | +| 18 | buyHoneydew | 8_903_772 | 4_151_508 | $0.0000055201 | $5.52 | +| 19 | buyHoneydew | 8_904_089 | 4_151_635 | $0.0000055203 | $5.52 | +| 20 | buyHoneydew | 8_903_859 | 4_151_543 | $0.0000055202 | $5.52 | +| 21 | buyHoneydew | 8_903_254 | 4_151_301 | $0.0000055199 | $5.51 | +| 22 | buyHoneydew | 8_893_386 | 4_147_354 | $0.0000055146 | $5.51 | +| 23 | buyHoneydew | 8_878_242 | 4_141_296 | $0.0000055066 | $5.50 | +| 24 | buyHoneydew | 8_879_057 | 4_141_622 | $0.0000055070 | $5.50 | +| 25 | buyHoneydew | 8_901_622 | 4_150_648 | $0.0000055190 | $5.51 | +| 26 | buyHoneydew | 8_891_033 | 4_146_413 | $0.0000055134 | $5.51 | +| 27 | buyHoneydew | 8_892_361 | 4_146_944 | $0.0000055141 | $5.51 | +| 28 | buyHoneydew | 8_903_359 | 4_151_343 | $0.0000055199 | $5.51 | +| 29 | buyHoneydew | 8_912_758 | 4_155_103 | $0.0000055249 | $5.52 | +| 30 | buyHoneydew | 8_910_591 | 4_154_236 | $0.0000055238 | $5.52 | +| 31 | buyHoneydew | 8_914_810 | 4_155_924 | $0.0000055260 | $5.52 | +| 32 | setStable | 2_061_319 | 1_414_527 | $0.0000018809 | $1.88 | +| 33 | buyHoneydew | 8_911_346 | 4_154_538 | $0.0000055242 | $5.52 | +| 34 | buyHoneydew | 8_910_596 | 4_154_238 | $0.0000055238 | $5.52 | +| 35 | buyHoneydew | 8_911_109 | 4_154_443 | $0.0000055240 | $5.52 | +| 36 | buyHoneydew | 8_910_896 | 4_154_358 | $0.0000055239 | $5.52 | +| 37 | buyHoneydew | 8_910_299 | 4_154_119 | $0.0000055236 | $5.52 | +| 38 | buyHoneydew | 8_910_007 | 4_154_002 | $0.0000055235 | $5.52 | +| 39 | buyHoneydew | 8_910_158 | 4_154_063 | $0.0000055235 | $5.52 | +| 40 | buyHoneydew | 8_909_265 | 4_153_706 | $0.0000055231 | $5.52 | +| 41 | buyHoneydew | 8_912_400 | 4_154_960 | $0.0000055247 | $5.52 | +| 42 | buyHoneydew | 8_911_316 | 4_154_526 | $0.0000055241 | $5.52 | +| 43 | buyHoneydew | 8_909_496 | 4_153_798 | $0.0000055232 | $5.52 | +| 44 | buyHoneydew | 8_908_796 | 4_153_518 | $0.0000055228 | $5.52 | +| 45 | buyHoneydew | 8_909_410 | 4_153_764 | $0.0000055231 | $5.52 | +| 46 | buyHoneydew | 8_910_880 | 4_154_352 | $0.0000055239 | $5.52 | +| 47 | buyHoneydew | 8_910_132 | 4_154_052 | $0.0000055235 | $5.52 | +| 48 | buyHoneydew | 8_910_794 | 4_154_317 | $0.0000055239 | $5.52 | +| 49 | buyHoneydew | 8_916_697 | 4_156_678 | $0.0000055270 | $5.52 | +| 50 | buyHoneydew | 8_915_972 | 4_156_388 | $0.0000055266 | $5.52 | +| 51 | buyHoneydew | 8_916_636 | 4_156_654 | $0.0000055270 | $5.52 | +| 52 | buyHoneydew | 8_915_307 | 4_156_122 | $0.0000055263 | $5.52 | +| 53 | buyHoneydew | 8_914_605 | 4_155_842 | $0.0000055259 | $5.52 | +| 54 | buyHoneydew | 8_915_221 | 4_156_088 | $0.0000055262 | $5.52 | +| 55 | buyHoneydew | 8_917_538 | 4_157_015 | $0.0000055275 | $5.52 | +| 56 | buyHoneydew | 8_916_788 | 4_156_715 | $0.0000055271 | $5.52 | +| 57 | buyHoneydew | 8_917_452 | 4_156_980 | $0.0000055274 | $5.52 | +| 58 | buyHoneydew | 8_917_741 | 4_157_096 | $0.0000055276 | $5.52 | +| 59 | buyHoneydew | 8_917_040 | 4_156_816 | $0.0000055272 | $5.52 | +| 60 | buyHoneydew | 8_917_655 | 4_157_062 | $0.0000055275 | $5.52 | +| 61 | buyHoneydew | 8_913_102 | 4_155_240 | $0.0000055251 | $5.52 | +| 62 | buyHoneydew | 8_911_766 | 4_154_706 | $0.0000055244 | $5.52 | +| 63 | buyHoneydew | 8_922_879 | 4_159_151 | $0.0000055303 | $5.53 | +| 64 | buyHoneydew | 8_921_766 | 4_158_706 | $0.0000055297 | $5.52 | +| 65 | buyHoneydew | 8_922_691 | 4_159_076 | $0.0000055302 | $5.53 | +| 66 | buyHoneydew | 8_921_479 | 4_158_591 | $0.0000055296 | $5.52 | +| 67 | buyHoneydew | 8_920_958 | 4_158_383 | $0.0000055293 | $5.52 | +| 68 | buyHoneydew | 8_920_210 | 4_158_084 | $0.0000055289 | $5.52 | +| 69 | buyHoneydew | 8_920_873 | 4_158_349 | $0.0000055292 | $5.52 | +| 70 | buyHoneydew | 8_922_809 | 4_159_123 | $0.0000055303 | $5.53 | +| 71 | buyHoneydew | 8_922_108 | 4_158_843 | $0.0000055299 | $5.52 | +| 72 | buyHoneydew | 8_922_865 | 4_159_146 | $0.0000055303 | $5.53 | +| 73 | buyHoneydew | 8_922_816 | 4_159_126 | $0.0000055303 | $5.53 | +| 74 | buyHoneydew | 8_922_066 | 4_158_826 | $0.0000055299 | $5.52 | +| 75 | buyHoneydew | 8_922_740 | 4_159_096 | $0.0000055302 | $5.53 | +| 76 | buyHoneydew | 8_924_494 | 4_159_797 | $0.0000055312 | $5.53 | +| 77 | buyHoneydew | 8_923_792 | 4_159_516 | $0.0000055308 | $5.53 | +| 78 | buyHoneydew | 8_923_079 | 4_159_231 | $0.0000055304 | $5.53 | +| 79 | buyHoneydew | 8_922_084 | 4_158_833 | $0.0000055299 | $5.52 | +| 80 | buyHoneydew | 8_920_240 | 4_158_096 | $0.0000055289 | $5.52 | +| 81 | buyHoneydew | 8_925_149 | 4_160_059 | $0.0000055315 | $5.53 | +| 82 | buyHoneydew | 8_926_250 | 4_160_500 | $0.0000055321 | $5.53 | +| 83 | buyHoneydew | 8_926_464 | 4_160_585 | $0.0000055322 | $5.53 | +| 84 | buyHoneydew | 8_923_679 | 4_159_471 | $0.0000055307 | $5.53 | +| 85 | buyHoneydew | 8_923_717 | 4_159_486 | $0.0000055307 | $5.53 | +| 86 | buyHoneydew | 8_921_089 | 4_158_435 | $0.0000055293 | $5.52 | +| 87 | buyHoneydew | 8_921_058 | 4_158_423 | $0.0000055293 | $5.52 | +| 88 | buyHoneydew | 8_921_377 | 4_158_550 | $0.0000055295 | $5.52 | +| 89 | buyHoneydew | 8_917_867 | 4_157_146 | $0.0000055276 | $5.52 | +| 90 | buyHoneydew | 8_921_538 | 4_158_615 | $0.0000055296 | $5.52 | +| 91 | buyHoneydew | 8_919_570 | 4_157_828 | $0.0000055285 | $5.52 | +| 92 | buyHoneydew | 8_922_460 | 4_158_984 | $0.0000055301 | $5.53 | +| 93 | buyHoneydew | 8_922_318 | 4_158_927 | $0.0000055300 | $5.53 | +| 94 | buyHoneydew | 8_919_079 | 4_157_631 | $0.0000055283 | $5.52 | +| 95 | buyHoneydew | 8_921_286 | 4_158_514 | $0.0000055295 | $5.52 | +| 96 | buyHoneydew | 8_921_610 | 4_158_644 | $0.0000055296 | $5.52 | +| 97 | buyHoneydew | 8_924_259 | 4_159_703 | $0.0000055310 | $5.53 | +| 98 | buyHoneydew | 8_917_352 | 4_156_940 | $0.0000055274 | $5.52 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/benchmarks.json new file mode 100644 index 0000000000..aade9cf1b0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/benchmarks.json @@ -0,0 +1,20 @@ +{ + "simple_erc20": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "2179897" }, + "method_name": "initializeSupply", + "timestamp": { "__bigint__": "1730239612009171583" } + }, + { + "instructions": { "__bigint__": "1806970" }, + "method_name": "transfer", + "timestamp": { "__bigint__": "1730239614157797616" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/benchmarks.md new file mode 100644 index 0000000000..6b67f6fd90 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/simple_erc20/benchmarks.md @@ -0,0 +1,25 @@ +# Benchmarks for simple_erc20 + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ---------------- | ------------ | --------- | ------------- | ----------------- | +| 0 | initializeSupply | 2_179_897 | 1_461_958 | $0.0000019439 | $1.94 | +| 1 | transfer | 1_806_970 | 1_312_788 | $0.0000017456 | $1.74 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/benchmarks.json new file mode 100644 index 0000000000..2417ef010a --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/benchmarks.json @@ -0,0 +1,15 @@ +{ + "simple_user_accounts": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "3939857" }, + "method_name": "createUser", + "timestamp": { "__bigint__": "1730239611793403268" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/benchmarks.md new file mode 100644 index 0000000000..b80588d24a --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/simple_user_accounts/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for simple_user_accounts + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | createUser | 3_939_857 | 2_165_942 | $0.0000028800 | $2.87 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/benchmarks.json new file mode 100644 index 0000000000..871698268a --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/benchmarks.json @@ -0,0 +1,25 @@ +{ + "stable_b_tree_map_instruction_threshold": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "17892244306" }, + "method_name": "insertSmallRecord", + "timestamp": { "__bigint__": "1730239608921828823" } + }, + { + "instructions": { "__bigint__": "16066869853" }, + "method_name": "insertMediumRecord", + "timestamp": { "__bigint__": "1730239616451388669" } + }, + { + "instructions": { "__bigint__": "18423081101" }, + "method_name": "insertLargeRecord", + "timestamp": { "__bigint__": "1730239623472281545" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/benchmarks.md new file mode 100644 index 0000000000..067bc6a4c4 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/stable_b_tree_map_instruction_threshold/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for stable_b_tree_map_instruction_threshold + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------ | -------------- | -------------- | ------------- | ----------------- | +| 0 | insertSmallRecord | 17_892_244_306 | 13_957_487_722 | $0.0185588527 | $18_558.85 | +| 1 | insertMediumRecord | 16_066_869_853 | 12_827_337_941 | $0.0170561264 | $17_056.12 | +| 2 | insertLargeRecord | 18_423_081_101 | 14_569_822_440 | $0.0193730558 | $19_373.05 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/timers/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/timers/benchmarks.json new file mode 100644 index 0000000000..afcd9aa353 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/timers/benchmarks.json @@ -0,0 +1,25 @@ +{ + "timers": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "16662632" }, + "method_name": "setTimers", + "timestamp": { "__bigint__": "1730239662455069174" } + }, + { + "instructions": { "__bigint__": "1181558" }, + "method_name": "clearTimer", + "timestamp": { "__bigint__": "1730239676643147794" } + }, + { + "instructions": { "__bigint__": "1181874" }, + "method_name": "clearTimer", + "timestamp": { "__bigint__": "1730239676643147794" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/timers/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/timers/benchmarks.md new file mode 100644 index 0000000000..57460912ec --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/timers/benchmarks.md @@ -0,0 +1,26 @@ +# Benchmarks for timers + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------ | --------- | ------------- | ----------------- | +| 0 | setTimers | 16_662_632 | 7_255_052 | $0.0000096468 | $9.64 | +| 1 | clearTimer | 1_181_558 | 1_062_623 | $0.0000014129 | $1.41 | +| 2 | clearTimer | 1_181_874 | 1_062_749 | $0.0000014131 | $1.41 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/benchmarks.json new file mode 100644 index 0000000000..7d7f0ad53d --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/benchmarks.json @@ -0,0 +1,6 @@ +{ + "tuple_types": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/benchmarks.md new file mode 100644 index 0000000000..d970ae03e0 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/tuple_types/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for tuple_types + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/update/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/update/benchmarks.json new file mode 100644 index 0000000000..b63344fef6 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/update/benchmarks.json @@ -0,0 +1,15 @@ +{ + "update": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "1298570" }, + "method_name": "simpleUpdate", + "timestamp": { "__bigint__": "1730239613517419987" } + } + ] + } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/update/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/update/benchmarks.md new file mode 100644 index 0000000000..0d0fa92070 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/update/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for update + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------ | ------------ | --------- | ------------- | ----------------- | +| 0 | simpleUpdate | 1_298_570 | 1_109_428 | $0.0000014752 | $1.47 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/benchmarks.json b/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/benchmarks.json new file mode 100644 index 0000000000..69cecc2a37 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/benchmarks.json @@ -0,0 +1,6 @@ +{ + "vanilla_js": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { "version": "0.25.0", "benchmarks": [] } + } +} diff --git a/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/benchmarks.md b/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/benchmarks.md new file mode 100644 index 0000000000..f30a3e1322 --- /dev/null +++ b/tests/end_to_end/candid_rpc/functional_syntax/vanilla_js/benchmarks.md @@ -0,0 +1,22 @@ +# Benchmarks for vanilla_js + +## Current benchmarks Azle version: 0.25.0 + +No benchmarks reported + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/http_server/apollo_server/benchmarks.json b/tests/end_to_end/http_server/apollo_server/benchmarks.json new file mode 100644 index 0000000000..1a00cdb5e0 --- /dev/null +++ b/tests/end_to_end/http_server/apollo_server/benchmarks.json @@ -0,0 +1,15 @@ +{ + "apollo_server": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "11876320268" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239569135970328" } + } + ] + } + } +} diff --git a/tests/end_to_end/http_server/apollo_server/benchmarks.md b/tests/end_to_end/http_server/apollo_server/benchmarks.md new file mode 100644 index 0000000000..d883bed0c6 --- /dev/null +++ b/tests/end_to_end/http_server/apollo_server/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for apollo_server + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | -------------- | ------------- | ------------- | ----------------- | +| 0 | init | 11_876_320_268 | 9_151_118_107 | $0.0121679672 | $12_167.96 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/http_server/bitcoinjs_lib/benchmarks.json b/tests/end_to_end/http_server/bitcoinjs_lib/benchmarks.json new file mode 100644 index 0000000000..fd74d14eca --- /dev/null +++ b/tests/end_to_end/http_server/bitcoinjs_lib/benchmarks.json @@ -0,0 +1,60 @@ +{ + "bitcoinjs_lib": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "49584972119" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239593618872136" } + }, + { + "instructions": { "__bigint__": "55260163" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239613072574226" } + }, + { + "instructions": { "__bigint__": "940518929" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239614261687049" } + }, + { + "instructions": { "__bigint__": "6825480560" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239615053804170" } + }, + { + "instructions": { "__bigint__": "6671383793" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239617389629606" } + }, + { + "instructions": { "__bigint__": "12391071693" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239619802679053" } + }, + { + "instructions": { "__bigint__": "940327579" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239623047103284" } + }, + { + "instructions": { "__bigint__": "3341798717" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239623841615581" } + }, + { + "instructions": { "__bigint__": "11328847578" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239625353317752" } + }, + { + "instructions": { "__bigint__": "11335207819" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239628348566260" } + } + ] + } + } +} diff --git a/tests/end_to_end/http_server/bitcoinjs_lib/benchmarks.md b/tests/end_to_end/http_server/bitcoinjs_lib/benchmarks.md new file mode 100644 index 0000000000..d86ebccf67 --- /dev/null +++ b/tests/end_to_end/http_server/bitcoinjs_lib/benchmarks.md @@ -0,0 +1,33 @@ +# Benchmarks for bitcoinjs_lib + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | -------------- | -------------- | ------------- | ----------------- | +| 0 | init | 49_584_972_119 | 39_434_578_847 | $0.0524349765 | $52_434.97 | +| 1 | http_request_update | 55_260_163 | 22_694_065 | $0.0000301756 | $30.17 | +| 2 | http_request_update | 940_518_929 | 376_797_571 | $0.0005010164 | $501.01 | +| 3 | http_request_update | 6_825_480_560 | 5_130_782_224 | $0.0068222472 | $6_822.24 | +| 4 | http_request_update | 6_671_383_793 | 5_069_143_517 | $0.0067402881 | $6_740.28 | +| 5 | http_request_update | 12_391_071_693 | 9_757_018_677 | $0.0129736150 | $12_973.61 | +| 6 | http_request_update | 940_327_579 | 376_721_031 | $0.0005009147 | $500.91 | +| 7 | http_request_update | 3_341_798_717 | 2_537_309_486 | $0.0033737843 | $3_373.78 | +| 8 | http_request_update | 11_328_847_578 | 8_932_129_031 | $0.0118767840 | $11_876.78 | +| 9 | http_request_update | 11_335_207_819 | 8_934_673_127 | $0.0118801668 | $11_880.16 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/http_server/bitcoinjs_lib/package-lock.json b/tests/end_to_end/http_server/bitcoinjs_lib/package-lock.json index d0a4820c55..bb22865566 100644 --- a/tests/end_to_end/http_server/bitcoinjs_lib/package-lock.json +++ b/tests/end_to_end/http_server/bitcoinjs_lib/package-lock.json @@ -25,7 +25,7 @@ "../bitcore_lib": { "name": "bitcore_lib_example", "dependencies": { - "azle": "0.24.0", + "azle": "0.24.1", "bitcore-lib": "^10.0.23", "express": "^4.18.2" }, @@ -9267,7 +9267,7 @@ "requires": { "@types/bitcore-lib": "^0.15.6", "@types/express": "^4.17.21", - "azle": "0.24.0", + "azle": "0.24.1", "bitcore-lib": "^10.0.23", "express": "^4.18.2", "jest": "^29.7.0", diff --git a/tests/end_to_end/http_server/bitcore_lib/benchmarks.json b/tests/end_to_end/http_server/bitcore_lib/benchmarks.json new file mode 100644 index 0000000000..54f86a23c8 --- /dev/null +++ b/tests/end_to_end/http_server/bitcore_lib/benchmarks.json @@ -0,0 +1,35 @@ +{ + "bitcore_lib": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "10822163299" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239574315523789" } + }, + { + "instructions": { "__bigint__": "1107725383" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239583967387688" } + }, + { + "instructions": { "__bigint__": "11560533227" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239584495592540" } + }, + { + "instructions": { "__bigint__": "18806574432" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239587386983528" } + }, + { + "instructions": { "__bigint__": "12484699294" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239591929598110" } + } + ] + } + } +} diff --git a/tests/end_to_end/http_server/bitcore_lib/benchmarks.md b/tests/end_to_end/http_server/bitcore_lib/benchmarks.md new file mode 100644 index 0000000000..62c31165dc --- /dev/null +++ b/tests/end_to_end/http_server/bitcore_lib/benchmarks.md @@ -0,0 +1,28 @@ +# Benchmarks for bitcore_lib + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | -------------- | -------------- | ------------- | ----------------- | +| 0 | init | 10_822_163_299 | 8_329_455_319 | $0.0110754269 | $11_075.42 | +| 1 | http_request_update | 1_107_725_383 | 843_680_153 | $0.0011218162 | $1_121.81 | +| 2 | http_request_update | 11_560_533_227 | 9_024_803_290 | $0.0120000102 | $12_000.01 | +| 3 | http_request_update | 18_806_574_432 | 14_723_219_772 | $0.0195770236 | $19_577.02 | +| 4 | http_request_update | 12_484_699_294 | 9_794_469_717 | $0.0130234125 | $13_023.41 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/http_server/ethers/benchmarks.json b/tests/end_to_end/http_server/ethers/benchmarks.json new file mode 100644 index 0000000000..3174073ea5 --- /dev/null +++ b/tests/end_to_end/http_server/ethers/benchmarks.json @@ -0,0 +1,15 @@ +{ + "ethers": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "8135798587" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239572100149925" } + } + ] + } + } +} diff --git a/tests/end_to_end/http_server/ethers/benchmarks.md b/tests/end_to_end/http_server/ethers/benchmarks.md new file mode 100644 index 0000000000..6c1f70f24d --- /dev/null +++ b/tests/end_to_end/http_server/ethers/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for ethers + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ------------- | ------------- | ----------------- | +| 0 | init | 8_135_798_587 | 6_454_909_434 | $0.0085828994 | $8_582.89 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/http_server/hybrid_canister/benchmarks.json b/tests/end_to_end/http_server/hybrid_canister/benchmarks.json index dbe6826b7d..63df0350f5 100644 --- a/tests/end_to_end/http_server/hybrid_canister/benchmarks.json +++ b/tests/end_to_end/http_server/hybrid_canister/benchmarks.json @@ -24,19 +24,19 @@ "version": "0.25.0", "benchmarks": [ { - "instructions": { "__bigint__": "8135030419" }, + "instructions": { "__bigint__": "8135229603" }, "method_name": "init", - "timestamp": { "__bigint__": "1729789868878859263" } + "timestamp": { "__bigint__": "1730239599624599972" } }, { - "instructions": { "__bigint__": "44761508" }, + "instructions": { "__bigint__": "44783575" }, "method_name": "http_request_update", - "timestamp": { "__bigint__": "1729789892635759837" } + "timestamp": { "__bigint__": "1730239637557897223" } }, { - "instructions": { "__bigint__": "1426413" }, + "instructions": { "__bigint__": "1427065" }, "method_name": "candidUpdate", - "timestamp": { "__bigint__": "1729789893385184586" } + "timestamp": { "__bigint__": "1730239638396780775" } } ] } @@ -66,19 +66,19 @@ "version": "0.25.0", "benchmarks": [ { - "instructions": { "__bigint__": "8147052903" }, + "instructions": { "__bigint__": "8146812651" }, "method_name": "postUpgrade", - "timestamp": { "__bigint__": "1729789902463575022" } + "timestamp": { "__bigint__": "1730239649421993276" } }, { - "instructions": { "__bigint__": "45136919" }, + "instructions": { "__bigint__": "45104076" }, "method_name": "http_request_update", - "timestamp": { "__bigint__": "1729789905073235499" } + "timestamp": { "__bigint__": "1730239656016948733" } }, { - "instructions": { "__bigint__": "1799989" }, + "instructions": { "__bigint__": "1793482" }, "method_name": "candidUpdate", - "timestamp": { "__bigint__": "1729789905526650107" } + "timestamp": { "__bigint__": "1730239657186523306" } } ] } @@ -113,24 +113,19 @@ "version": "0.25.0", "benchmarks": [ { - "instructions": { "__bigint__": "8136155991" }, + "instructions": { "__bigint__": "8136193902" }, "method_name": "init", - "timestamp": { "__bigint__": "1729789860205240195" } - }, - { - "instructions": { "__bigint__": "44775155" }, - "method_name": "http_request_update", - "timestamp": { "__bigint__": "1729789876782008351" } + "timestamp": { "__bigint__": "1730239584534003704" } }, { - "instructions": { "__bigint__": "44708712" }, + "instructions": { "__bigint__": "44801752" }, "method_name": "http_request_update", - "timestamp": { "__bigint__": "1729789877547662292" } + "timestamp": { "__bigint__": "1730239615456821053" } }, { - "instructions": { "__bigint__": "1453654" }, + "instructions": { "__bigint__": "1453516" }, "method_name": "candidUpdate", - "timestamp": { "__bigint__": "1729789877956665999" } + "timestamp": { "__bigint__": "1730239616676999457" } } ] } @@ -160,19 +155,19 @@ "version": "0.25.0", "benchmarks": [ { - "instructions": { "__bigint__": "8147479160" }, + "instructions": { "__bigint__": "8147477834" }, "method_name": "postUpgrade", - "timestamp": { "__bigint__": "1729789887476275002" } + "timestamp": { "__bigint__": "1730239627700654233" } }, { - "instructions": { "__bigint__": "45174549" }, + "instructions": { "__bigint__": "45142367" }, "method_name": "http_request_update", - "timestamp": { "__bigint__": "1729789890193389348" } + "timestamp": { "__bigint__": "1730239634472189935" } }, { - "instructions": { "__bigint__": "1814907" }, + "instructions": { "__bigint__": "1821611" }, "method_name": "candidUpdate", - "timestamp": { "__bigint__": "1729789890646429484" } + "timestamp": { "__bigint__": "1730239635354885092" } } ] } diff --git a/tests/end_to_end/http_server/hybrid_canister/benchmarks.md b/tests/end_to_end/http_server/hybrid_canister/benchmarks.md index aba4f1235a..29cf773fdc 100644 --- a/tests/end_to_end/http_server/hybrid_canister/benchmarks.md +++ b/tests/end_to_end/http_server/hybrid_canister/benchmarks.md @@ -2,84 +2,83 @@ ## Current benchmarks Azle version: 0.25.0 -| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | -| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | -------------------------- | -| 0 | init | 8_135_030_419 | 6_454_602_167 | $0.0085824909 | $8582.4909 | 0 | -| 1 | http_request_update | 44_761_508 | 18_494_603 | $0.0000245917 | $24.5917 | 0 | -| 2 | candidUpdate | 1_426_413 | 1_160_565 | $0.0000015432 | $1.5432 | 0 | +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | +| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | --------------------------------- | +| 0 | init | 8_135_229_603 | 6_454_681_841 | $0.0085825968 | $8_582.59 | +199_184 | +| 1 | http_request_update | 44_783_575 | 18_503_430 | $0.0000246035 | $24.60 | +22_067 | +| 2 | candidUpdate | 1_427_065 | 1_160_826 | $0.0000015435 | $1.54 | +652 | ## Baseline benchmarks Azle version: 0.25.0 | Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | | --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | -| 0 | init | 8_135_030_419 | 6_454_602_167 | $0.0085824909 | $8582.4909 | -| 1 | http_request_update | 44_761_508 | 18_494_603 | $0.0000245917 | $24.5917 | -| 2 | candidUpdate | 1_426_413 | 1_160_565 | $0.0000015432 | $1.5432 | +| 0 | init | 8_135_030_419 | 6_454_602_167 | $0.0085824909 | $8_582.49 | +| 1 | http_request_update | 44_761_508 | 18_494_603 | $0.0000245917 | $24.59 | +| 2 | candidUpdate | 1_426_413 | 1_160_565 | $0.0000015432 | $1.54 | # Benchmarks for server_init_and_post_upgrade ## Current benchmarks Azle version: 0.25.0 -| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | -| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | -------------------------- | -| 0 | postUpgrade | 8_147_052_903 | 6_459_411_161 | $0.0085888852 | $8588.8852 | 0 | -| 1 | http_request_update | 45_136_919 | 18_644_767 | $0.0000247914 | $24.7914 | 0 | -| 2 | candidUpdate | 1_799_989 | 1_309_995 | $0.0000017419 | $1.7419 | 0 | +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | +| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | ----------------------------------- | +| 0 | postUpgrade | 8_146_812_651 | 6_459_315_060 | $0.0085887575 | $8_588.75 | -240_252 | +| 1 | http_request_update | 45_104_076 | 18_631_630 | $0.0000247739 | $24.77 | -32_843 | +| 2 | candidUpdate | 1_793_482 | 1_307_392 | $0.0000017384 | $1.73 | -6_507 | ## Baseline benchmarks Azle version: 0.25.0 | Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | | --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | -| 0 | postUpgrade | 8_147_052_903 | 6_459_411_161 | $0.0085888852 | $8588.8852 | -| 1 | http_request_update | 45_136_919 | 18_644_767 | $0.0000247914 | $24.7914 | -| 2 | candidUpdate | 1_799_989 | 1_309_995 | $0.0000017419 | $1.7419 | +| 0 | postUpgrade | 8_147_052_903 | 6_459_411_161 | $0.0085888852 | $8_588.88 | +| 1 | http_request_update | 45_136_919 | 18_644_767 | $0.0000247914 | $24.79 | +| 2 | candidUpdate | 1_799_989 | 1_309_995 | $0.0000017419 | $1.74 | # Benchmarks for canister ## Current benchmarks Azle version: 0.25.0 -| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | -| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | -------------------------- | -| 0 | init | 8_136_155_991 | 6_455_052_396 | $0.0085830895 | $8583.0895 | 0 | -| 1 | http_request_update | 44_775_155 | 18_500_062 | $0.0000245990 | $24.5990 | 0 | -| 2 | http_request_update | 44_708_712 | 18_473_484 | $0.0000245636 | $24.5636 | 0 | -| 3 | candidUpdate | 1_453_654 | 1_171_461 | $0.0000015577 | $1.5577 | 0 | +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | +| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | -------------------------------------- | +| 0 | init | 8_136_193_902 | 6_455_067_560 | $0.0085831097 | $8_583.10 | +37_911 | +| 1 | http_request_update | 44_801_752 | 18_510_700 | $0.0000246131 | $24.61 | +26_597 | +| 2 | candidUpdate | 1_453_516 | 1_171_406 | $0.0000015576 | $1.55 | -43_255_196 | ## Baseline benchmarks Azle version: 0.25.0 | Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | | --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | -| 0 | init | 8_136_155_991 | 6_455_052_396 | $0.0085830895 | $8583.0895 | -| 1 | http_request_update | 44_775_155 | 18_500_062 | $0.0000245990 | $24.5990 | -| 2 | http_request_update | 44_708_712 | 18_473_484 | $0.0000245636 | $24.5636 | -| 3 | candidUpdate | 1_453_654 | 1_171_461 | $0.0000015577 | $1.5577 | +| 0 | init | 8_136_155_991 | 6_455_052_396 | $0.0085830895 | $8_583.08 | +| 1 | http_request_update | 44_775_155 | 18_500_062 | $0.0000245990 | $24.59 | +| 2 | http_request_update | 44_708_712 | 18_473_484 | $0.0000245636 | $24.56 | +| 3 | candidUpdate | 1_453_654 | 1_171_461 | $0.0000015577 | $1.55 | # Benchmarks for canister_init_and_post_upgrade ## Current benchmarks Azle version: 0.25.0 -| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | -| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | -------------------------- | -| 0 | postUpgrade | 8_147_479_160 | 6_459_581_664 | $0.0085891120 | $8589.1120 | 0 | -| 1 | http_request_update | 45_174_549 | 18_659_819 | $0.0000248114 | $24.8114 | 0 | -| 2 | candidUpdate | 1_814_907 | 1_315_962 | $0.0000017498 | $1.7498 | 0 | +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | Change | +| --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | ---------------------------------- | +| 0 | postUpgrade | 8_147_477_834 | 6_459_581_133 | $0.0085891112 | $8_589.11 | -1_326 | +| 1 | http_request_update | 45_142_367 | 18_646_946 | $0.0000247943 | $24.79 | -32_182 | +| 2 | candidUpdate | 1_821_611 | 1_318_644 | $0.0000017534 | $1.75 | +6_704 | ## Baseline benchmarks Azle version: 0.25.0 | Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | | --- | ------------------- | ------------- | ------------- | ------------- | ----------------- | -| 0 | postUpgrade | 8_147_479_160 | 6_459_581_664 | $0.0085891120 | $8589.1120 | -| 1 | http_request_update | 45_174_549 | 18_659_819 | $0.0000248114 | $24.8114 | -| 2 | candidUpdate | 1_814_907 | 1_315_962 | $0.0000017498 | $1.7498 | +| 0 | postUpgrade | 8_147_479_160 | 6_459_581_664 | $0.0085891120 | $8_589.11 | +| 1 | http_request_update | 45_174_549 | 18_659_819 | $0.0000248114 | $24.81 | +| 2 | candidUpdate | 1_814_907 | 1_315_962 | $0.0000017498 | $1.74 | --- **Note on calculations:** -- Cycles are calculated using the formula: base*fee + (per_instruction_fee * number*of_instructions) + (additional_fee_per_billion * floor(number_of_instructions / 1_billion)) -- Base fee: 590_000 cycles -- Per instruction fee: 0.4 cycles -- Additional fee: 400_000_000 cycles per billion instructions +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions - USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) 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). diff --git a/tests/end_to_end/http_server/nest/benchmarks.json b/tests/end_to_end/http_server/nest/benchmarks.json new file mode 100644 index 0000000000..0d52be1788 --- /dev/null +++ b/tests/end_to_end/http_server/nest/benchmarks.json @@ -0,0 +1,90 @@ +{ + "api": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "12615213260" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239571368133282" } + }, + { + "instructions": { "__bigint__": "45075565" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239580045006392" } + }, + { + "instructions": { "__bigint__": "44962568" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239580338904714" } + }, + { + "instructions": { "__bigint__": "45120584" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239580674493716" } + }, + { + "instructions": { "__bigint__": "44055698" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239581067399547" } + }, + { + "instructions": { "__bigint__": "53771427" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239582230076956" } + }, + { + "instructions": { "__bigint__": "45730065" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239583482530231" } + }, + { + "instructions": { "__bigint__": "45638609" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239583866350288" } + }, + { + "instructions": { "__bigint__": "45905145" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239584689973988" } + }, + { + "instructions": { "__bigint__": "44765137" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239585281715849" } + }, + { + "instructions": { "__bigint__": "48120803" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239585897642798" } + }, + { + "instructions": { "__bigint__": "45562428" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239586550520661" } + }, + { + "instructions": { "__bigint__": "45498048" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239587160755348" } + }, + { + "instructions": { "__bigint__": "45695338" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239587505756508" } + }, + { + "instructions": { "__bigint__": "44629378" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239588104596797" } + }, + { + "instructions": { "__bigint__": "47963262" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239589065726177" } + } + ] + } + } +} diff --git a/tests/end_to_end/http_server/nest/benchmarks.md b/tests/end_to_end/http_server/nest/benchmarks.md new file mode 100644 index 0000000000..4a87f1582c --- /dev/null +++ b/tests/end_to_end/http_server/nest/benchmarks.md @@ -0,0 +1,39 @@ +# Benchmarks for api + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | -------------- | ------------- | ------------- | ----------------- | +| 0 | init | 12_615_213_260 | 9_846_675_304 | $0.0130928288 | $13_092.82 | +| 1 | http_request_update | 45_075_565 | 18_620_226 | $0.0000247588 | $24.75 | +| 2 | http_request_update | 44_962_568 | 18_575_027 | $0.0000246987 | $24.69 | +| 3 | http_request_update | 45_120_584 | 18_638_233 | $0.0000247827 | $24.78 | +| 4 | http_request_update | 44_055_698 | 18_212_279 | $0.0000242163 | $24.21 | +| 5 | http_request_update | 53_771_427 | 22_098_570 | $0.0000293838 | $29.38 | +| 6 | http_request_update | 45_730_065 | 18_882_026 | $0.0000251069 | $25.10 | +| 7 | http_request_update | 45_638_609 | 18_845_443 | $0.0000250582 | $25.05 | +| 8 | http_request_update | 45_905_145 | 18_952_058 | $0.0000252000 | $25.19 | +| 9 | http_request_update | 44_765_137 | 18_496_054 | $0.0000245936 | $24.59 | +| 10 | http_request_update | 48_120_803 | 19_838_321 | $0.0000263784 | $26.37 | +| 11 | http_request_update | 45_562_428 | 18_814_971 | $0.0000250177 | $25.01 | +| 12 | http_request_update | 45_498_048 | 18_789_219 | $0.0000249835 | $24.98 | +| 13 | http_request_update | 45_695_338 | 18_868_135 | $0.0000250884 | $25.08 | +| 14 | http_request_update | 44_629_378 | 18_441_751 | $0.0000245214 | $24.52 | +| 15 | http_request_update | 47_963_262 | 19_775_304 | $0.0000262946 | $26.29 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/http_server/sqlite/benchmarks.json b/tests/end_to_end/http_server/sqlite/benchmarks.json new file mode 100644 index 0000000000..a11876db2f --- /dev/null +++ b/tests/end_to_end/http_server/sqlite/benchmarks.json @@ -0,0 +1,35 @@ +{ + "sqlite": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "12558682064" }, + "method_name": "postUpgrade", + "timestamp": { "__bigint__": "1730239612161368037" } + }, + { + "instructions": { "__bigint__": "148267530" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239621184768345" } + }, + { + "instructions": { "__bigint__": "75479683" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239622350545011" } + }, + { + "instructions": { "__bigint__": "144464143" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239622981335494" } + }, + { + "instructions": { "__bigint__": "83752782" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239623669567006" } + } + ] + } + } +} diff --git a/tests/end_to_end/http_server/sqlite/benchmarks.md b/tests/end_to_end/http_server/sqlite/benchmarks.md new file mode 100644 index 0000000000..621ab13020 --- /dev/null +++ b/tests/end_to_end/http_server/sqlite/benchmarks.md @@ -0,0 +1,28 @@ +# Benchmarks for sqlite + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | -------------- | ------------- | ------------- | ----------------- | +| 0 | postUpgrade | 12_558_682_064 | 9_824_062_825 | $0.0130627616 | $13_062.76 | +| 1 | http_request_update | 148_267_530 | 59_897_012 | $0.0000796433 | $79.64 | +| 2 | http_request_update | 75_479_683 | 30_781_873 | $0.0000409297 | $40.92 | +| 3 | http_request_update | 144_464_143 | 58_375_657 | $0.0000776204 | $77.62 | +| 4 | http_request_update | 83_752_782 | 34_091_112 | $0.0000453299 | $45.32 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/http_server/sqlite_typeorm/benchmarks.json b/tests/end_to_end/http_server/sqlite_typeorm/benchmarks.json new file mode 100644 index 0000000000..4e4068bc0e --- /dev/null +++ b/tests/end_to_end/http_server/sqlite_typeorm/benchmarks.json @@ -0,0 +1,35 @@ +{ + "sqlite_typeorm": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "14073985977" }, + "method_name": "postUpgrade", + "timestamp": { "__bigint__": "1730239626232876205" } + }, + { + "instructions": { "__bigint__": "128717423" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239636421989877" } + }, + { + "instructions": { "__bigint__": "141911421" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239637025983636" } + }, + { + "instructions": { "__bigint__": "170002435" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239637649289245" } + }, + { + "instructions": { "__bigint__": "66763245" }, + "method_name": "http_request_update", + "timestamp": { "__bigint__": "1730239638514045233" } + } + ] + } + } +} diff --git a/tests/end_to_end/http_server/sqlite_typeorm/benchmarks.md b/tests/end_to_end/http_server/sqlite_typeorm/benchmarks.md new file mode 100644 index 0000000000..5da88ab539 --- /dev/null +++ b/tests/end_to_end/http_server/sqlite_typeorm/benchmarks.md @@ -0,0 +1,28 @@ +# Benchmarks for sqlite_typeorm + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ------------------- | -------------- | -------------- | ------------- | ----------------- | +| 0 | postUpgrade | 14_073_985_977 | 11_230_184_390 | $0.0149324393 | $14_932.43 | +| 1 | http_request_update | 128_717_423 | 52_076_969 | $0.0000692452 | $69.24 | +| 2 | http_request_update | 141_911_421 | 57_354_568 | $0.0000762626 | $76.26 | +| 3 | http_request_update | 170_002_435 | 68_590_974 | $0.0000912034 | $91.20 | +| 4 | http_request_update | 66_763_245 | 27_295_298 | $0.0000362937 | $36.29 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution). diff --git a/tests/end_to_end/http_server/web_assembly/benchmarks.json b/tests/end_to_end/http_server/web_assembly/benchmarks.json new file mode 100644 index 0000000000..5c34d1096e --- /dev/null +++ b/tests/end_to_end/http_server/web_assembly/benchmarks.json @@ -0,0 +1,15 @@ +{ + "web_assembly": { + "previous": { "version": "0.25.0", "benchmarks": [] }, + "current": { + "version": "0.25.0", + "benchmarks": [ + { + "instructions": { "__bigint__": "8198292206" }, + "method_name": "init", + "timestamp": { "__bigint__": "1730239567181136460" } + } + ] + } + } +} diff --git a/tests/end_to_end/http_server/web_assembly/benchmarks.md b/tests/end_to_end/http_server/web_assembly/benchmarks.md new file mode 100644 index 0000000000..6f33deb8d9 --- /dev/null +++ b/tests/end_to_end/http_server/web_assembly/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for web_assembly + +## Current benchmarks Azle version: 0.25.0 + +| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | +| --- | ----------- | ------------- | ------------- | ------------- | ----------------- | +| 0 | init | 8_198_292_206 | 6_479_906_882 | $0.0086161378 | $8_616.13 | + +## Baseline benchmarks Azle version: 0.25.0 + +No benchmarks reported + +--- + +**Note on calculations:** + +- 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)) +- base_fee: 590_000 cycles +- per_instruction_fee: 0.4 cycles +- additional_fee_per_billion: 400_000_000 cycles per billion instructions +- USD value is derived from the total cycles, where 1 trillion cycles = 1 XDR, and 1 XDR = $1.329670 (as of October 24, 2024) + +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). +For the most current fee information, please check the [official documentation](https://internetcomputer.org/docs/current/developer-docs/gas-cost#execution).