Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xclip may be slower than other, equivalent programs #100

Open
hackerb9 opened this issue Oct 31, 2020 · 0 comments
Open

xclip may be slower than other, equivalent programs #100

hackerb9 opened this issue Oct 31, 2020 · 0 comments

Comments

@hackerb9
Copy link
Collaborator

This was more noticeable before I increased the INCR block size, but sometimes xclip's pastes (acting as a requestor) felt slower than if I used xsel.

Transfers over a network seemed to exacerbate the problem.

Basic speed tests can be done with Pipe View (pv):
host1$ dd if=/dev/zero bs=1M count=16 | tr '\0' a | xclip
host2$ xsel | pv >/dev/null
host2$ xclip | pv >/dev/null

Note that while requesting a selection is slow (paste), having xclip own a selection (copy) is 100x faster than xsel for xfrs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant