lightning/plugins/test
Rusty Russell cdb74434f2 trace: don't copy strings where we don't need to.
1. trace_span_start() is always called with a string literal, so
   no copy needed (and we can use a macro to enforce this).
2. trace_span_tag() name and value are always longer-lived than
   the span, so no need to copy these either.

Before:
	real	0m18.524000-19.100000(18.7674+/-0.21)s
	user	0m16.171000-16.833000(16.424+/-0.26)s
	sys	0m2.259000-2.400000(2.337+/-0.059)s

After:
	real	0m16.421000-18.407000(17.8128+/-0.72)s
	user	0m14.242000-16.041000(15.5382+/-0.67)s
	sys	0m2.179000-2.363000(2.273+/-0.061)s

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2025-04-23 13:45:18 +09:30
..
Makefile pay: Use the global channel_hint_set and remember across payments 2024-10-07 14:05:47 +02:00
Makefile2 plugins/test/run-route-overlong: modern overlong routing test. 2021-05-22 17:53:04 +09:30
run-funder_policy.c libplugin: allow display of default values. 2024-05-15 15:50:54 -05:00
run-route-calc.c trace: don't copy strings where we don't need to. 2025-04-23 13:45:18 +09:30
run-route-overlong.c trace: don't copy strings where we don't need to. 2025-04-23 13:45:18 +09:30