From 9f52408e708232be832ede3995e0858f6db8f5b8 Mon Sep 17 00:00:00 2001 From: CJentzsch Date: Fri, 6 Feb 2015 17:43:35 +0100 Subject: [PATCH] sha3 performance test --- VMTests/RandomTests/201502051153CPPJIT.json | 31 ++++++++++++++ VMTests/RandomTests/201502052207CPPJIT.json | 46 +++++++++++++++++++++ VMTests/RandomTests/201502061553CPPJIT.json | 46 +++++++++++++++++++++ VMTests/vmSha3Test.json | 45 ++++++++++++++++++++ 4 files changed, 168 insertions(+) create mode 100644 VMTests/RandomTests/201502051153CPPJIT.json create mode 100644 VMTests/RandomTests/201502052207CPPJIT.json create mode 100644 VMTests/RandomTests/201502061553CPPJIT.json diff --git a/VMTests/RandomTests/201502051153CPPJIT.json b/VMTests/RandomTests/201502051153CPPJIT.json new file mode 100644 index 000000000..27568fd39 --- /dev/null +++ b/VMTests/RandomTests/201502051153CPPJIT.json @@ -0,0 +1,31 @@ +{ + "randomVMtest" : { + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "currentGasLimit" : "1000000", + "currentNumber" : "300", + "currentTimestamp" : "2", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x4343434543404142553c7555a0a3", + "data" : "0x", + "gas" : "10000", + "gasPrice" : "100000000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x4343434543404142553c7555a0a3", + "nonce" : "0", + "storage" : { + } + } + } + } +} diff --git a/VMTests/RandomTests/201502052207CPPJIT.json b/VMTests/RandomTests/201502052207CPPJIT.json new file mode 100644 index 000000000..98248b5d0 --- /dev/null +++ b/VMTests/RandomTests/201502052207CPPJIT.json @@ -0,0 +1,46 @@ +{ + "randomVMtest" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "currentGasLimit" : "1000000", + "currentNumber" : "300", + "currentTimestamp" : "2", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x6243454345444544060980ff7756788955", + "data" : "0x", + "gas" : "10000", + "gasPrice" : "100000000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "9992", + "logs" : [ + ], + "out" : "0x", + "post" : { + "00000000000000000000000000000000000c4581" : { + "balance" : "1000000000000000000", + "code" : "0x", + "nonce" : "0", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x6243454345444544060980ff7756788955", + "nonce" : "0", + "storage" : { + } + } + } + } +} diff --git a/VMTests/RandomTests/201502061553CPPJIT.json b/VMTests/RandomTests/201502061553CPPJIT.json new file mode 100644 index 000000000..66765df76 --- /dev/null +++ b/VMTests/RandomTests/201502061553CPPJIT.json @@ -0,0 +1,46 @@ +{ + "randomVMtest" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "currentGasLimit" : "1000000", + "currentNumber" : "300", + "currentTimestamp" : "2", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x4442", + "data" : "0x", + "gas" : "10000", + "gasPrice" : "100000000000000", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "1000000000000000000" + }, + "gas" : "9998", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x4442", + "nonce" : "0", + "storage" : { + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "1000000000000000000", + "code" : "0x4442", + "nonce" : "0", + "storage" : { + } + } + } + } +} diff --git a/VMTests/vmSha3Test.json b/VMTests/vmSha3Test.json index d9d3c640b..2004536a1 100644 --- a/VMTests/vmSha3Test.json +++ b/VMTests/vmSha3Test.json @@ -279,6 +279,51 @@ } } }, + "sha3_bigOffset2" : { + "callcreates" : [ + ], + "env" : { + "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba", + "currentDifficulty" : "256", + "currentGasLimit" : "1000000", + "currentNumber" : "0", + "currentTimestamp" : "1", + "previousHash" : "5e20a0453cecd065ea59c37ac63e079ee08998b6045136a8ce6635c7912ec0b6" + }, + "exec" : { + "address" : "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6", + "caller" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "code" : "0x6002630100000020600055", + "data" : "0x", + "gas" : "4294967296", + "gasPrice" : "1", + "origin" : "cd1722f3947def4cf144679da39c4c32bdc35681", + "value" : "115792089237316195423570985008687907853269984665640564039457584007913129639935" + }, + "gas" : "4294442684", + "logs" : [ + ], + "out" : "0x", + "post" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "code" : "0x6002630100000020600055", + "nonce" : "0", + "storage" : { + "0x" : "0x54a8c0ab653c15bfb48b47fd011ba2b9617af01cb45cab344acd57c924d56798" + } + } + }, + "pre" : { + "0f572e5295c57f15886f9b263e2f6d2d6c7b5ec6" : { + "balance" : "115792089237316195423570985008687907853269984665640564039457584007913129639935", + "code" : "0x6002630100000020600055", + "nonce" : "0", + "storage" : { + } + } + } + }, "sha3_bigSize" : { "env" : { "currentCoinbase" : "2adc25665018aa1fe0e6bc666dac8fc2697ff9ba",