(node_factory, bitcoind, benchmark)
| 224 | |
| 225 | |
| 226 | def test_spam_listcommands(node_factory, bitcoind, benchmark): |
| 227 | plugin = os.path.join(os.getcwd(), "tests/plugins/test_libplugin") |
| 228 | l1 = get_bench_node(node_factory, extra_options={"plugin": plugin}) |
| 229 | |
| 230 | # This calls "listinvoice" 100,000 times (which doesn't need a transaction commit) |
| 231 | benchmark(l1.rpc.spamlistcommand, 100_000) |
| 232 | |
| 233 | |
| 234 | def test_payment_speed(node_factory, benchmark): |
nothing calls this directly
no test coverage detected