mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
No fees for miners.
This commit is contained in:
parent
215c569656
commit
397fd495f6
@ -32,17 +32,17 @@ int daggerTest()
|
|||||||
{
|
{
|
||||||
Dagger d;
|
Dagger d;
|
||||||
auto s = steady_clock::now();
|
auto s = steady_clock::now();
|
||||||
cout << hex << d.eval((h256)1, 0);
|
cout << hex << d.eval((h256)1, (h256)0);
|
||||||
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
|
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
|
||||||
cout << hex << d.eval((h256)1, 1);
|
cout << hex << d.eval((h256)1, (h256)1);
|
||||||
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
|
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
Dagger d;
|
Dagger d;
|
||||||
auto s = steady_clock::now();
|
auto s = steady_clock::now();
|
||||||
cout << hex << d.eval((h256)1, 0);
|
cout << hex << d.eval((h256)1, (h256)0);
|
||||||
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
|
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
|
||||||
cout << hex << d.eval((h256)1, 1);
|
cout << hex << d.eval((h256)1, (h256)1);
|
||||||
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
|
cout << " " << dec << duration_cast<milliseconds>(steady_clock::now() - s).count() << " ms" << endl;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user