Skip to content

MCP Server Latency Test #733

@MervinPraison

Description

@MervinPraison

Discussed in #725

Originally posted by victoriaaajiang July 4, 2025
Hello!
I'm building an MCP server using a local Ollama LLM. I want to measure latency breakdown for:

  • Planning process
  • Tool usage
  • LLM answer generation

Which functions mark the start and end of each phase in the code?

I'm looking among agent.py, llm.py, task.py, mcp.py and main.py. But I find it quite hard to keep track of the interaction between functions.

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions