From 37b4551528c79c60b88c14ebf93d6b7e9696f914 Mon Sep 17 00:00:00 2001 From: skywardboundd Date: Wed, 28 May 2025 15:29:12 +0300 Subject: [PATCH 1/2] benches: refactor links --- src/benchmarks/escrow/gas.json | 4 ++-- src/benchmarks/escrow/size.json | 2 +- src/benchmarks/jetton/gas.json | 20 ++++++++++---------- src/benchmarks/jetton/size.json | 4 ++-- src/benchmarks/nft/gas.json | 7 ++++--- src/benchmarks/nft/size.json | 6 +++--- src/benchmarks/wallet-v4/gas.json | 3 ++- src/benchmarks/wallet-v5/gas.json | 4 ++-- 8 files changed, 26 insertions(+), 24 deletions(-) diff --git a/src/benchmarks/escrow/gas.json b/src/benchmarks/escrow/gas.json index 4ce0a66131..162a41dc0d 100644 --- a/src/benchmarks/escrow/gas.json +++ b/src/benchmarks/escrow/gas.json @@ -8,7 +8,7 @@ "approveTon": "7400", "cancelTon": "5311" }, - "pr": "https://github.com/tact-lang/tact/pull/1390" + "pr": null }, { "label": "1.5.4", @@ -172,7 +172,7 @@ }, { "label": "1.6.4 with no selector hack", - "pr": null, + "pr": "https://github.com/tact-lang/tact/pull/2398", "gas": { "fundingTon": "4689", "changeCode": "4798", diff --git a/src/benchmarks/escrow/size.json b/src/benchmarks/escrow/size.json index b69dc1e81c..f2ebdf9964 100644 --- a/src/benchmarks/escrow/size.json +++ b/src/benchmarks/escrow/size.json @@ -34,7 +34,7 @@ }, { "label": "1.6.4 with no selector hack", - "pr": null, + "pr": "https://github.com/tact-lang/tact/pull/2398", "size": { "cells": "21", "bits": "12423" diff --git a/src/benchmarks/jetton/gas.json b/src/benchmarks/jetton/gas.json index ed089065f4..5ed133d52f 100644 --- a/src/benchmarks/jetton/gas.json +++ b/src/benchmarks/jetton/gas.json @@ -7,7 +7,7 @@ "burn": "12514", "discovery": "6554" }, - "pr": "https://github.com/ton-blockchain/token-contract" + "pr": "https://github.com/ton-blockchain/token-contract/blob/21e7844fa6dbed34e0f4c70eb5f0824409640a30/ft" }, { "label": "1.5.3", @@ -25,7 +25,7 @@ "burn": "26594", "discovery": "15408" }, - "pr": null + "pr": "https://github.com/tact-lang/tact/pull/1905" }, { "label": "1.5.3 without self-code in system cell", @@ -34,7 +34,7 @@ "burn": "17898", "discovery": "11135" }, - "pr": null + "pr": "https://github.com/tact-lang/tact/pull/1905" }, { "label": "1.5.3 with removed JettonWallet duplicate", @@ -43,7 +43,7 @@ "burn": "17728", "discovery": "11055" }, - "pr": null + "pr": "https://github.com/tact-lang/tact/pull/1905" }, { "label": "1.5.3 with #1586 and #1589", @@ -52,7 +52,7 @@ "burn": "17718", "discovery": "11063" }, - "pr": null + "pr": "https://github.com/tact-lang/tact/pull/1905" }, { "label": "1.5.3 with faster readForwardFee", @@ -61,7 +61,7 @@ "burn": "17718", "discovery": "11063" }, - "pr": null + "pr": "https://github.com/tact-lang/tact/pull/1905" }, { "label": "1.5.3 without run-time null checks for `!!`", @@ -70,7 +70,7 @@ "burn": "17686", "discovery": "11039" }, - "pr": null + "pr": "https://github.com/tact-lang/tact/pull/1905" }, { "label": "1.5.3 with optimized send()", @@ -79,7 +79,7 @@ "burn": "16029", "discovery": "10093" }, - "pr": null + "pr": "https://github.com/tact-lang/tact/pull/1905" }, { "label": "1.5.3 with improved storeBool", @@ -245,7 +245,7 @@ }, { "label": "1.5.3 with optimized contract storage saving", - "pr": null, + "pr": "https://github.com/tact-lang/tact/pull/2067", "gas": { "transfer": "15896", "burn": "11927", @@ -317,7 +317,7 @@ }, { "label": "1.6.4 with no selector hack", - "pr": null, + "pr": "https://github.com/tact-lang/tact/pull/2398", "gas": { "transfer": "15182", "burn": "11979", diff --git a/src/benchmarks/jetton/size.json b/src/benchmarks/jetton/size.json index 58cb095539..14b802b192 100644 --- a/src/benchmarks/jetton/size.json +++ b/src/benchmarks/jetton/size.json @@ -8,7 +8,7 @@ "wallet cells": "37", "wallet bits": "12748" }, - "pr": null + "pr": "https://github.com/ton-blockchain/token-contract/blob/21e7844fa6dbed34e0f4c70eb5f0824409640a30/ft" }, { "label": "1.5.4 with NOPs optimized", @@ -82,7 +82,7 @@ }, { "label": "1.6.4 with no selector hack", - "pr": null, + "pr": "https://github.com/tact-lang/tact/pull/2398", "size": { "minter cells": "31", "minter bits": "14646", diff --git a/src/benchmarks/nft/gas.json b/src/benchmarks/nft/gas.json index f079f2c6bf..6c1f9b30e7 100644 --- a/src/benchmarks/nft/gas.json +++ b/src/benchmarks/nft/gas.json @@ -8,7 +8,8 @@ "deploy nft": "10469", "batch deploy nft": "1049281" }, - "pr": null + + "pr": "https://github.com/ton-blockchain/token-contract/blob/21e7844fa6dbed34e0f4c70eb5f0824409640a30/nft" }, { "label": "Tact", @@ -82,7 +83,7 @@ }, { "label": "1.6.6 with deployNFTItem outside contract", - "pr": null, + "pr": "https://github.com/tact-lang/tact/pull/2837", "gas": { "transfer": "7634", "get static data": "5763", @@ -182,7 +183,7 @@ }, { "label": "1.6.11 with optimized send", - "pr": null, + "pr": "https://github.com/tact-lang/tact/pull/3278", "gas": { "transfer": "6979", "get static data": "4424", diff --git a/src/benchmarks/nft/size.json b/src/benchmarks/nft/size.json index 7a19fcca05..220fcf742a 100644 --- a/src/benchmarks/nft/size.json +++ b/src/benchmarks/nft/size.json @@ -8,7 +8,7 @@ "item cells": "16", "item bits": "4039" }, - "pr": "https://github.com/ton-blockchain/token-contract/tree/main/nft" + "pr": "https://github.com/ton-blockchain/token-contract/blob/21e7844fa6dbed34e0f4c70eb5f0824409640a30/nft" }, { "label": "Tact", @@ -82,7 +82,7 @@ }, { "label": "1.6.6 with deployNFTItem outside contract", - "pr": null, + "pr": "https://github.com/tact-lang/tact/pull/2837", "size": { "collection cells": "43", "collection bits": "22786", @@ -192,7 +192,7 @@ }, { "label": "1.6.11 with optimized send", - "pr": null, + "pr": "https://github.com/tact-lang/tact/pull/3278", "size": { "collection cells": "39", "collection bits": "19604", diff --git a/src/benchmarks/wallet-v4/gas.json b/src/benchmarks/wallet-v4/gas.json index 2c99495571..01113b1615 100644 --- a/src/benchmarks/wallet-v4/gas.json +++ b/src/benchmarks/wallet-v4/gas.json @@ -7,7 +7,8 @@ "addPlugin": "5908", "pluginTransfer": "4785" }, - "pr": "https://github.com/ton-blockchain/wallet-contract-v5" + + "pr": "https://github.com/ton-blockchain/wallet-contract-v5/blob/047852ac96a45a8ed418d18960fa6d621a667ed3/contracts/wallet_v4.fc" }, { "label": "1.6.4 initial", diff --git a/src/benchmarks/wallet-v5/gas.json b/src/benchmarks/wallet-v5/gas.json index 3cf3626264..dda55d9cf6 100644 --- a/src/benchmarks/wallet-v5/gas.json +++ b/src/benchmarks/wallet-v5/gas.json @@ -8,7 +8,7 @@ "internalTransfer": "5645", "extensionTransfer": "3854" }, - "pr": "https://github.com/ton-blockchain/wallet-contract-v5" + "pr": "https://github.com/ton-blockchain/wallet-contract-v5/blob/047852ac96a45a8ed418d18960fa6d621a667ed3/contracts/wallet_v5.fc" }, { "label": "1.6.1", @@ -32,7 +32,7 @@ }, { "label": "1.6.4 with no selector hack", - "pr": null, + "pr": "https://github.com/tact-lang/tact/pull/2398", "gas": { "externalTransfer": "8069", "addExtension": "8392", From c0d516d26815adf180badf162ddba36640f4e7e6 Mon Sep 17 00:00:00 2001 From: skywardboundd Date: Wed, 28 May 2025 16:58:39 +0300 Subject: [PATCH 2/2] fix --- src/benchmarks/jetton/gas.json | 14 +++++++------- src/benchmarks/nft/gas.json | 1 - src/benchmarks/wallet-v4/gas.json | 1 - 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/benchmarks/jetton/gas.json b/src/benchmarks/jetton/gas.json index 5ed133d52f..9b8239209a 100644 --- a/src/benchmarks/jetton/gas.json +++ b/src/benchmarks/jetton/gas.json @@ -25,7 +25,7 @@ "burn": "26594", "discovery": "15408" }, - "pr": "https://github.com/tact-lang/tact/pull/1905" + "pr": "https://github.com/tact-lang/tact/pull/1633" }, { "label": "1.5.3 without self-code in system cell", @@ -34,7 +34,7 @@ "burn": "17898", "discovery": "11135" }, - "pr": "https://github.com/tact-lang/tact/pull/1905" + "pr": "https://github.com/tact-lang/tact/pull/1633" }, { "label": "1.5.3 with removed JettonWallet duplicate", @@ -43,7 +43,7 @@ "burn": "17728", "discovery": "11055" }, - "pr": "https://github.com/tact-lang/tact/pull/1905" + "pr": "https://github.com/tact-lang/tact/pull/1633" }, { "label": "1.5.3 with #1586 and #1589", @@ -52,7 +52,7 @@ "burn": "17718", "discovery": "11063" }, - "pr": "https://github.com/tact-lang/tact/pull/1905" + "pr": "https://github.com/tact-lang/tact/pull/1633" }, { "label": "1.5.3 with faster readForwardFee", @@ -61,7 +61,7 @@ "burn": "17718", "discovery": "11063" }, - "pr": "https://github.com/tact-lang/tact/pull/1905" + "pr": "https://github.com/tact-lang/tact/pull/1633" }, { "label": "1.5.3 without run-time null checks for `!!`", @@ -70,7 +70,7 @@ "burn": "17686", "discovery": "11039" }, - "pr": "https://github.com/tact-lang/tact/pull/1905" + "pr": "https://github.com/tact-lang/tact/pull/1660" }, { "label": "1.5.3 with optimized send()", @@ -79,7 +79,7 @@ "burn": "16029", "discovery": "10093" }, - "pr": "https://github.com/tact-lang/tact/pull/1905" + "pr": "https://github.com/tact-lang/tact/pull/1650" }, { "label": "1.5.3 with improved storeBool", diff --git a/src/benchmarks/nft/gas.json b/src/benchmarks/nft/gas.json index 6c1f9b30e7..c238ee0d98 100644 --- a/src/benchmarks/nft/gas.json +++ b/src/benchmarks/nft/gas.json @@ -8,7 +8,6 @@ "deploy nft": "10469", "batch deploy nft": "1049281" }, - "pr": "https://github.com/ton-blockchain/token-contract/blob/21e7844fa6dbed34e0f4c70eb5f0824409640a30/nft" }, { diff --git a/src/benchmarks/wallet-v4/gas.json b/src/benchmarks/wallet-v4/gas.json index 01113b1615..6c02aec70c 100644 --- a/src/benchmarks/wallet-v4/gas.json +++ b/src/benchmarks/wallet-v4/gas.json @@ -7,7 +7,6 @@ "addPlugin": "5908", "pluginTransfer": "4785" }, - "pr": "https://github.com/ton-blockchain/wallet-contract-v5/blob/047852ac96a45a8ed418d18960fa6d621a667ed3/contracts/wallet_v4.fc" }, {