From ad4fa79bea2fe4429f3506b19b52cc321c4cd07c Mon Sep 17 00:00:00 2001 From: Jordan Last Date: Fri, 25 Oct 2024 21:20:39 +0000 Subject: [PATCH] Update all dependencies for release 0.24.2-rc.71 --- examples/hello_world/benchmarks.json | 15 ++++++++++++ examples/hello_world/benchmarks.md | 24 +++++++++++++++++++ examples/hello_world/package-lock.json | 9 ++++--- examples/hello_world/package.json | 2 +- .../hello_world_http_server/package-lock.json | 15 ++++++------ examples/hello_world_http_server/package.json | 2 +- 6 files changed, 52 insertions(+), 15 deletions(-) create mode 100644 examples/hello_world/benchmarks.json create mode 100644 examples/hello_world/benchmarks.md diff --git a/examples/hello_world/benchmarks.json b/examples/hello_world/benchmarks.json new file mode 100644 index 0000000000..b1b64c358a --- /dev/null +++ b/examples/hello_world/benchmarks.json @@ -0,0 +1,15 @@ +{ + "hello_world": { + "previous": { "version": "0.24.2-rc.71", "benchmarks": [] }, + "current": { + "version": "0.24.2-rc.71", + "benchmarks": [ + { + "instructions": { "__bigint__": "1297524" }, + "method_name": "setMessage", + "timestamp": { "__bigint__": "1729891211257912813" } + } + ] + } + } +} diff --git a/examples/hello_world/benchmarks.md b/examples/hello_world/benchmarks.md new file mode 100644 index 0000000000..658e64d183 --- /dev/null +++ b/examples/hello_world/benchmarks.md @@ -0,0 +1,24 @@ +# Benchmarks for hello_world + +## Current benchmarks Azle version: 0.24.2-rc.71 + +| 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.71 + +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/examples/hello_world/package-lock.json b/examples/hello_world/package-lock.json index e5d8539dac..58b8320119 100644 --- a/examples/hello_world/package-lock.json +++ b/examples/hello_world/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.24.1" + "azle": "0.24.2-rc.71" }, "devDependencies": { "jest": "^29.7.0", @@ -1799,11 +1799,10 @@ "dev": true }, "node_modules/azle": { - "version": "0.24.1", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1.tgz", - "integrity": "sha512-k7E3TyKSdIH25fbLP8ix4kwJtKHQH9ooPtATyPCTWkGyRMs2RedyEimfcEjznPgYvciS4AcNwyWJUwx0jKpKsw==", + "version": "0.24.2-rc.71", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.2-rc.71.tgz", + "integrity": "sha512-r97DM+mpgL2xt3T2e1h7KiAsAflIpfDJmPN9x60yypBC4Mg5toiB9i4brhjZeY1beX7tjcnDdnGlEe9o7ARnqg==", "hasInstallScript": true, - "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", diff --git a/examples/hello_world/package.json b/examples/hello_world/package.json index 68c9541149..0b76264fa2 100644 --- a/examples/hello_world/package.json +++ b/examples/hello_world/package.json @@ -4,7 +4,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.24.1" + "azle": "0.24.2-rc.71" }, "devDependencies": { "jest": "^29.7.0", diff --git a/examples/hello_world_http_server/package-lock.json b/examples/hello_world_http_server/package-lock.json index 91fe11ca5f..38a44430dd 100644 --- a/examples/hello_world_http_server/package-lock.json +++ b/examples/hello_world_http_server/package-lock.json @@ -5,7 +5,7 @@ "packages": { "": { "dependencies": { - "azle": "0.24.1", + "azle": "0.24.2-rc.71", "express": "^4.18.2", "lit": "^3.1.2" }, @@ -2447,11 +2447,10 @@ } }, "node_modules/azle": { - "version": "0.24.1", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1.tgz", - "integrity": "sha512-k7E3TyKSdIH25fbLP8ix4kwJtKHQH9ooPtATyPCTWkGyRMs2RedyEimfcEjznPgYvciS4AcNwyWJUwx0jKpKsw==", + "version": "0.24.2-rc.71", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.2-rc.71.tgz", + "integrity": "sha512-r97DM+mpgL2xt3T2e1h7KiAsAflIpfDJmPN9x60yypBC4Mg5toiB9i4brhjZeY1beX7tjcnDdnGlEe9o7ARnqg==", "hasInstallScript": true, - "license": "MIT", "dependencies": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", @@ -9590,9 +9589,9 @@ } }, "azle": { - "version": "0.24.1", - "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.1.tgz", - "integrity": "sha512-k7E3TyKSdIH25fbLP8ix4kwJtKHQH9ooPtATyPCTWkGyRMs2RedyEimfcEjznPgYvciS4AcNwyWJUwx0jKpKsw==", + "version": "0.24.2-rc.71", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.2-rc.71.tgz", + "integrity": "sha512-r97DM+mpgL2xt3T2e1h7KiAsAflIpfDJmPN9x60yypBC4Mg5toiB9i4brhjZeY1beX7tjcnDdnGlEe9o7ARnqg==", "requires": { "@dfinity/agent": "^1.1.0", "@dfinity/identity-secp256k1": "^1.1.0", diff --git a/examples/hello_world_http_server/package.json b/examples/hello_world_http_server/package.json index b40d113f6d..f119b0ac69 100644 --- a/examples/hello_world_http_server/package.json +++ b/examples/hello_world_http_server/package.json @@ -5,7 +5,7 @@ "test": "jest" }, "dependencies": { - "azle": "0.24.1", + "azle": "0.24.2-rc.71", "express": "^4.18.2", "lit": "^3.1.2" },