Skip to content

50% of regex_v8 benchmark time is 2 regexes #388

@dg-pb

Description

@dg-pb

These 2 lines in block1:

        regexs[17].sub(r'', strings[2], count=subcount[17])

        # This prints a unicode escape where the V8 version prints the
        # unicode character.
        regexs[17].sub(r'', strings[3], count=subcount[17])

take 140 ms to run

while full benchmark takes 300 ms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions