Protect what matters – even after you're gone. Make a plan for your digital legacy today.
Forum Discussion
Former Member
3 years agoVery slow CLI and possible cancelled call bugs on Windows
Hi,
This has been raised a few times in the past which I've seen and so let it be as it was always replied to suggesting that it was being actively worked on. But performance of the CLI on Windows...
Former Member
3 years agoShowing how vault and cache selection don't affect perf
`
$ for i in {1..30}; do { time op --cache=false --debug --vault Private item get --fields username Dummy 2>&1; } 2>&1 | grep -iE "(cache|real)"; done
real 0m7.936s
real 0m5.287s
real 0m5.103s
real 0m5.212s
real 0m5.127s
real 0m5.341s
real 0m5.283s
real 0m7.770s
real 0m5.077s
real 0m5.120s
real 0m5.053s
real 0m5.608s
real 0m5.025s
real 0m5.269s
real 0m7.789s
real 0m5.188s
real 0m5.232s
real 0m5.148s
real 0m5.185s
real 0m5.190s
real 0m5.461s
real 0m8.771s
real 0m5.177s
real 0m5.110s
real 0m5.053s
real 0m5.335s
real 0m5.288s
real 0m5.214s
real 0m9.261s
real 0m5.029s
/d/dev/bin [230206-111101]
$ for i in {1..30}; do { time op --debug --vault Private item get --fields username Dummy 2>&1; } 2>&1 | grep -iE "(cache|real)"; done
11:11AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m8.124s
11:11AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m6.358s
11:11AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m6.535s
11:11AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.548s
11:11AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.980s
11:12AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.151s
11:12AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.500s
11:12AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m7.942s
11:12AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.245s
11:12AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.963s
11:12AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m7.098s
11:12AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.408s
11:12AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.490s
11:12AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.582s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m9.435s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.412s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.299s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m6.247s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.400s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.246s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.175s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m7.867s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.126s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.067s
11:13AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.807s
11:14AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.827s
11:14AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.178s
11:14AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m5.422s
11:14AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m8.209s
11:14AM | WARN | InitDefaultCache: failed to establish RPC connection with daemon: You can't use caching on Windows.
real 0m11.729s
/d/dev/bin [230206-111436]
$ for i in {1..30}; do { time op --cache=false --debug item get --fields username Dummy 2>&1; } 2>&1 | grep -iE "(cache|real)"; done
real 0m8.941s
real 0m7.501s
real 0m5.282s
real 0m18.222s
real 0m7.975s
real 0m5.225s
real 0m6.513s
real 0m5.431s
real 0m5.643s
real 0m5.251s
real 0m5.338s
real 0m7.888s
real 0m5.264s
real 0m5.615s
real 0m5.286s
real 0m9.412s
real 0m7.909s
real 0m5.874s
real 0m7.880s
real 0m5.455s
real 0m5.237s
real 0m6.798s
real 0m5.127s
real 0m7.781s
real 0m5.239s
real 0m5.254s
real 0m8.018s
real 0m8.575s
real 0m7.979s
real 0m6.341s
`
Trying with older versions
`
$ op --version
2.12.0
$ op --cache=false --debug --vault Private item get --fields username Dummy
username
$ for i in {1..20}; do { time op --cache=false --debug --vault Private item get --fields username Dummy 2>&1; } 2>&1 | grep -iE "(cache|real)"; done
real 0m5.244s
real 0m5.244s
real 0m4.987s
real 0m5.020s
real 0m5.137s
real 0m5.024s
real 0m7.752s
real 0m5.139s
real 0m7.059s
real 0m5.527s
real 0m5.266s
real 0m5.499s
real 0m5.236s
real 0m7.763s
real 0m5.222s
real 0m5.206s
real 0m4.943s
real 0m5.209s
real 0m5.234s
real 0m5.529s
$ op --version
2.8.0
$ for i in {1..20}; do { time op --cache=false --debug --vault Private item get --fields username Dummy 2>&1; } 2>&1 | grep -iE "(cache|real)"; done
real 0m2.500s
real 0m5.189s
real 0m5.313s
real 0m5.075s
real 0m5.227s
real 0m7.885s
real 0m5.124s
real 0m5.068s
real 0m5.266s
real 0m5.140s
real 0m5.170s
real 0m5.014s
real 0m7.668s
real 0m4.936s
real 0m6.755s
real 0m5.730s
real 0m6.447s
real 0m5.086s
real 0m5.055s
real 0m7.927s
`
Showing the interrupted execution speed up
`
$ { time op --cache=false --debug --vault Private item get --fields username Dummy 2>&1; } 2>&1
real 0m0.994s
user 0m0.000s
sys 0m0.000s
$ { time op --cache=false --debug --vault Private item get --fields username Dummy 2>&1; } 2>&1
username
real 0m2.304s
user 0m0.000s
sys 0m0.000s
`