Skip to content

Regression in performance in statically linked modules #831

Open
@jeffcharles

Description

@jeffcharles

#793 introduced a performance regression for statically linked modules because the QuickJS context no longer loads the JS module during pre-initialization. This is unfortunately an expensive step though not enough to trigger our fuel consumption checks in tests.

Some thoughts on how to go about this are to retain the QuickJS runtime in compile_src by wizening when performing that step or augmenting initialize_runtime to also optionally load source code or bytecode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions