bijancn / gitlabctl

Control gitlab from the command line
MIT License
1 stars 2 forks source link

Replace rayon with a fast async library #1

Closed bijancn closed 4 years ago

bijancn commented 4 years ago

crayon was tested for adding parallelism but it's not really helping for this case.

The desired result would be to speed up a typical call like this

target/debug/gitlabctl get environments -n server
Retrieved 20 projects          [2.88s]
Retrieved 49 environments      [2.29s]
Retrieved environments details [6.64s]
PROJECT                     ENVIRONMENT  DEPLOYMENT           COMMIT    UPDATED
...
CalliEve commented 4 years ago

Hi! do you have any particular library in mind?

bijancn commented 4 years ago

Hi @Baev1 ! @ChetanBhasin is adding https://tokio.rs as far as I know. But if you want to contribute, you can have a look at https://github.com/bijancn/gitlabctl/issues/2 , https://github.com/bijancn/gitlabctl/issues/3 or https://github.com/bijancn/gitlabctl/issues/4

bijancn commented 4 years ago

Closed by https://github.com/bijancn/gitlabctl/pull/8