Skip to content

Exists/ExistsSync api is slow #1217

@Kingwl

Description

@Kingwl

There's a performance issue due to the implements of exists/existsSync.

I have run a perf In my project:

Script running time: 4377ms:

Image

It's cost 618ms for createError (14% of all scripting time):

Image

The call stack is:

Image

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