-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
281 changed files
with
10,859 additions
and
178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" } | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
35 changes: 35 additions & 0 deletions
35
tests/end_to_end/candid_rpc/class_syntax/bytes/benchmarks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" } | ||
} | ||
] | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
tests/end_to_end/candid_rpc/class_syntax/bytes/benchmarks.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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). |
1 change: 1 addition & 0 deletions
1
tests/end_to_end/candid_rpc/class_syntax/bytes/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
tests/end_to_end/candid_rpc/class_syntax/call_raw/benchmarks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" } | ||
} | ||
] | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
tests/end_to_end/candid_rpc/class_syntax/call_raw/benchmarks.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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). |
6 changes: 6 additions & 0 deletions
6
tests/end_to_end/candid_rpc/class_syntax/candid_encoding/benchmarks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"candid_encoding": { | ||
"previous": { "version": "0.25.0", "benchmarks": [] }, | ||
"current": { "version": "0.25.0", "benchmarks": [] } | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
tests/end_to_end/candid_rpc/class_syntax/candid_encoding/benchmarks.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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). |
1 change: 1 addition & 0 deletions
1
tests/end_to_end/candid_rpc/class_syntax/candid_encoding/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
tests/end_to_end/candid_rpc/class_syntax/candid_keywords/benchmarks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"candid_keywords": { | ||
"previous": { "version": "0.25.0", "benchmarks": [] }, | ||
"current": { "version": "0.25.0", "benchmarks": [] } | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
tests/end_to_end/candid_rpc/class_syntax/candid_keywords/benchmarks.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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). |
4 changes: 2 additions & 2 deletions
4
tests/end_to_end/candid_rpc/class_syntax/candid_keywords/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
25 changes: 25 additions & 0 deletions
25
tests/end_to_end/candid_rpc/class_syntax/canister/benchmarks.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" } | ||
} | ||
] | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
tests/end_to_end/candid_rpc/class_syntax/canister/benchmarks.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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). |
4 changes: 2 additions & 2 deletions
4
tests/end_to_end/candid_rpc/class_syntax/canister/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.