Skip to content

Increase the performance of parsing and evaluation speed #200

Open
@jwiegley

Description

Here's the bar:

[nix-shell:~/src/hnix]$ time nix-instantiate -I nix=$PWD/data/nix/corepkgs --eval --expr "import $HOME/src/nix/nixpkgs {}" > /dev/null

real	0m0.089s
user	0m0.077s
sys	0m0.010s

[nix-shell:~/src/hnix]$ time ./dist/build/hnix/hnix -I nix=$PWD/data/nix/corepkgs --eval --expr "import $HOME/src/nix/nixpkgs {}" > /dev/null

real	0m1.125s
user	0m1.047s
sys	0m0.070s

Metadata

Assignees

No one assigned

    Labels

    help wantedWhen someone explicitly requests for help

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions