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
..
2025-04-23 13:45:18 +09:30
2025-04-01 18:29:08 -05:00
2025-04-01 13:29:28 -05:00
2025-04-02 11:22:54 +10:30
2025-04-02 11:22:54 +10:30
2025-01-21 09:18:25 +10:30
2025-04-02 11:22:54 +10:30
2024-06-19 15:54:24 +09:30
2025-03-18 14:30:58 +10:30
2024-09-21 06:20:18 +09:30
2025-02-22 11:51:54 -06:00
2025-02-22 11:51:54 -06:00
2024-09-19 12:16:53 +09:30
2025-04-02 11:22:54 +10:30
2024-11-25 20:23:21 +10:30
2024-07-23 09:54:47 +09:30
2025-03-12 09:26:08 +10:30
2025-02-10 19:19:12 -06:00
2024-11-25 15:39:13 +10:30
2024-12-20 15:36:07 +10:30
2025-04-02 11:22:54 +10:30
2024-06-19 15:54:24 +09:30
2024-10-26 09:51:20 +02:00
2024-11-25 15:39:13 +10:30
2024-07-23 09:54:47 +09:30
2024-11-21 14:15:36 +10:30
2024-10-16 07:14:32 +10:30
2025-01-21 09:18:25 +10:30
2024-10-27 13:57:50 +11:00
2025-01-21 09:18:25 +10:30
2025-03-12 09:26:08 +10:30
2025-03-12 09:26:08 +10:30
2025-03-12 09:26:08 +10:30
2025-04-23 13:45:18 +09:30
2025-03-12 09:26:08 +10:30
2025-01-21 09:18:25 +10:30
2024-12-16 09:48:51 +10:30
2024-08-01 12:31:48 +09:30
2025-01-21 09:18:25 +10:30
2025-03-12 09:26:08 +10:30
2025-02-12 12:54:10 +10:30
2025-02-11 20:19:01 -06:00
2025-03-02 16:06:34 -06:00
2025-03-12 09:26:08 +10:30
2024-05-09 16:14:23 -05:00
2025-04-02 11:22:54 +10:30
2024-06-19 15:54:24 +09:30
2025-03-18 14:30:58 +10:30
2025-03-12 09:26:08 +10:30
2024-12-17 15:59:30 +10:30
2024-10-27 13:57:50 +11:00
2025-04-02 11:22:54 +10:30
2025-02-26 10:22:03 -06:00
2025-02-26 10:22:03 -06:00
2025-04-02 11:22:39 +10:30
2024-10-27 13:57:50 +11:00
2024-07-31 14:42:58 +09:30
2024-11-18 11:03:26 +10:30
2025-03-12 09:26:08 +10:30
2025-03-24 13:59:58 +10:30
2025-03-12 09:26:08 +10:30
2024-09-19 12:16:53 +09:30
2025-02-05 16:43:09 -06:00
2025-03-12 09:26:08 +10:30
2024-12-16 09:48:51 +10:30
2024-11-13 14:44:03 +10:30
2024-07-31 14:42:58 +09:30
2025-01-21 09:18:25 +10:30
2025-01-21 09:18:25 +10:30