-
Notifications
You must be signed in to change notification settings - Fork 43
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
Use Python glob.glob
when scanning for main.nix
files
#1101
Comments
dsalaza4
added a commit
to dsalaza4/makes
that referenced
this issue
Jun 2, 2023
- Collect attr paths using python globs for initialization performance - Pass them as attrPaths to evaluator - Redefine evaluator logic for building outputs from attrs - Initialization for universe takes less than 3 seconds now Signed-off-by: Daniel Salazar <podany270895@gmail.com>
dsalaza4
added a commit
to dsalaza4/makes
that referenced
this issue
Jun 2, 2023
- Collect attr paths using python globs for initialization performance - Pass them as attrPaths to evaluator - Redefine evaluator logic for building outputs from attrs - Initialization for universe takes less than 3 seconds now Signed-off-by: Daniel Salazar <podany270895@gmail.com>
dsalaza4
added a commit
to dsalaza4/makes
that referenced
this issue
Jun 5, 2023
- Collect attr paths using python globs for initialization performance - Pass them as attrPaths to evaluator - Redefine evaluator logic for building outputs from attrs - Initialization for universe takes 1 second now Signed-off-by: Daniel Salazar <podany270895@gmail.com>
dsalaza4
added a commit
to dsalaza4/makes
that referenced
this issue
Jun 5, 2023
- Collect attr paths using python globs for initialization performance - Pass them as attrPaths to evaluator - Redefine evaluator logic for building outputs from attrs - Initialization for universe takes 1 second now Signed-off-by: Daniel Salazar <podany270895@gmail.com>
I will also release a new version of makes for pinning this CLI change. |
dsalaza4
added a commit
to dsalaza4/makes
that referenced
this issue
Jun 5, 2023
- Deploy new makes version that includes new CLI optimization - Update doc - Update pipelines - Update containers Signed-off-by: Daniel Salazar <podany270895@gmail.com>
dsalaza4
added a commit
to dsalaza4/makes
that referenced
this issue
Jun 22, 2023
- Stop checking if path exists as it was collected a few milliseconds ago - Only declare some trivial variables once
dsalaza4
added a commit
to dsalaza4/makes
that referenced
this issue
Jun 22, 2023
- Stop checking if path exists as it was collected a few milliseconds ago - Only declare some trivial variables once
dsalaza4
added a commit
to dsalaza4/makes
that referenced
this issue
Jun 22, 2023
- Stop checking if path exists as it was collected a few milliseconds ago - Only declare some trivial variables once Signed-off-by: Daniel Salazar <podany270895@gmail.com>
jpverde
added a commit
to jpverde/makes
that referenced
this issue
Jun 27, 2023
perf(back): fluidattacks#1101 faster init
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Current scanning function is implemented in Nix. It is very slow:
makes/src/evaluator/modules/default.nix
Line 94 in 1311f28
Let's use Python
glob.glob
and pass all found attrs to Nix.The text was updated successfully, but these errors were encountered: