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

Function BenchmarkPoolBatchInsert100

core/tx_pool_test.go:1813–1813  ·  view source on GitHub ↗

Benchmarks the speed of batched transaction insertion.

(b *testing.B)

Source from the content-addressed store, hash-verified

1811
1812// Benchmarks the speed of batched transaction insertion.
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

Callers

nothing calls this directly

Calls 1

benchmarkPoolBatchInsertFunction · 0.85

Tested by

no test coverage detected