memfs icon indicating copy to clipboard operation
memfs copied to clipboard

Exists/ExistsSync api is slow

Open Kingwl opened this issue 2 weeks ago • 0 comments

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

Kingwl avatar Dec 11 '25 15:12 Kingwl