-
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.
Merge pull request #2259 from demergent-labs/benchmark--0.25.0-pre-bi…
…furcation Benchmark Results for benchmark--0.25.0-pre-bifurcation
- Loading branch information
Showing
313 changed files
with
18,160 additions
and
24,231 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"hello_world": { | ||
"previous": { "version": "No previous benchmarks", "benchmarks": [] }, | ||
"current": { | ||
"version": "0.25.0-pre-bifurcation", | ||
"benchmarks": [ | ||
{ | ||
"instructions": { "__bigint__": "1300399" }, | ||
"method_name": "setMessage", | ||
"timestamp": { "__bigint__": "1730326452954711925" } | ||
} | ||
] | ||
} | ||
} | ||
} |
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-pre-bifurcation | ||
|
||
| 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: No previous benchmarks | ||
|
||
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). |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
22 changes: 11 additions & 11 deletions
22
tests/end_to_end/candid_rpc/class_syntax/async_await/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
35 changes: 35 additions & 0 deletions
35
tests/end_to_end/candid_rpc/class_syntax/audio_recorder/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 @@ | ||
{ | ||
"audio_recorder": { | ||
"previous": { "version": "No previous benchmarks", "benchmarks": [] }, | ||
"current": { | ||
"version": "0.25.0-pre-bifurcation", | ||
"benchmarks": [ | ||
{ | ||
"instructions": { "__bigint__": "11210958" }, | ||
"method_name": "createUser", | ||
"timestamp": { "__bigint__": "1730326453422771537" } | ||
}, | ||
{ | ||
"instructions": { "__bigint__": "30870605" }, | ||
"method_name": "createRecording", | ||
"timestamp": { "__bigint__": "1730326455601170106" } | ||
}, | ||
{ | ||
"instructions": { "__bigint__": "43574088" }, | ||
"method_name": "deleteRecording", | ||
"timestamp": { "__bigint__": "1730326457536073233" } | ||
}, | ||
{ | ||
"instructions": { "__bigint__": "30668934" }, | ||
"method_name": "createRecording", | ||
"timestamp": { "__bigint__": "1730326459743405791" } | ||
}, | ||
{ | ||
"instructions": { "__bigint__": "29795439" }, | ||
"method_name": "deleteUser", | ||
"timestamp": { "__bigint__": "1730326461791915596" } | ||
} | ||
] | ||
} | ||
} | ||
} |
28 changes: 28 additions & 0 deletions
28
tests/end_to_end/candid_rpc/class_syntax/audio_recorder/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 audio_recorder | ||
|
||
## Current benchmarks Azle version: 0.25.0-pre-bifurcation | ||
|
||
| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls | | ||
| --- | --------------- | ------------ | ---------- | ------------- | ----------------- | | ||
| 0 | createUser | 11_210_958 | 5_074_383 | $0.0000067473 | $6.74 | | ||
| 1 | createRecording | 30_870_605 | 12_938_242 | $0.0000172036 | $17.20 | | ||
| 2 | deleteRecording | 43_574_088 | 18_019_635 | $0.0000239602 | $23.96 | | ||
| 3 | createRecording | 30_668_934 | 12_857_573 | $0.0000170963 | $17.09 | | ||
| 4 | deleteUser | 29_795_439 | 12_508_175 | $0.0000166317 | $16.63 | | ||
|
||
## Baseline benchmarks Azle version: No previous benchmarks | ||
|
||
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). |
Oops, something went wrong.