MCPcopy Create free account
hub / github.com/CPChain/chain / BenchmarkPoolBatchInsert10000

Function BenchmarkPoolBatchInsert10000

core/tx_pool_test.go:1815–1815  ·  view source on GitHub ↗
(b *testing.B)

Source from the content-addressed store, hash-verified

1813func BenchmarkPoolBatchInsert100(b *testing.B) { benchmarkPoolBatchInsert(b, 100) }
1814func BenchmarkPoolBatchInsert1000(b *testing.B) { benchmarkPoolBatchInsert(b, 1000) }
1815func BenchmarkPoolBatchInsert10000(b *testing.B) { benchmarkPoolBatchInsert(b, 10000) }
1816
1817func benchmarkPoolBatchInsert(b *testing.B, size int) {
1818 // Generate a batch of transactions to enqueue into the pool

Callers

nothing calls this directly

Calls 1

benchmarkPoolBatchInsertFunction · 0.85

Tested by

no test coverage detected