mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update gas costs in smeantic tests.
This commit is contained in:
parent
0dd59fa0a2
commit
9fcf16900d
@ -19,6 +19,6 @@ contract c {
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test() -> 0
|
||||
// gas irOptimized: 311472
|
||||
// gas irOptimized: 310460
|
||||
// gas legacy: 483915
|
||||
// gas legacyOptimized: 478672
|
||||
|
@ -44,7 +44,7 @@ contract c {
|
||||
// ----
|
||||
// getLengths() -> 0, 0
|
||||
// setLengths(uint256,uint256): 48, 49 ->
|
||||
// gas irOptimized: 275838
|
||||
// gas irOptimized: 276212
|
||||
// gas legacy: 308271
|
||||
// gas legacyOptimized: 300117
|
||||
// getLengths() -> 48, 49
|
||||
|
@ -12,6 +12,6 @@ contract c {
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test() -> 0x20, 29, 0x0303030303030303030303030303030303030303030303030303030303000000
|
||||
// gas irOptimized: 163572
|
||||
// gas irOptimized: 162649
|
||||
// gas legacy: 245809
|
||||
// gas legacyOptimized: 242636
|
||||
|
@ -18,7 +18,7 @@ contract c {
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test() -> true
|
||||
// gas irOptimized: 455893
|
||||
// gas irOptimized: 447028
|
||||
// gas legacy: 552064
|
||||
// gas legacyOptimized: 533164
|
||||
// storage: empty
|
||||
|
@ -17,7 +17,7 @@ contract c {
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test() ->
|
||||
// gas irOptimized: 300849
|
||||
// gas irOptimized: 291984
|
||||
// gas legacy: 372763
|
||||
// gas legacyOptimized: 366846
|
||||
// storage: empty
|
||||
|
@ -12,6 +12,6 @@ contract c {
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// test() -> 0x20, 33, 0x303030303030303030303030303030303030303030303030303030303030303, 0x0300000000000000000000000000000000000000000000000000000000000000
|
||||
// gas irOptimized: 160904
|
||||
// gas irOptimized: 160043
|
||||
// gas legacy: 243287
|
||||
// gas legacyOptimized: 240361
|
||||
|
@ -23,7 +23,7 @@ contract C {
|
||||
// ----
|
||||
// l() -> 0
|
||||
// g(uint256): 70 ->
|
||||
// gas irOptimized: 428769
|
||||
// gas irOptimized: 429679
|
||||
// gas legacy: 419791
|
||||
// gas legacyOptimized: 415408
|
||||
// l() -> 70
|
||||
|
@ -26,6 +26,6 @@ contract Creator {
|
||||
// compileViaYul: also
|
||||
// ----
|
||||
// f(uint256,bytes): 7, 0x40, 78, "abcdefghijklmnopqrstuvwxyzabcdef", "ghijklmnopqrstuvwxyzabcdefghijkl", "mnopqrstuvwxyz" -> 7, "h"
|
||||
// gas irOptimized: 323391
|
||||
// gas irOptimized: 322968
|
||||
// gas legacy: 414850
|
||||
// gas legacyOptimized: 290278
|
||||
|
Loading…
Reference in New Issue
Block a user