Lagrang3
420cff9350
askrene: mcf: trade granularity for performance
Speed in getroutes up by setting the granularity to 1000
Amount (sats) | speedup
-----------------------
100 | 1.00
1000 | 1.00
10000 | 1.06
100000 | 1.31
1000000 | 2.64
Worst runtime of getroutes
Amount (sats) | before (ms) | after (ms)
--------------------------------------
100 | 1507 | 761
1000 | 2129 | 1214
10000 | 1632 | 1043
100000 | 2004 | 1150
1000000 | 27170 | 3289
Changelog-None
Signed-off-by: Lagrang3 <lagrang3@protonmail.com>
2025-07-19 10:09:17 +09:30
..
2024-11-21 16:17:52 +10:30
2024-11-21 16:17:52 +10:30
2024-11-21 16:17:52 +10:30
2025-07-18 15:13:41 +09:30
2024-11-08 21:48:55 +10:30
2024-08-07 20:35:30 +09:30
2024-08-07 20:35:30 +09:30
2025-02-14 15:18:48 +10:30
2024-10-04 11:27:53 +09:30
2024-10-15 09:58:04 +10:30
2025-01-28 10:53:22 +10:30
2024-11-21 16:17:52 +10:30
2024-11-21 16:17:52 +10:30
2025-05-08 12:28:57 +09:30
2025-05-08 12:28:57 +09:30
2024-11-21 16:17:52 +10:30
2025-07-19 10:09:17 +09:30
2025-07-18 15:13:41 +09:30
2024-11-21 16:17:52 +10:30
2024-11-21 16:17:52 +10:30
2025-01-28 10:53:22 +10:30
2024-10-15 09:58:04 +10:30
2025-01-21 09:18:25 +10:30
2024-10-04 11:27:53 +09:30