Skip to content

opam show on files is slow #3721

@dbuenzli

Description

@dbuenzli
> opam --version
2.0.2
> time opam show ./cmdliner.opam --normalise --no-lint --field=authors:,bug-reports:,depends:,dev-repo:,doc:,homepage:,license:,maintainer:,synopsis:,tags:,version: > /dev/null

real	0m0.223s
user	0m0.154s
sys	0m0.060s

I guess some stuff must be going on to enable evaluation with respect to the current repo/switch. But I'm really interested in the raw fields like opam-query gave us. Would it maybe be possible to add an option that skips unneeded setup ?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions