You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I met this issue while dealing with modifications to the show command. I put multiple flows in a file for testing purposes and used cocoindex ls to list them all. It took me about 40 seconds to finish this command, which was insane. It is hard to say this is definitely a bug, but I don't think that for a list command, it should take such a long time to return results to users.
Here is my measure result using the time command.
cocoindex time uv run main.py cocoindex ls
CodeEmbedding [+]
DocsToKG [+]
TextEmbedding [+]
GoogleDriveTextEmbedding [+]
Notes:
[+]: Flows present in the current process, but missing setup.
uv run main.py cocoindex ls 3.63s user 1.86s system 12% cpu 42.977 total
To Reproduce
Steps to reproduce the behavior:
Grab some different flows from examples, and put them all in main.py.
Run python main.py cocoindex ls command, and you will wait for a very long time.
Expected behavior ls command is just used for listing, it should be quite fast.
CocoIndex Version
latest
The text was updated successfully, but these errors were encountered:
@lemorage thanks for reporting the issue and submitting the fix!
(We started working on this in parallel. I also drafted a fix, with two improvements, and after merging my PR I just saw your PR, never mind. Now both PRs are merged)
Describe the bug
I met this issue while dealing with modifications to the
show
command. I put multiple flows in a file for testing purposes and usedcocoindex ls
to list them all. It took me about 40 seconds to finish this command, which was insane. It is hard to say this is definitely a bug, but I don't think that for a list command, it should take such a long time to return results to users.Here is my measure result using the
time
command.To Reproduce
Steps to reproduce the behavior:
main.py
.python main.py cocoindex ls
command, and you will wait for a very long time.Expected behavior
ls
command is just used for listing, it should be quite fast.CocoIndex Version
latest
The text was updated successfully, but these errors were encountered: