Skip to content

Devenv search is slow (comparing to nix search) #1032

@imincik

Description

@imincik

Describe the bug
Devenv search is slow even when searching multiple times for the same package. This doesn't happen when using raw nix search.

To reproduce

  • nix search - first time slow, second time fast
time nix search nixpkgs gdal
21.13s user 6.51s system 58% cpu 46.881 total

time nix search nixpkgs gdal
0.94s user 0.15s system 96% cpu 1.129 total
  • devenv search - slow all the time
time devenv search gdal
16.62s user 1.66s system 97% cpu 18.691 total

time devenv search gdal
16.27s user 1.65s system 98% cpu 18.284 total

Make sure to include full logs and what you expected to happen.

Version

Paste the output of $ devenv version here.

devenv version
devenv 1.0.1 (x86_64-linux)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions