Skip to content

Asking agent to run a CLI command that does a lot of shell "magic" is really slow #18953

@kevmoo

Description

@kevmoo

What happened?

  1. ask agent to run dart run ~/github/dartdoc/bin/dartdoc.dart --output $(mktemp -d)
  2. The CLI has some "spinning" elements and other UX magic for progress
  3. It was 100x slower than running it on the CLI

What did you expect to happen?

  1. To be ~as fast as running it normally

Client information

Client Information

Run gemini to enter the interactive CLI, then run the /about command.

│ About Gemini CLI                                                                                                       │ CLI Version                              0.28.2                                                                        │ Git Commit                               da5e47ae3                                                                     │ Model                                    auto-gemini-3                                                                 │ Sandbox                                  no sandbox                                                                    │ OS                                       darwin                                                                        ```

</details>

### Login information

API key (I think)

### Anything else we need to know?

My hunch is that all of the raw bytes of the terminal animation silly are being processed by gemini and that's why it's so slow...but just a hunch

Metadata

Metadata

Assignees

Labels

area/coreIssues related to User Interface, OS Support, Core Functionalitypriority/p2Important but can be addressed in a future release.workstream-rollupLabel used to tag epics and features that are associated with one of the three primary workstreams🔒 maintainer only⛔ Do not contribute. Internal roadmap item.

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions