Skip to content

Commit

Permalink
Merge pull request #2328 from demergent-labs/missing_benchmarks
Browse files Browse the repository at this point in the history
Missing benchmarks
  • Loading branch information
lastmjs authored Dec 17, 2024
2 parents b9cfa3f + 97faf12 commit 728b135
Show file tree
Hide file tree
Showing 12 changed files with 1,764 additions and 7,759 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,31 @@
{
"canister1": {
"previous": { "version": "No previous benchmarks", "benchmarks": [] },
"current": { "version": "0.25.0-pre-bifurcation", "benchmarks": [] }
"previous": {
"version": "0.25.0-pre-bifurcation",
"benchmarks": []
},
"current": {
"version": "0.25.0-dev",
"benchmarks": [
{
"instructions": {
"__bigint__": "5499208898"
},
"method_name": "init",
"timestamp": {
"__bigint__": "1734133390459503339"
}
},
{
"instructions": {
"__bigint__": "11963642"
},
"method_name": "simpleUpdate",
"timestamp": {
"__bigint__": "1734133413583963268"
}
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
# Benchmarks for canister1

## Current benchmarks Azle version: 0.25.0-pre-bifurcation
## Current benchmarks Azle version: 0.25.0-dev

No benchmarks reported
| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls |
| --- | ------------ | ------------- | ------------- | ------------- | ----------------- |
| 0 | init | 5_499_208_898 | 4_200_273_559 | $0.0055849777 | $5_584.97 |
| 1 | simpleUpdate | 11_963_642 | 5_375_456 | $0.0000071476 | $7.14 |

## Baseline benchmarks Azle version: No previous benchmarks
## Baseline benchmarks Azle version: 0.25.0-pre-bifurcation

No benchmarks reported

Expand Down
3,873 changes: 93 additions & 3,780 deletions tests/end_to_end/candid_rpc/functional_syntax/composite_queries/package-lock.json

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,6 +1,265 @@
{
"management_canister": {
"previous": { "version": "No previous benchmarks", "benchmarks": [] },
"current": { "version": "0.25.0-pre-bifurcation", "benchmarks": [] }
"previous": {
"version": "0.25.0-pre-bifurcation",
"benchmarks": []
},
"current": {
"version": "0.25.0-dev",
"benchmarks": [
{
"instructions": {
"__bigint__": "153713118"
},
"method_name": "executeCreateCanister",
"timestamp": {
"__bigint__": "1734133482753097257"
}
},
{
"instructions": {
"__bigint__": "154977977"
},
"method_name": "executeUpdateSettings",
"timestamp": {
"__bigint__": "1734133483352336118"
}
},
{
"instructions": {
"__bigint__": "143058672"
},
"method_name": "getCanisterStatus",
"timestamp": {
"__bigint__": "1734133483639331937"
}
},
{
"instructions": {
"__bigint__": "168387306"
},
"method_name": "executeInstallCode",
"timestamp": {
"__bigint__": "1734133484250379456"
}
},
{
"instructions": {
"__bigint__": "143622977"
},
"method_name": "executeUninstallCode",
"timestamp": {
"__bigint__": "1734133484827033550"
}
},
{
"instructions": {
"__bigint__": "143030674"
},
"method_name": "getCanisterStatus",
"timestamp": {
"__bigint__": "1734133485107025695"
}
},
{
"instructions": {
"__bigint__": "157768597"
},
"method_name": "executeUploadChunk",
"timestamp": {
"__bigint__": "1734133485707572308"
}
},
{
"instructions": {
"__bigint__": "142248251"
},
"method_name": "getStoredChunks",
"timestamp": {
"__bigint__": "1734133486055139925"
}
},
{
"instructions": {
"__bigint__": "142285832"
},
"method_name": "getStoredChunks",
"timestamp": {
"__bigint__": "1734133486606718422"
}
},
{
"instructions": {
"__bigint__": "160352654"
},
"method_name": "executeInstallChunkedCode",
"timestamp": {
"__bigint__": "1734133486912844105"
}
},
{
"instructions": {
"__bigint__": "143753498"
},
"method_name": "executeUninstallCode",
"timestamp": {
"__bigint__": "1734133487194136401"
}
},
{
"instructions": {
"__bigint__": "142623027"
},
"method_name": "executeClearChunkStore",
"timestamp": {
"__bigint__": "1734133487523451826"
}
},
{
"instructions": {
"__bigint__": "142320532"
},
"method_name": "getStoredChunks",
"timestamp": {
"__bigint__": "1734133488063310046"
}
},
{
"instructions": {
"__bigint__": "143237156"
},
"method_name": "getCanisterStatus",
"timestamp": {
"__bigint__": "1734133488363494527"
}
},
{
"instructions": {
"__bigint__": "142290814"
},
"method_name": "executeDepositCycles",
"timestamp": {
"__bigint__": "1734133488639723505"
}
},
{
"instructions": {
"__bigint__": "143270170"
},
"method_name": "getCanisterStatus",
"timestamp": {
"__bigint__": "1734133488917343060"
}
},
{
"instructions": {
"__bigint__": "143715716"
},
"method_name": "executeUninstallCode",
"timestamp": {
"__bigint__": "1734133489222504436"
}
},
{
"instructions": {
"__bigint__": "143207609"
},
"method_name": "getCanisterStatus",
"timestamp": {
"__bigint__": "1734133489510443501"
}
},
{
"instructions": {
"__bigint__": "142273754"
},
"method_name": "executeStopCanister",
"timestamp": {
"__bigint__": "1734133489824003526"
}
},
{
"instructions": {
"__bigint__": "143272154"
},
"method_name": "getCanisterStatus",
"timestamp": {
"__bigint__": "1734133490115675792"
}
},
{
"instructions": {
"__bigint__": "143244418"
},
"method_name": "getCanisterStatus",
"timestamp": {
"__bigint__": "1734133490467899928"
}
},
{
"instructions": {
"__bigint__": "142436659"
},
"method_name": "executeStartCanister",
"timestamp": {
"__bigint__": "1734133490979946097"
}
},
{
"instructions": {
"__bigint__": "143353344"
},
"method_name": "getCanisterStatus",
"timestamp": {
"__bigint__": "1734133491295877028"
}
},
{
"instructions": {
"__bigint__": "143164536"
},
"method_name": "getCanisterStatus",
"timestamp": {
"__bigint__": "1734133491828172678"
}
},
{
"instructions": {
"__bigint__": "146550251"
},
"method_name": "getCanisterInfo",
"timestamp": {
"__bigint__": "1734133492145528150"
}
},
{
"instructions": {
"__bigint__": "142316049"
},
"method_name": "executeStopCanister",
"timestamp": {
"__bigint__": "1734133492697074257"
}
},
{
"instructions": {
"__bigint__": "142488904"
},
"method_name": "executeDeleteCanister",
"timestamp": {
"__bigint__": "1734133493007160100"
}
},
{
"instructions": {
"__bigint__": "140227619"
},
"method_name": "getRawRand",
"timestamp": {
"__bigint__": "1734133493289114028"
}
}
]
}
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,39 @@
# Benchmarks for management_canister

## Current benchmarks Azle version: 0.25.0-pre-bifurcation

No benchmarks reported

## Baseline benchmarks Azle version: No previous benchmarks
## Current benchmarks Azle version: 0.25.0-dev

| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls |
| --- | ------------------------- | ------------ | ---------- | ------------- | ----------------- |
| 0 | executeCreateCanister | 153_713_118 | 62_075_247 | $0.0000825396 | $82.53 |
| 1 | executeUpdateSettings | 154_977_977 | 62_581_190 | $0.0000832123 | $83.21 |
| 2 | getCanisterStatus | 143_058_672 | 57_813_468 | $0.0000768728 | $76.87 |
| 3 | executeInstallCode | 168_387_306 | 67_944_922 | $0.0000903443 | $90.34 |
| 4 | executeUninstallCode | 143_622_977 | 58_039_190 | $0.0000771730 | $77.17 |
| 5 | getCanisterStatus | 143_030_674 | 57_802_269 | $0.0000768579 | $76.85 |
| 6 | executeUploadChunk | 157_768_597 | 63_697_438 | $0.0000846966 | $84.69 |
| 7 | getStoredChunks | 142_248_251 | 57_489_300 | $0.0000764418 | $76.44 |
| 8 | getStoredChunks | 142_285_832 | 57_504_332 | $0.0000764618 | $76.46 |
| 9 | executeInstallChunkedCode | 160_352_654 | 64_731_061 | $0.0000860709 | $86.07 |
| 10 | executeUninstallCode | 143_753_498 | 58_091_399 | $0.0000772424 | $77.24 |
| 11 | executeClearChunkStore | 142_623_027 | 57_639_210 | $0.0000766411 | $76.64 |
| 12 | getStoredChunks | 142_320_532 | 57_518_212 | $0.0000764802 | $76.48 |
| 13 | getCanisterStatus | 143_237_156 | 57_884_862 | $0.0000769678 | $76.96 |
| 14 | executeDepositCycles | 142_290_814 | 57_506_325 | $0.0000764644 | $76.46 |
| 15 | getCanisterStatus | 143_270_170 | 57_898_068 | $0.0000769853 | $76.98 |
| 16 | executeUninstallCode | 143_715_716 | 58_076_286 | $0.0000772223 | $77.22 |
| 17 | getCanisterStatus | 143_207_609 | 57_873_043 | $0.0000769520 | $76.95 |
| 18 | executeStopCanister | 142_273_754 | 57_499_501 | $0.0000764554 | $76.45 |
| 19 | getCanisterStatus | 143_272_154 | 57_898_861 | $0.0000769864 | $76.98 |
| 20 | getCanisterStatus | 143_244_418 | 57_887_767 | $0.0000769716 | $76.97 |
| 21 | executeStartCanister | 142_436_659 | 57_564_663 | $0.0000765420 | $76.54 |
| 22 | getCanisterStatus | 143_353_344 | 57_931_337 | $0.0000770296 | $77.02 |
| 23 | getCanisterStatus | 143_164_536 | 57_855_814 | $0.0000769291 | $76.92 |
| 24 | getCanisterInfo | 146_550_251 | 59_210_100 | $0.0000787299 | $78.72 |
| 25 | executeStopCanister | 142_316_049 | 57_516_419 | $0.0000764779 | $76.47 |
| 26 | executeDeleteCanister | 142_488_904 | 57_585_561 | $0.0000765698 | $76.56 |
| 27 | getRawRand | 140_227_619 | 56_681_047 | $0.0000753671 | $75.36 |

## Baseline benchmarks Azle version: 0.25.0-pre-bifurcation

No benchmarks reported

Expand Down
Loading

0 comments on commit 728b135

Please sign in to comment.