(b *testing.B)
| 982 | benchmarkLargeNumberOfValueToNonexisting(b, numTxs, numBlocks, recipientFn, dataFn) |
| 983 | } |
| 984 | func BenchmarkBlockChain_1x1000ValueTransferToExisting(b *testing.B) { |
| 985 | var ( |
| 986 | numTxs = 1000 |
| 987 | numBlocks = 1 |
| 988 | ) |
| 989 | b.StopTimer() |
| 990 | b.ResetTimer() |
| 991 | |
| 992 | recipientFn := func(nonce uint64) common.Address { |
| 993 | return common.BigToAddress(big.NewInt(0).SetUint64(1337)) |
| 994 | } |
| 995 | dataFn := func(nonce uint64) []byte { |
| 996 | return nil |
| 997 | } |
| 998 | |
| 999 | benchmarkLargeNumberOfValueToNonexisting(b, numTxs, numBlocks, recipientFn, dataFn) |
| 1000 | } |
| 1001 | func BenchmarkBlockChain_1x1000Executions(b *testing.B) { |
| 1002 | var ( |
| 1003 | numTxs = 1000 |
nothing calls this directly
no test coverage detected