Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gas benchmarks vs reference FunC implementation #5

Open
anton-trunov opened this issue Nov 30, 2024 · 3 comments
Open

Add gas benchmarks vs reference FunC implementation #5

anton-trunov opened this issue Nov 30, 2024 · 3 comments
Labels
documentation Improvements or additions to documentation

Comments

@anton-trunov
Copy link
Member

anton-trunov commented Nov 30, 2024

These should automatically run in Sandbox the same typical communication scenarios for Tact and FunC implementations and show the consumed gas for both versions, the absolute and relative difference.

The gas benchmark results have been moved to https://github.com/tact-lang/jetton/wiki

Shvandre pushed a commit that referenced this issue Nov 30, 2024
feat: add deploy command

feat: upgrade tact compiler

chore: upgrade tact

feat: Upgrade to 0.3.0

chore: upgrade tact to 0.4.0

chore: upgrade to TACT v0.5.0

feat: upgrade template to 0.6.0

fix: fix deploy code

ref: replace randomAddress with testAddress from ton-emulator

chore: upgrade to 0.7.0

fix: fix dependencies

chore: upgrade tact to 0.7.1

update readme

Added a little guide for devs who will try to launch TACT template projects and examples the first time.

fix json description

fix2

fix: fix base64 url

chore: upgrade to 0.8.1

feat: add multiple deploy options

ref: remove yarn.lock and package-lock.json

Update package.json

Update package.json

Update package.json

Update README.md

Update README.md

Update package.json

feat: update template to match latest versions

chore: upgrade tact to 0.10.0

ref: upgrade to tact v1.0.0 and emulator v3.0.0

feat: upgrade tact template

ref: update readme

ref: update readme

ref: using new deployer

ref: improve deployment

ref: better deployment script

ref: upgrade emulator and ton-core

ref: quality of life improvements

feat: add code coverage

feat: upgrade tact

feat: update emulator, coverage and compiler

Add the read file example

updates

updates

test: update snapshot (#6)

Update @tact-lang/compiler to 1.1.4 (#5)

Also adds `"types": ["jest"]` to tsconfig.json

Update @tact-lang/compiler to 1.1.5 (#8)

Update to @ton/core deps (#9)

chore: improve grammar and wording in README (#13)

* chore: exclude HTML from GitHub's languages report

* chore[README.md]: some fixes and refinements

Update @tact-lang/compiler to 1.2.0 (#14)

fix: issue with contract reader (#12)

Update @tact-lang/compiler to 1.3.0 (#18)

Update @tact-lang/compiler to 1.4.0 (#23)

Update @tact-lang/compiler to 1.4.2 (#26)

Update @tact-lang/compiler to 1.4.4 (#28)

feat: migrate from `@tact-lang/emulator` to `@ton/sandbox` (#29)

Tact release 1.5.0 (#32)

* Use explicit options in tact.config.json

* Update @tact-lang/compiler to 1.5.0

* Remove @tact-lang/coverage

GitHub actions and Misti integration (#34)

feat: Update Misti version (#36)

Started rewriting tests, migraged to tact-template
Shvandre added a commit that referenced this issue Nov 30, 2024
feat: add deploy command

feat: upgrade tact compiler

chore: upgrade tact

feat: Upgrade to 0.3.0

chore: upgrade tact to 0.4.0

chore: upgrade to TACT v0.5.0

feat: upgrade template to 0.6.0

fix: fix deploy code

ref: replace randomAddress with testAddress from ton-emulator

chore: upgrade to 0.7.0

fix: fix dependencies

chore: upgrade tact to 0.7.1

update readme

Added a little guide for devs who will try to launch TACT template projects and examples the first time.

fix json description

fix2

fix: fix base64 url

chore: upgrade to 0.8.1

feat: add multiple deploy options

ref: remove yarn.lock and package-lock.json

Update package.json

Update package.json

Update package.json

Update README.md

Update README.md

Update package.json

feat: update template to match latest versions

chore: upgrade tact to 0.10.0

ref: upgrade to tact v1.0.0 and emulator v3.0.0

feat: upgrade tact template

ref: update readme

ref: update readme

ref: using new deployer

ref: improve deployment

ref: better deployment script

ref: upgrade emulator and ton-core

ref: quality of life improvements

feat: add code coverage

feat: upgrade tact

feat: update emulator, coverage and compiler

Add the read file example

updates

updates

test: update snapshot (#6)

Update @tact-lang/compiler to 1.1.4 (#5)

Also adds `"types": ["jest"]` to tsconfig.json

Update @tact-lang/compiler to 1.1.5 (#8)

Update to @ton/core deps (#9)

chore: improve grammar and wording in README (#13)

* chore: exclude HTML from GitHub's languages report

* chore[README.md]: some fixes and refinements

Update @tact-lang/compiler to 1.2.0 (#14)

fix: issue with contract reader (#12)

Update @tact-lang/compiler to 1.3.0 (#18)

Update @tact-lang/compiler to 1.4.0 (#23)

Update @tact-lang/compiler to 1.4.2 (#26)

Update @tact-lang/compiler to 1.4.4 (#28)

feat: migrate from `@tact-lang/emulator` to `@ton/sandbox` (#29)

Tact release 1.5.0 (#32)

* Use explicit options in tact.config.json

* Update @tact-lang/compiler to 1.5.0

* Remove @tact-lang/coverage

GitHub actions and Misti integration (#34)

feat: Update Misti version (#36)

Started rewriting tests, migraged to tact-template
@Shvandre
Copy link
Collaborator

Shvandre commented Dec 5, 2024

moved the table to the original post

@Shvandre
Copy link
Collaborator

Shvandre commented Dec 18, 2024

(Added Tact Without Address Validation Testing) @anton-trunov The overall results, while not dramatically, are noticeably better. But SimpleTransfer results improved from 2.25x to 1.65x

@Shvandre
Copy link
Collaborator

But according to results, JettonBurn and walletDiscovery became just a little bit, but still worse. I rechecked previous tests on the same machine, same code and same packages (except tact-compiler itself). And I am still getting this results. Looks very strange for me

@Shvandre Shvandre added the documentation Improvements or additions to documentation label Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants