Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create benchmarks #5

Open
hasufell opened this issue Aug 17, 2021 · 1 comment
Open

Create benchmarks #5

hasufell opened this issue Aug 17, 2021 · 1 comment
Labels

Comments

@hasufell
Copy link
Owner

We need to observe memory behavior between abstract-filepath and current libraries, e.g. when listing a few million files in some directories.

Also need to observe behavior wrt ShortByteString splitting etc, which are copy operations.

@hasufell hasufell added enhancement New feature or request task and removed enhancement New feature or request labels Aug 17, 2021
@mgajda
Copy link

mgajda commented Aug 17, 2021

Testing these use cases may cover a lot of potential trouble spots:

  1. Making generator for all valid file paths on each platform starting from temporary directory.
    Creating a directory tree for the path, and and removing it.
    May be checked with both relative and absolute paths to compare.
  2. Listing a directory with millions of files.
  3. Searching through a large directory tree (like that of GHC or Linux.)
  4. Counting files that match a glob pattern within a large directory, or a directory tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants