Skip to content

fastwalk function is slow because of walking the excluded directories #40

@aminya

Description

@aminya

The library still tries to read the excluded directory using the fastwalk function.

    sources:
      ["node_modules/**/*", "**/*.js"]

I have done some profiling on my fork of go-task, and here is the result. As you see, it reads the whole node_modules directory, which takes 70 seconds.

image

image

Mirrored from go-task/task#225 (comment)

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