Skip to main content
March 21, 2022
Question

v2 is way slower than v1

  • March 21, 2022
  • 3 replies
  • 128 views

I hoped the v2 CLI integrated with 1Password Desktop would give us better performance than the v1 CLI, but it is actually more than twice as slow to search for a random item.

```

v1.9.0

$ time op get item 'some random item'
real 0m2.880s
user 0m0.870s
sys 0m0.144s

v2.0.0

$ time /usr/bin/op item get 'some random item'
real 0m6.151s
user 0m0.967s
sys 0m0.189s
```

Is this expected?


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided

3 replies

March 23, 2022

Hey @ddewit, thanks for reporting this!
We are aware of this issue, and we currently have it under investigation. We hope to roll out an optimisation soon.
We'll make sure to keep you posted in this thread!
In the meantime, have you tried using the --cache flag, enabling the CLI cache? This may help the situation.

Please, do let us know if you have any more feedback!
Best,
Horia

ddewitAuthor
March 23, 2022

Hi @"Horia.Culea_1P"! Great that you are looking into this. I actually tried the --cache flag, it made things better, but still slower than the old CLI.

April 5, 2022

That is great feedback, thank you! We're looking into it!