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

Remove updateMaterialized #434

Merged
merged 1 commit into from
Apr 27, 2022

Conversation

raduom
Copy link
Contributor

@raduom raduom commented Apr 27, 2022

This is a cut & paste of the similar fix @michaelpj did for plutus. Note that beside the execution times on hydra, etc. this may also improve the space used for builds on macs where I recently had a lot of trouble (/nix grows to around 500Gb eventually). I noticed how updateMaterialized seems to add around 80Gb everytime it is ran, and it does not remove the used space after running.

I have yet to test how this works on mac, but on pc/linux I did not notice any significant delays.

Pre-submit checklist:

  • Branch
    • Tests are provided (if possible)
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Relevant tickets are mentioned in commit messages
    • Formatting, materialized Nix files, PNG optimization, etc. are updated
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested

@raduom raduom self-assigned this Apr 27, 2022
@raduom raduom marked this pull request as ready for review April 27, 2022 03:05
@raduom raduom force-pushed the raduom/no-updateMaterialized branch from ebc2e8e to e66a46c Compare April 27, 2022 03:28
@raduom raduom force-pushed the raduom/no-updateMaterialized branch from e66a46c to d1d7778 Compare April 27, 2022 04:19
@michaelpj
Copy link
Contributor

It does look like it made hydra evals longer, but not drastically: 149s to 254s

@raduom
Copy link
Contributor Author

raduom commented Apr 27, 2022

As an update, it also makes macos disk usage much more predictable.

@raduom raduom merged commit 68bd492 into IntersectMBO:main Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants