-
Notifications
You must be signed in to change notification settings - Fork 672
Description
Description
$ jj git clone https://github.com/torvalds/linux.git
Fetching into new repo in "/tmp/linux"
9% 578.6 MiB at 2.4 MiB/s [███████████ ]
The progress bar showed above causes massive traffic and high CPU usage to the terminal running jj
, if jj
is run in the remote server, it also causes massive traffic between local machine and remote server.
Steps to Reproduce the Problem
Ssh login to a remote server, and run jj git clone https://github.com/torvalds/linux.git /tmp/linux
on the remote server.
Run sudo nethogs -a
on the remote server to measure the network traffic.
The progress bar causes massive traffic between local machine and remote server
jj git clone https://github.com/torvalds/linux.git /tmp/linux
:
Git does not have this behavior
git clone https://github.com/torvalds/linux.git /tmp/linux
:
When the progress bar is redirect to /dev/null
, the massive traffic is gone
jj git clone https://github.com/torvalds/linux.git /tmp/linux 2>/dev/null
:
The progress bar also causes tmux
high CPU usage when running jj
in tmux
:
When running git clone ..
in tmux
, you can't even see tmux
in top
:
Expected Behavior
The progress bar do not cause massive traffic and high CPU usage to the terminal.
Actual Behavior
The progress bar causes massive traffic and high CPU usage to the terminal.
Specifications
- Platform: Linux and macOS
- Version: 0.23.0