From c4a1667c270e2b2a81afcb9a515fa573ef3fe8d6 Mon Sep 17 00:00:00 2001 From: Jordan Last Date: Mon, 28 Oct 2024 15:10:10 +0000 Subject: [PATCH] Update all dependencies for release 0.24.2-rc.80 --- 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..1986ac1d40 --- /dev/null +++ b/examples/hello_world/benchmarks.json @@ -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" } + } + ] + } + } +} diff --git a/examples/hello_world/benchmarks.md b/examples/hello_world/benchmarks.md new file mode 100644 index 0000000000..2c42b071c0 --- /dev/null +++ b/examples/hello_world/benchmarks.md @@ -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). diff --git a/examples/hello_world/package-lock.json b/examples/hello_world/package-lock.json index e5d8539dac..4a2107aa12 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.80" }, "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.80", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.2-rc.80.tgz", + "integrity": "sha512-lGpDm7myruSyesEPJw9iVnlqsxX/DFW+2/y0G3ZZSJfCxh7oamPzcvTd4uTx7bliWZA831Dw767kAnN1UBw7HA==", "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..400eb62d1a 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.80" }, "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..44c514a1ba 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.80", "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.80", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.2-rc.80.tgz", + "integrity": "sha512-lGpDm7myruSyesEPJw9iVnlqsxX/DFW+2/y0G3ZZSJfCxh7oamPzcvTd4uTx7bliWZA831Dw767kAnN1UBw7HA==", "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.80", + "resolved": "https://registry.npmjs.org/azle/-/azle-0.24.2-rc.80.tgz", + "integrity": "sha512-lGpDm7myruSyesEPJw9iVnlqsxX/DFW+2/y0G3ZZSJfCxh7oamPzcvTd4uTx7bliWZA831Dw767kAnN1UBw7HA==", "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..cf2f6e5c97 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.80", "express": "^4.18.2", "lit": "^3.1.2" },