Differencence in performances: Python vs Go codebase #205
-
Hi all, I just have a quick question. I'm running Vectorcode and ChromaDB locally (chroma DB in docker). My CPU is a AMD Ryzen 5 5600X 6-Core Processor. I have 48GB of RAM. I'm using neovim + codecompanion. First, is my CPU good enough to run vectorcode well enough? I have vectorized a Python codebase, and I'm asking questions to codecompanion using the Any idea why such a discrepancy? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
My current dev machine runs a 5600 (non-x) with 32GB RAM, so the hardware are certainly not the issue. Could you try making some queries from the command line with logging enabled, so that we can get some more insight of what's happening? Also are the sizes of the python and go repos comparable (in terms of LoC)? |
Beta Was this translation helpful? Give feedback.
-
Ah 🤦♂️ I hadn't thought about that. For the Go codebase:
And for the Python codebase:
But in my Go codebase I have a lot of auto-generated code (output of protobufs). If I exclude the directory that contains the generated Go code for the protos:
The size is comparable to the Python code base. And vectorcode is not hanging anymore 🎉 Thank you very much for your help! |
Beta Was this translation helpful? Give feedback.
Ah 🤦♂️ I hadn't thought about that.
For the Go codebase: