Skip to content

Commit

Permalink
Update all dependencies for release 0.24.2-rc.80
Browse files Browse the repository at this point in the history
  • Loading branch information
lastmjs committed Oct 28, 2024
1 parent f73f84c commit c4a1667
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 15 deletions.
15 changes: 15 additions & 0 deletions examples/hello_world/benchmarks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"hello_world": {
"previous": { "version": "0.24.2-rc.80", "benchmarks": [] },
"current": {
"version": "0.24.2-rc.80",
"benchmarks": [
{
"instructions": { "__bigint__": "1297524" },
"method_name": "setMessage",
"timestamp": { "__bigint__": "1730128179735330938" }
}
]
}
}
}
24 changes: 24 additions & 0 deletions examples/hello_world/benchmarks.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Benchmarks for hello_world

## Current benchmarks Azle version: 0.24.2-rc.80

| Id | Method Name | Instructions | Cycles | USD | USD/Million Calls |
| --- | ----------- | ------------ | --------- | ------------- | ----------------- |
| 0 | setMessage | 1_297_524 | 1_109_009 | $0.0000014746 | $1.47 |

## Baseline benchmarks Azle version: 0.24.2-rc.80

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).
9 changes: 4 additions & 5 deletions examples/hello_world/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/hello_world/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"test": "jest"
},
"dependencies": {
"azle": "0.24.1"
"azle": "0.24.2-rc.80"
},
"devDependencies": {
"jest": "^29.7.0",
Expand Down
15 changes: 7 additions & 8 deletions examples/hello_world_http_server/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/hello_world_http_server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"test": "jest"
},
"dependencies": {
"azle": "0.24.1",
"azle": "0.24.2-rc.80",
"express": "^4.18.2",
"lit": "^3.1.2"
},
Expand Down

0 comments on commit c4a1667

Please sign in to comment.