X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?p=elpher.git;a=blobdiff_plain;f=ISSUES.org;h=9923820fd08989a0821f3fbc293ed8104242172a;hp=cf082d1f679ab217c511614f476a956ebdbe2aee;hb=47c18669b665691fad2a9277d1002259852bf77f;hpb=b535280e99e34e1f018fb97ad6d41ff7564d2334 diff --git a/ISSUES.org b/ISSUES.org index cf082d1..9923820 100644 --- a/ISSUES.org +++ b/ISSUES.org @@ -260,3 +260,20 @@ collapsable hierarchies. :LOGBOOK: - State "CLOSED" from "OPEN" [2021-07-23 Fri 10:09] :END: + +** CLOSED Improve gemeini rendering speed +:LOGBOOK: +- State "CLOSED" from "OPEN" [2021-07-31 Sat 00:18] +:END: + +Currently pages with many links render extremely slowly. + +Example (>2000 links, 15s): gemini://rawtext.club/~sloum/geminilist/ + +It turns out that by far the main contributor to this is the use of +(url-port) in elpher-address-from-gemini-url. I encountered this +problem once before in elpher-remove-redundant-ports. This function +call is just incredibly slow for some bizarre reason. Happily, +(url-portspec) is functionally equivalent and is orders of magnitude +faster. With this replacement, loading the above page takes ~2s +and there aren't any other hotspots.