#!/usr/bin/env bash # The real benchmark. Needs a running Ollama with the models pulled (see README) and: pip install mcp # scripts/benchmark.sh # the six models from the post, 3 runs each # MODELS=llama3.2:3b RUNS=1 scripts/benchmark.sh source "$(dirname "$0")/_cp.sh" MODELS="${MODELS:-qwen3:0.6b,qwen3:1.7b,llama3.2:1b,llama3.2:3b,qwen2.5:1.5b,granite3.3:2b}" java -cp "$CP" com.ankurm.lc4j.localtools.Benchmark --models "$MODELS" --runs "${RUNS:-3}" --temp "${TEMPERATURE:-0.3}" \ --out results --python "${PYTHON:-python3}" --server mcp/tool_server.py 2>&1 | grep --line-buffered -v -e '^Picked up' -e '^\[main\] INFO'