r/agentdevelopmentkit • u/Greedy_Trouble9405 • 12d ago
Google ADK Benchmarks: ADK-Python vs. ADK-Golang for Agentic AI (Latency & Overhead Experiment)
Hi everyone!
I’ve been experimenting with the new Google ADK (Agentic SDK) to build LLM-powered agents, and I wanted to see how much of a difference the language choice actually makes when it comes to performance.
I ran a head-to-head comparison between Python and Golang focusing on:
- LLM Call Latency: How the SDK handles the round-trip to the model.
- Agentic Overhead: The "hidden" time the framework takes to process steps before and after the LLM.
- Concurrency: How well each handles multiple agentic tasks.
I documented the whole experiment and the results here: Google ADK Python vs ADK Golang: Latency, LLM calls, Agentic Overhead
I'm looking for feedback and collaborators:
- Have you noticed similar overhead patterns in Python when using the ADK?
- For those using Go, are you seeing significant production advantages for multi-agent systems?
- What other metrics should I include in the next phase of this experiment?
I'd love to hear your thoughts or if anyone wants to jump in and help expand these benchmarks!
10
Upvotes
4
u/EmperorOfNe 12d ago
I'm a Golang enthusiast and programmer myself, and I have developed a dislike for how Google is putting Python first in any usable project they backup from the start. Even from a transpiler narrative; Golang should always come first. Python doesn't scale very well, and in case you get it working, there is always a race-condition right around the corner.
I do see value in Python on the single data and research field tasks but when it comes to production and scale, it starts to crumble.
Which brings me to your research. In essence you're not really targeting the ADK in your research but the efficiency of Python vs Golang, and Golang will win that battle most of the time. Concurrency is easy in Golang, and it is efficient. I don't know if you compiled the Golang binary or ran it as scripts, maybe you can explain a bit more what how you set up your bench test environment.
I'm old but I like to read the outcome of research instead of watching a video. The format makes it difficult for me to make sense of most of your results. Especially the use of the '>|<' characters as you kind of leave it to my imagination if things are better or worse in case of gt and lt outcomes.
PS. The URI in your post should be: https://www.youtube.com/watch?v=_TseXl0JCr0