Hakyll compilation of essays is now extremely slow, often seconds or minutes or page. Parallelization is no panacea. As part of #22 , it would be good to enable profiling libraries (since I will have to reinstall the whole ecosystem anyway).
I suspect that the slowdowns are primarily due to LinkAuto, which may be time to remove in favor of LLM-powered edits, combined with a vast amount of overhead from runtime string conversions and various hardwired checks. (I've noticed that checking isURI seems to happen far too often...) So profiling will be most useful after #24 + #26; the richer string types would let us move checks to just once, at value creation.
Hakyll compilation of essays is now extremely slow, often seconds or minutes or page. Parallelization is no panacea. As part of #22 , it would be good to enable profiling libraries (since I will have to reinstall the whole ecosystem anyway).
I suspect that the slowdowns are primarily due to LinkAuto, which may be time to remove in favor of LLM-powered edits, combined with a vast amount of overhead from runtime string conversions and various hardwired checks. (I've noticed that checking
isURIseems to happen far too often...) So profiling will be most useful after #24 + #26; the richer string types would let us move checks to just once, at value creation.