Skip to content

perf: Load pegjs files conditionally #2554

@TrevorBurnham

Description

@TrevorBurnham

The .pegjs files total ~1.45MB and are all loaded upfront. I would guess that most users (like myself) only use one SQL dialect in their project, so loading only that specific parser would significantly reduce their browser's download time (nm, I see that's what the separate <dialect>.umd.js files are for) or their Node.js process' startup time.

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