melos icon indicating copy to clipboard operation
melos copied to clipboard

optimize for performance on exec and run

Open huang12zheng opened this issue 2 years ago • 2 comments

Description

Commands exec and run maybe optimized for performance melos run tag:pubspec is slower 3s than melos list -l

Requirements

  • [ ] optimized for performance

Additional Context

melos run tag take about 30s

#melso.yaml
  tag:git:
    run: melos exec "git tag -l"
    description: show all tag
  tag:pubspec:
    run: melos list -l 
    description: show all tag
  tag:gitstatus:
    run: melos exec "git status"
    description: show all tag
  tag:
    run: melos run tag:git && melos run tag:pubspec && melos run tag:gitstatus
    description: show all tag

huang12zheng avatar Dec 06 '21 10:12 huang12zheng

Not quite sure what the issue is here but if you have a PR or code change to suggest please send a PR, thanks

Salakar avatar Dec 06 '21 11:12 Salakar

@huang12zheng is this still a problem?

spydon avatar Dec 04 '23 18:12 spydon