Merge pull request #12055 from ethereum/fix-gas

Fix gas stats
This commit is contained in:
chriseth 2021-09-29 14:00:47 +02:00 committed by GitHub
commit 968ba9fab5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -26,18 +26,18 @@ contract C {
// s() -> 0, 0, 0x00, 0 // s() -> 0, 0, 0x00, 0
// f((uint8,uint16,bytes2,uint8)): 1, 0xff, "ab", 15 -> // f((uint8,uint16,bytes2,uint8)): 1, 0xff, "ab", 15 ->
// gas irOptimized: 44860 // gas irOptimized: 44860
// gas legacy: 112851 // gas legacy: 47200
// gas legacyOptimized: 44923 // gas legacyOptimized: 44923
// s() -> 1, 0xff, 0x6162000000000000000000000000000000000000000000000000000000000000, 15 // s() -> 1, 0xff, 0x6162000000000000000000000000000000000000000000000000000000000000, 15
// g(uint16[]): 0x20, 3, 1, 2, 3 -> 0x20, 3, 1, 2, 3 // g(uint16[]): 0x20, 3, 1, 2, 3 -> 0x20, 3, 1, 2, 3
// gas irOptimized: 69306 // gas irOptimized: 69306
// gas legacy: 113715 // gas legacy: 75466
// gas legacyOptimized: 74255 // gas legacyOptimized: 74255
// small(uint256): 0 -> 1 // small(uint256): 0 -> 1
// small(uint256): 1 -> 2 // small(uint256): 1 -> 2
// h(bytes2[]): 0x20, 3, "ab", "cd", "ef" -> 0x20, 3, "ab", "cd", "ef" // h(bytes2[]): 0x20, 3, "ab", "cd", "ef" -> 0x20, 3, "ab", "cd", "ef"
// gas irOptimized: 69510 // gas irOptimized: 69510
// gas legacy: 113414 // gas legacy: 75156
// gas legacyOptimized: 74342 // gas legacyOptimized: 74342
// l(uint256): 0 -> 0x6162000000000000000000000000000000000000000000000000000000000000 // l(uint256): 0 -> 0x6162000000000000000000000000000000000000000000000000000000000000
// l(uint256): 1 -> 0x6364000000000000000000000000000000000000000000000000000000000000 // l(uint256): 1 -> 0x6364000000000000000000000000000000000000000000000000000000000000

View File

@ -26,18 +26,18 @@ contract C {
// s() -> 0, 0, 0x00, 0 // s() -> 0, 0, 0x00, 0
// f((uint8,uint16,bytes2,uint8)): 1, 0xff, "ab", 15 -> // f((uint8,uint16,bytes2,uint8)): 1, 0xff, "ab", 15 ->
// gas irOptimized: 44551 // gas irOptimized: 44551
// gas legacy: 111668 // gas legacy: 46213
// gas legacyOptimized: 44671 // gas legacyOptimized: 44671
// s() -> 1, 0xff, 0x6162000000000000000000000000000000000000000000000000000000000000, 15 // s() -> 1, 0xff, 0x6162000000000000000000000000000000000000000000000000000000000000, 15
// g(uint16[]): 0x20, 3, 1, 2, 3 -> 0x20, 3, 1, 2, 3 // g(uint16[]): 0x20, 3, 1, 2, 3 -> 0x20, 3, 1, 2, 3
// gas irOptimized: 69671 // gas irOptimized: 69671
// gas legacy: 114806 // gas legacy: 76557
// gas legacyOptimized: 74834 // gas legacyOptimized: 74834
// small(uint256): 0 -> 1 // small(uint256): 0 -> 1
// small(uint256): 1 -> 2 // small(uint256): 1 -> 2
// h(bytes2[]): 0x20, 3, "ab", "cd", "ef" -> 0x20, 3, "ab", "cd", "ef" // h(bytes2[]): 0x20, 3, "ab", "cd", "ef" -> 0x20, 3, "ab", "cd", "ef"
// gas irOptimized: 69928 // gas irOptimized: 69928
// gas legacy: 114496 // gas legacy: 76238
// gas legacyOptimized: 74921 // gas legacyOptimized: 74921
// l(uint256): 0 -> 0x6162000000000000000000000000000000000000000000000000000000000000 // l(uint256): 0 -> 0x6162000000000000000000000000000000000000000000000000000000000000
// l(uint256): 1 -> 0x6364000000000000000000000000000000000000000000000000000000000000 // l(uint256): 1 -> 0x6364000000000000000000000000000000000000000000000000000000000000