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

Switch to hercules-ci/gitignore.nix for a cool 2x eval speedup #2512

Merged
merged 1 commit into from
Feb 1, 2021

Conversation

michaelpj
Copy link
Contributor

I do remember this being problematic before, switching to the more
maintained project immediately gave us a 2x eval speedup...

Pre-submit checklist:

  • Branch
    • Commit sequence broadly makes sense
    • Key commits have useful messages
    • Relevant tickets are mentioned in commit messages
  • PR
    • Self-reviewed the diff
    • Useful pull request description
    • Reviewer requested
  • If you updated any cabal files or added Haskell packages:
    • $(nix-build default.nix -A pkgsLocal.updateMaterialized) to update the materialized Nix files
    • Update hie-*.yaml files if needed
  • If you changed any Haskell files:
    • $(nix-shell shell.nix --run fix-stylish-haskell) to fix any formatting issues
  • If you changed any Purescript files:
    • $(nix-shell shell.nix --run fix-purty) to fix any formatting issues

Pre-merge checklist:

  • Someone approved it
  • Commits have useful messages
  • Review clarifications made it into the code
  • History is moderately tidy; or going to squash-merge

@michaelpj michaelpj requested a review from gilligan December 2, 2020 12:14
@michaelpj michaelpj force-pushed the imp/gitignore-eval-times branch from cdb29b6 to 212564b Compare December 2, 2020 12:26
@michaelpj
Copy link
Contributor Author

... but the evaluations on this branch are actually taking longer???? I don't understand 😭

@michaelpj michaelpj force-pushed the imp/gitignore-eval-times branch 2 times, most recently from 53d66d5 to af5df4a Compare December 3, 2020 08:25
@michaelpj michaelpj marked this pull request as draft December 3, 2020 15:06
@michaelpj
Copy link
Contributor Author

Converting to draft until I can figure out what's going on with Hydra :(

@michaelpj michaelpj force-pushed the imp/gitignore-eval-times branch from af5df4a to a8e5a34 Compare December 9, 2020 11:38
@michaelpj michaelpj force-pushed the imp/gitignore-eval-times branch from a8e5a34 to ba352d3 Compare January 5, 2021 14:09
@michaelpj michaelpj marked this pull request as ready for review January 5, 2021 14:11
@michaelpj
Copy link
Contributor Author

Un-drafting so hydra will build it, want to see if this is still bad.

@michaelpj
Copy link
Contributor Author

(Spoiler: it was still slower :( )

@michaelpj michaelpj force-pushed the imp/gitignore-eval-times branch 2 times, most recently from d4bc9fd to e06b370 Compare January 29, 2021 10:59
@michaelpj
Copy link
Contributor Author

Okay, this is now only slightly slower than master (or possibly no slower, it's within the amount that the master evaluation time varies by, so 🤷 ). I think overall it's therefore worth it, since it has better behaviour (e.g. reading parent gitignore files), and is more maintained.

@michaelpj michaelpj requested a review from gilligan January 29, 2021 10:59
@michaelpj michaelpj force-pushed the imp/gitignore-eval-times branch from e06b370 to a2cbb28 Compare January 29, 2021 11:00
This is *slightly* slower on hydra, but has better behaviour like
reading gitignore files from parent directories, and is the
"recommended" one to use.
@michaelpj michaelpj force-pushed the imp/gitignore-eval-times branch from a2cbb28 to cf491c5 Compare January 29, 2021 11:03
@michaelpj michaelpj merged commit 4dbb012 into master Feb 1, 2021
@kwxm kwxm deleted the imp/gitignore-eval-times branch June 16, 2021 06:29
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.

2 participants