Skip to content

Jsparagus lexer is 42% slower than SpiderMonkey's lexer #589

@nbp

Description

@nbp

This result comes from the following profile where both SmooshMonkey and SpiderMonkey succeed: https://share.firefox.dev/38DHNBm

Under js::frontend::GeneralParser::parse, filtering with Token highlights that we spent 3.407s in the lexer.
Under smoosh_test_parse_script, filtering with lexer highlights that we spent 4.858s in the lexer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions