diff options
Diffstat (limited to 'src/VMTestsFiller/vmPerformanceTestFiller.json')
-rw-r--r-- | src/VMTestsFiller/vmPerformanceTestFiller.json | 139 |
1 files changed, 14 insertions, 125 deletions
diff --git a/src/VMTestsFiller/vmPerformanceTestFiller.json b/src/VMTestsFiller/vmPerformanceTestFiller.json index bc045fea8..ebd55047c 100644 --- a/src/VMTestsFiller/vmPerformanceTestFiller.json +++ b/src/VMTestsFiller/vmPerformanceTestFiller.json @@ -228,8 +228,8 @@ "gas" : "1000000000000" } }, - "loop-exp-nop-1M": { - "//" : "loop-exp.sol: ExpPerformanceTester.testNop(0, 15, 1000000)", + "loop-divadd-10M": { + "//" : "loop-mul.sol: MulPerformanceTester.testDivAdd(..., ..., ..., 10000000)", "env" : { "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", "currentNumber" : "9999", @@ -242,7 +242,7 @@ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "100000000000000000000000", "nonce" : "0", - "code" : "0x606060405260e060020a60003504633392ffc8811461003f5780633c77b95c1461006a578063ce67bda6146100c2578063ebbbe00b146100e8575b610002565b346100025761010e600435602435604435600082815b83811015610120579085900a90600101610055565b346100025761010e600435602435604435600082815b83811015610120579085900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a90601001610080565b346100025761010e6004356024356044356000805b82811015610129575b6001016100d7565b346100025761010e6004356024356044356000805b82811015610129575b6010016100fd565b60408051918252519081900360200190f35b50949350505050565b5091939250505056", + "code" : "0x606060405263ffffffff60e060020a60003504166315d42327811461004257806359e3e1ea14610070578063c4f8b9fb1461009e578063e01330bb146100c9575bfe5b341561004a57fe5b61005e6004356024356044356064356100f4565b60408051918252519081900360200190f35b341561007857fe5b61005e60043560243560443560643561011e565b60408051918252519081900360200190f35b34156100a657fe5b61005e600435602435604435610152565b60408051918252519081900360200190f35b34156100d157fe5b61005e600435602435604435610179565b60408051918252519081900360200190f35b600084815b83811015610110578486830991505b6001016100f9565b8192505b5050949350505050565b600084815b8381101561011057858281151561013657fe5b04850191505b600101610123565b8192505b5050949350505050565b600083815b8381101561016c57908401905b600101610157565b8192505b50509392505050565b600083815b8381101561016c57908402905b60010161017e565b8192505b505093925050505600a165627a7a72305820065081bd1e9fdffccd251332523241eaabd0fb1881a06529599a9c67d0a568e50029", "storage": {} } }, @@ -251,41 +251,14 @@ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", "value" : "0", - "data" : "0xce67bda60000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000f00000000000000000000000000000000000000000000000000000000000f4240", + "data" : "0x59e3e1ea8edad8b55b1586805ea8c245d8c16b06a5102b791fc6eb60693731c0677bf5011c68db1c179cd35ab3fc60c63704aa7fcbea40f19782b1611aaba86726a7686cff00ffffffffffffffffffffffffffaaffffffffffffffffbbffffffffffffff0000000000000000000000000000000000000000000000000000000000989680", "gasPrice" : "100000000000000", "gas" : "1000000000000" - } - }, - "loop-exp-1b-1M": { - "//" : "loop-exp.sol: ExpPerformanceTester.testExp(255, 6364136223846793005, 1000000)", - "env" : { - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", - "currentNumber" : "9999", - "currentGasLimit" : "100000000000", - "currentDifficulty" : "20000", - "currentTimestamp" : "1", - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" }, - "pre" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : "100000000000000000000000", - "nonce" : "0", - "code" : "0x606060405260e060020a60003504633392ffc8811461003f5780633c77b95c1461006a578063ce67bda6146100c2578063ebbbe00b146100e8575b610002565b346100025761010e600435602435604435600082815b83811015610120579085900a90600101610055565b346100025761010e600435602435604435600082815b83811015610120579085900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a90601001610080565b346100025761010e6004356024356044356000805b82811015610129575b6001016100d7565b346100025761010e6004356024356044356000805b82811015610129575b6010016100fd565b60408051918252519081900360200190f35b50949350505050565b5091939250505056", - "storage": {} - } - }, - "exec" : { - "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : "0", - "data" : "0x3392ffc800000000000000000000000000000000000000000000000000000000000000ff0000000000000000000000000000000000000000000000005851f42d4c957f2d00000000000000000000000000000000000000000000000000000000000f4240", - "gasPrice" : "100000000000000", - "gas" : "1000000000000" - } + "expectOut" : "0xff00ffffffffffffffffffffffffffaaffffffffffffffffbc00000000000007" }, - "loop-exp-2b-100k": { - "//" : "loop-exp.sol: ExpPerformanceTester.testExp(65535, 6364136223846793005, 100000)", + "loop-divadd-unr100-10M": { + "//" : "loop-mul.sol: MulPerformanceTester.testDivUnrolled100(..., ..., ..., 10000000)", "env" : { "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", "currentNumber" : "9999", @@ -298,7 +271,7 @@ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "100000000000000000000000", "nonce" : "0", - "code" : "0x606060405260e060020a60003504633392ffc8811461003f5780633c77b95c1461006a578063ce67bda6146100c2578063ebbbe00b146100e8575b610002565b346100025761010e600435602435604435600082815b83811015610120579085900a90600101610055565b346100025761010e600435602435604435600082815b83811015610120579085900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a90601001610080565b346100025761010e6004356024356044356000805b82811015610129575b6001016100d7565b346100025761010e6004356024356044356000805b82811015610129575b6010016100fd565b60408051918252519081900360200190f35b50949350505050565b5091939250505056", + "code" : "0x60606040526000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680635bc0d2f11461003b575bfe5b341561004357fe5b610074600480803590602001909190803590602001909190803590602001909190803590602001909190505061008a565b6040518082815260200191505060405180910390f35b600060006000869150600090505b838110156108185785828115156100ab57fe5b049150848201915085828115156100be57fe5b049150848201915085828115156100d157fe5b049150848201915085828115156100e457fe5b049150848201915085828115156100f757fe5b0491508482019150858281151561010a57fe5b0491508482019150858281151561011d57fe5b0491508482019150858281151561013057fe5b0491508482019150858281151561014357fe5b0491508482019150858281151561015657fe5b0491508482019150858281151561016957fe5b0491508482019150858281151561017c57fe5b0491508482019150858281151561018f57fe5b049150848201915085828115156101a257fe5b049150848201915085828115156101b557fe5b049150848201915085828115156101c857fe5b049150848201915085828115156101db57fe5b049150848201915085828115156101ee57fe5b0491508482019150858281151561020157fe5b0491508482019150858281151561021457fe5b0491508482019150858281151561022757fe5b0491508482019150858281151561023a57fe5b0491508482019150858281151561024d57fe5b0491508482019150858281151561026057fe5b0491508482019150858281151561027357fe5b0491508482019150858281151561028657fe5b0491508482019150858281151561029957fe5b049150848201915085828115156102ac57fe5b049150848201915085828115156102bf57fe5b049150848201915085828115156102d257fe5b049150848201915085828115156102e557fe5b049150848201915085828115156102f857fe5b0491508482019150858281151561030b57fe5b0491508482019150858281151561031e57fe5b0491508482019150858281151561033157fe5b0491508482019150858281151561034457fe5b0491508482019150858281151561035757fe5b0491508482019150858281151561036a57fe5b0491508482019150858281151561037d57fe5b0491508482019150858281151561039057fe5b049150848201915085828115156103a357fe5b049150848201915085828115156103b657fe5b049150848201915085828115156103c957fe5b049150848201915085828115156103dc57fe5b049150848201915085828115156103ef57fe5b0491508482019150858281151561040257fe5b0491508482019150858281151561041557fe5b0491508482019150858281151561042857fe5b0491508482019150858281151561043b57fe5b0491508482019150858281151561044e57fe5b0491508482019150858281151561046157fe5b0491508482019150858281151561047457fe5b0491508482019150858281151561048757fe5b0491508482019150858281151561049a57fe5b049150848201915085828115156104ad57fe5b049150848201915085828115156104c057fe5b049150848201915085828115156104d357fe5b049150848201915085828115156104e657fe5b049150848201915085828115156104f957fe5b0491508482019150858281151561050c57fe5b0491508482019150858281151561051f57fe5b0491508482019150858281151561053257fe5b0491508482019150858281151561054557fe5b0491508482019150858281151561055857fe5b0491508482019150858281151561056b57fe5b0491508482019150858281151561057e57fe5b0491508482019150858281151561059157fe5b049150848201915085828115156105a457fe5b049150848201915085828115156105b757fe5b049150848201915085828115156105ca57fe5b049150848201915085828115156105dd57fe5b049150848201915085828115156105f057fe5b0491508482019150858281151561060357fe5b0491508482019150858281151561061657fe5b0491508482019150858281151561062957fe5b0491508482019150858281151561063c57fe5b0491508482019150858281151561064f57fe5b0491508482019150858281151561066257fe5b0491508482019150858281151561067557fe5b0491508482019150858281151561068857fe5b0491508482019150858281151561069b57fe5b049150848201915085828115156106ae57fe5b049150848201915085828115156106c157fe5b049150848201915085828115156106d457fe5b049150848201915085828115156106e757fe5b049150848201915085828115156106fa57fe5b0491508482019150858281151561070d57fe5b0491508482019150858281151561072057fe5b0491508482019150858281151561073357fe5b0491508482019150858281151561074657fe5b0491508482019150858281151561075957fe5b0491508482019150858281151561076c57fe5b0491508482019150858281151561077f57fe5b0491508482019150858281151561079257fe5b049150848201915085828115156107a557fe5b049150848201915085828115156107b857fe5b049150848201915085828115156107cb57fe5b049150848201915085828115156107de57fe5b049150848201915085828115156107f157fe5b0491508482019150858281151561080457fe5b04915084820191505b606481019050610098565b8192505b50509493505050505600a165627a7a72305820c38c20b72770ea745144fec130354270a65a17f75c8e4d1ad15808766d62bcdc0029", "storage": {} } }, @@ -307,13 +280,13 @@ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", "value" : "0", - "data" : "0x3392ffc8000000000000000000000000000000000000000000000000000000000000ffff0000000000000000000000000000000000000000000000005851f42d4c957f2d00000000000000000000000000000000000000000000000000000000000186a0", + "data" : "0x5bc0d2f18edad8b55b1586805ea8c245d8c16b06a5102b791fc6eb60693731c0677bf5011c68db1c179cd35ab3fc60c63704aa7fcbea40f19782b1611aaba86726a7686cff00ffffffffffffffffffffffffffaaffffffffffffffffbbffffffffffffff0000000000000000000000000000000000000000000000000000000000989680", "gasPrice" : "100000000000000", "gas" : "1000000000000" } }, - "loop-exp-4b-100k": { - "//" : "loop-exp.sol: ExpPerformanceTester.testExp(2^32-1, 6364136223846793005, 100000)", + "loop-add-10M": { + "//" : "loop-mul.sol: MulPerformanceTester.testAdd(..., ..., 10000000)", "env" : { "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", "currentNumber" : "9999", @@ -326,7 +299,7 @@ "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { "balance" : "100000000000000000000000", "nonce" : "0", - "code" : "0x606060405260e060020a60003504633392ffc8811461003f5780633c77b95c1461006a578063ce67bda6146100c2578063ebbbe00b146100e8575b610002565b346100025761010e600435602435604435600082815b83811015610120579085900a90600101610055565b346100025761010e600435602435604435600082815b83811015610120579085900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a90601001610080565b346100025761010e6004356024356044356000805b82811015610129575b6001016100d7565b346100025761010e6004356024356044356000805b82811015610129575b6010016100fd565b60408051918252519081900360200190f35b50949350505050565b5091939250505056", + "code" : "0x606060405263ffffffff60e060020a60003504166315d42327811461004257806359e3e1ea14610070578063c4f8b9fb1461009e578063e01330bb146100c9575bfe5b341561004a57fe5b61005e6004356024356044356064356100f4565b60408051918252519081900360200190f35b341561007857fe5b61005e60043560243560443560643561011e565b60408051918252519081900360200190f35b34156100a657fe5b61005e600435602435604435610152565b60408051918252519081900360200190f35b34156100d157fe5b61005e600435602435604435610179565b60408051918252519081900360200190f35b600084815b83811015610110578486830991505b6001016100f9565b8192505b5050949350505050565b600084815b8381101561011057858281151561013657fe5b04850191505b600101610123565b8192505b5050949350505050565b600083815b8381101561016c57908401905b600101610157565b8192505b50509392505050565b600083815b8381101561016c57908402905b60010161017e565b8192505b505093925050505600a165627a7a72305820065081bd1e9fdffccd251332523241eaabd0fb1881a06529599a9c67d0a568e50029", "storage": {} } }, @@ -335,96 +308,12 @@ "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", "value" : "0", - "data" : "0x3392ffc800000000000000000000000000000000000000000000000000000000ffffffff0000000000000000000000000000000000000000000000005851f42d4c957f2d00000000000000000000000000000000000000000000000000000000000186a0", + "data" : "0xc4f8b9fb8edad8b55b1586805ea8c245d8c16b06a5102b791fc6eb60693731c0677bf501ff00ffffffffffffffffffffffffffaaffffffffffffffffbbffffffffffffff0000000000000000000000000000000000000000000000000000000000989680", "gasPrice" : "100000000000000", "gas" : "1000000000000" - } - }, - "loop-exp-8b-100k": { - "//" : "loop-exp.sol: ExpPerformanceTester.testExp(2^64-1, 6364136223846793005, 100000)", - "env" : { - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", - "currentNumber" : "9999", - "currentGasLimit" : "100000000000", - "currentDifficulty" : "20000", - "currentTimestamp" : "1", - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" - }, - "pre" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : "100000000000000000000000", - "nonce" : "0", - "code" : "0x606060405260e060020a60003504633392ffc8811461003f5780633c77b95c1461006a578063ce67bda6146100c2578063ebbbe00b146100e8575b610002565b346100025761010e600435602435604435600082815b83811015610120579085900a90600101610055565b346100025761010e600435602435604435600082815b83811015610120579085900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a90601001610080565b346100025761010e6004356024356044356000805b82811015610129575b6001016100d7565b346100025761010e6004356024356044356000805b82811015610129575b6010016100fd565b60408051918252519081900360200190f35b50949350505050565b5091939250505056", - "storage": {} - } }, - "exec" : { - "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : "0", - "data" : "0x3392ffc8000000000000000000000000000000000000000000000000ffffffffffffffff0000000000000000000000000000000000000000000000005851f42d4c957f2d00000000000000000000000000000000000000000000000000000000000186a0", - "gasPrice" : "100000000000000", - "gas" : "1000000000000" - } + "expectOut" : "0xa55ad8b55b1586805ea8c245a6177286a5102b791f9e6366693731c066e35e81" }, - "loop-exp-16b-100k": { - "//" : "loop-exp.sol: ExpPerformanceTester.testExp(2^128-1, 6364136223846793005, 100000)", - "env" : { - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", - "currentNumber" : "9999", - "currentGasLimit" : "100000000000", - "currentDifficulty" : "20000", - "currentTimestamp" : "1", - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" - }, - "pre" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : "100000000000000000000000", - "nonce" : "0", - "code" : "0x606060405260e060020a60003504633392ffc8811461003f5780633c77b95c1461006a578063ce67bda6146100c2578063ebbbe00b146100e8575b610002565b346100025761010e600435602435604435600082815b83811015610120579085900a90600101610055565b346100025761010e600435602435604435600082815b83811015610120579085900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a90601001610080565b346100025761010e6004356024356044356000805b82811015610129575b6001016100d7565b346100025761010e6004356024356044356000805b82811015610129575b6010016100fd565b60408051918252519081900360200190f35b50949350505050565b5091939250505056", - "storage": {} - } - }, - "exec" : { - "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : "0", - "data" : "0x3392ffc800000000000000000000000000000000ffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000005851f42d4c957f2d00000000000000000000000000000000000000000000000000000000000186a0", - "gasPrice" : "100000000000000", - "gas" : "1000000000000" - } - }, - "loop-exp-32b-100k": { - "//" : "loop-exp.sol: ExpPerformanceTester.testExp(2^256-1, 6364136223846793005, 100000)", - "env" : { - "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6", - "currentNumber" : "9999", - "currentGasLimit" : "100000000000", - "currentDifficulty" : "20000", - "currentTimestamp" : "1", - "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba" - }, - "pre" : { - "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { - "balance" : "100000000000000000000000", - "nonce" : "0", - "code" : "0x606060405260e060020a60003504633392ffc8811461003f5780633c77b95c1461006a578063ce67bda6146100c2578063ebbbe00b146100e8575b610002565b346100025761010e600435602435604435600082815b83811015610120579085900a90600101610055565b346100025761010e600435602435604435600082815b83811015610120579085900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a85900a90601001610080565b346100025761010e6004356024356044356000805b82811015610129575b6001016100d7565b346100025761010e6004356024356044356000805b82811015610129575b6010016100fd565b60408051918252519081900360200190f35b50949350505050565b5091939250505056", - "storage": {} - } - }, - "exec" : { - "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", - "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", - "value" : "0", - "data" : "0x3392ffc8ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000005851f42d4c957f2d00000000000000000000000000000000000000000000000000000000000186a0", - "gasPrice" : "100000000000000", - "gas" : "1000000000000" - } - }, - "loop-exp-16b-100k" : { "//" : "loop-exp.sol: ExpPerformanceTester.testExp(2^128-1, 6364136223846793005, 100000)", "env" : { |