go-ethereum/consensus/ethash
Felix Lange 3f33a7c8ce consensus/ethash: reduce keccak hash allocations (#16857)
Use Read instead of Sum to avoid internal allocations and
copying the state.

name                      old time/op  new time/op  delta
CacheGeneration-8          764ms ± 1%   579ms ± 1%  -24.22%  (p=0.000 n=20+17)
SmallDatasetGeneration-8  75.2ms ±12%  60.6ms ±10%  -19.37%  (p=0.000 n=20+20)
HashimotoLight-8          1.58ms ±11%  1.55ms ± 8%     ~     (p=0.322 n=20+19)
HashimotoFullSmall-8      4.90µs ± 1%  4.88µs ± 1%   -0.31%  (p=0.013 n=19+18)
2018-06-04 10:32:32 +03:00
..
algorithm.go consensus/ethash: reduce keccak hash allocations (#16857) 2018-06-04 10:32:32 +03:00
algorithm_test.go travis, build, consensus: drop support for Go 1.7 2018-02-27 18:25:56 +02:00
consensus.go consensus/ethash: fixed typo (#16253) 2018-03-05 11:32:56 +02:00
consensus_test.go accounts, consensus, core, eth: make chain maker consensus agnostic (#15497) 2017-12-22 14:37:50 +02:00
ethash.go consensus/ethash: fixed typo (#16665) 2018-05-03 12:44:47 +03:00
ethash_test.go consensus/ethash: improve cache/dataset handling (#15864) 2018-01-23 12:05:30 +02:00
sealer.go consensus/ethash: improve cache/dataset handling (#15864) 2018-01-23 12:05:30 +02:00