Skip to content

Speed up .gitnow config file processing#24

Merged
joseluisq merged 2 commits intomasterfrom
optimizations
Oct 6, 2020
Merged

Speed up .gitnow config file processing#24
joseluisq merged 2 commits intomasterfrom
optimizations

Conversation

@joseluisq
Copy link
Owner

This PR speeds up processing of the .gitnow config file which also speeds up Fish sessions startup.
Resolves #23

Specs:

  • ArchLinux x86_64 / Intel Core i7 2.5GHz / 8GB RAM
  • Fish v3.1.2
  • Fisher v3.2.11
  • Gitnow v2.5.0

Before:

~> time fish -c ''
________________________________________________________
Executed in  441,87 millis    fish           external 
   usr time  376,85 millis    0,00 micros  376,85 millis 
   sys time   83,83 millis  1001,00 micros   82,82 millis

After:

~> time fish -c ''
________________________________________________________
Executed in  232,03 millis    fish           external 
   usr time  187,56 millis  709,00 micros  186,85 millis 
   sys time   62,72 millis  163,00 micros   62,55 millis

@joseluisq joseluisq added the enhancement New feature or request label Oct 5, 2020
@joseluisq joseluisq self-assigned this Oct 5, 2020
@joseluisq joseluisq merged commit 61edbe0 into master Oct 6, 2020
@joseluisq joseluisq added this to the 2.5.1 milestone Oct 6, 2020
@joseluisq joseluisq deleted the optimizations branch October 6, 2020 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fish startup time increases significantly with this plugin

1 participant