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

Tremendously slow #364

Closed
ghost opened this issue Aug 19, 2020 · 2 comments
Closed

Tremendously slow #364

ghost opened this issue Aug 19, 2020 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 19, 2020

Hello there, I really don't want to be the guy pointing out a performance issue, since it might aswell reside on my networks part. But I can't believe that my network is as bad as shown in below example. Especially since the real value typically evaluates from adding user & sys together (?)

chris:~$ time trans :de test
test
/test/
...
(more output)
...
test
    Prüfung, Test, testen

real	1m15.550s
user    0m0.238s
sys	0m0.137s
chris:~$ 

I was really hoping to get some help on potential causes on that performance lack, since I would love to use this CLI in the future.

I'm using the brew installation on MacOS Catalina (10.15.6) within bash (5.0.18).
I'm also using tor as a proxy in my Firefox (default browser), what might interfere network performance (?)

Feel free to close this issue, if you really demand me on believing that it might just be a network issue on my part, which would be way to vague to troubleshoot.

@soimort
Copy link
Owner

soimort commented Aug 19, 2020

  1. Please post the output of trans -V.
  2. Your issue seems be related to: Execution is very slow to fallback to ipv4 when using ipv6 #287 (which should be fixed in version 0.9.6.10 and above). You may try disabling IPv6 on your system or using trans with option -4 to see if the slowness persists.

@ghost
Copy link
Author

ghost commented Aug 19, 2020

Oh wow, option -4 indeed solved it. Thank you so much for the quick response! I'm going to close this issue.

@ghost ghost closed this as completed Aug 19, 2020
This issue was closed.
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