Skip to content

Bad performance of fs2.io.file.Files[IO].walk() #3329

@sven42

Description

@sven42

I am migrating a tool to use fs2 (v3.9.2).
The first step is just to collect about 26000 files in a directory tree for further processing.

Here are the timings of this first step for several solutions:

  • java.nio.file.Files#walkFileTree: 0.5s
  • DeprecatedFilesApi.walk: 0.7s
  • fs2.io.file.Files#walk: 4s

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