Automattic / team51-cli

A tool for provisioning and connecting GitHub repos, Pressable WordPress sites and DeployHQ.
MIT License
12 stars 0 forks source link

Feat/183 plugin search speedup #188

Closed ahegyes closed 1 year ago

ahegyes commented 1 year ago

This PR refactors the plugin-search command by:

  1. Simplifying the main body by moving chunks of code to helpers
  2. Running the API calls in parallel instead of sequentially to speed up the results (±10 seconds vs 15 min previously)

See #183

ahegyes commented 1 year ago

Hi @jessLundie! I am submitting this PR for you to review as part of the T51 code review program 😄 I don't think that it's more than an hour, but if you think it is, we can do another or it's fine to review it partially 😅

jessLundie commented 1 year ago

@ahegyes - This is such a cool effort and I learned so much from reading through it 😃 What a great feature improvement!