Skip to content

Hakyll: reinstall with profiling and profile a full site build #41

@gwern

Description

@gwern

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.

Metadata

Metadata

Assignees

Labels

BackendOriginal content, Hakyll/Haskell/scripts, Markdown/HTML etc. Usually not CSS/JS. Owner: Gwern.enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions