Skip to content

Improve performance on large files #12

@omentic

Description

@omentic

My class has been using eggs althroughout the semester -- we've now got an eight-thousand line file with about ~250 examples and ~1000 subexamples. The Typst editor is getting a little slow, as a result. The live preview still works pretty great but occasionally the compiler runs out of memory and crashes, and when adding/removing function calls it takes a couple of seconds for the preview to chug before updating.

I would like to go through and profile Typst on this file, to see if there's any performance eggs is leaving on the table, or if it's just that ~1000 subexamples is a very large amount of subexamples. I'm opening this issue to remind me to do it after my term papers are done.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions