mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update gas costs in tests.
This commit is contained in:
parent
f0c5cdca9f
commit
53e3081e81
@ -37,7 +37,7 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0x40, 0x80, 6, 0x6162636465660000000000000000000000000000000000000000000000000000, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000
|
// f() -> 0x40, 0x80, 6, 0x6162636465660000000000000000000000000000000000000000000000000000, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000
|
||||||
// gas irOptimized: 172282
|
// gas irOptimized: 172274
|
||||||
// gas legacy: 174794
|
// gas legacy: 174794
|
||||||
// gas legacyOptimized: 174188
|
// gas legacyOptimized: 174188
|
||||||
// g() -> 0x40, 0xc0, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000, 0x11, 0x3132333435363738393233343536373839000000000000000000000000000000
|
// g() -> 0x40, 0xc0, 0x49, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738393031323334353637383930313233343536373839303120, 0x3132333435363738390000000000000000000000000000000000000000000000, 0x11, 0x3132333435363738393233343536373839000000000000000000000000000000
|
||||||
|
@ -48,6 +48,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0xff
|
// f() -> 0xff
|
||||||
// gas irOptimized: 136027
|
// gas irOptimized: 132909
|
||||||
// gas legacy: 137645
|
// gas legacy: 137645
|
||||||
// gas legacyOptimized: 134376
|
// gas legacyOptimized: 134376
|
||||||
|
@ -13,6 +13,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() -> 0x20, 0x02, 0x40, 0x80, 3, 0x6162630000000000000000000000000000000000000000000000000000000000, 0x99, 44048183304486788312148433451363384677562265908331949128489393215789685032262, 32241931068525137014058842823026578386641954854143559838526554899205067598957, 49951309422467613961193228765530489307475214998374779756599339590522149884499, 0x54555658595a6162636465666768696a6b6c6d6e6f707172737475767778797a, 0x4142434445464748494a4b4c4d4e4f5051525354555658595a00000000000000
|
// f() -> 0x20, 0x02, 0x40, 0x80, 3, 0x6162630000000000000000000000000000000000000000000000000000000000, 0x99, 44048183304486788312148433451363384677562265908331949128489393215789685032262, 32241931068525137014058842823026578386641954854143559838526554899205067598957, 49951309422467613961193228765530489307475214998374779756599339590522149884499, 0x54555658595a6162636465666768696a6b6c6d6e6f707172737475767778797a, 0x4142434445464748494a4b4c4d4e4f5051525354555658595a00000000000000
|
||||||
// gas irOptimized: 198253
|
// gas irOptimized: 197063
|
||||||
// gas legacy: 199159
|
// gas legacy: 199159
|
||||||
// gas legacyOptimized: 198137
|
// gas legacyOptimized: 198137
|
||||||
|
@ -15,6 +15,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// f() ->
|
// f() ->
|
||||||
// gas irOptimized: 181480
|
// gas irOptimized: 178367
|
||||||
// gas legacy: 180320
|
// gas legacy: 180320
|
||||||
// gas legacyOptimized: 180103
|
// gas legacyOptimized: 180103
|
||||||
|
@ -35,10 +35,10 @@ contract test {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// constructor()
|
// constructor()
|
||||||
// gas irOptimized: 590192
|
// gas irOptimized: 591094
|
||||||
// gas legacy: 733634
|
// gas legacy: 733634
|
||||||
// gas legacyOptimized: 498033
|
// gas legacyOptimized: 498033
|
||||||
// prb_pi() -> 3141592656369545286
|
// prb_pi() -> 3141592656369545286
|
||||||
// gas irOptimized: 66098
|
// gas irOptimized: 66108
|
||||||
// gas legacy: 98903
|
// gas legacy: 98903
|
||||||
// gas legacyOptimized: 75735
|
// gas legacyOptimized: 75735
|
||||||
|
@ -22,6 +22,6 @@ contract C {
|
|||||||
// compileViaYul: also
|
// compileViaYul: also
|
||||||
// ----
|
// ----
|
||||||
// g() -> 2, 6
|
// g() -> 2, 6
|
||||||
// gas irOptimized: 169790
|
// gas irOptimized: 169460
|
||||||
// gas legacy: 172490
|
// gas legacy: 172490
|
||||||
// gas legacyOptimized: 171209
|
// gas legacyOptimized: 171209
|
||||||
|
Loading…
Reference in New Issue
Block a user