langchain-ai
langchain
Instrumentation
Wall Time
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
docs: add unified LLM loader example for OpenAI, Groq, Ollama, OpenRouter
#32620
Closed
Comparing
shravankumar147:feature/llm-loader
(
b6b8d6a
) with
master
(
f896bcd
)
CodSpeed Performance Gauge
+12%
Improvements
3
Untouched
10
Unknown Walltime execution environment detected
Using the Walltime instrument on standard Hosted Runners will lead to inconsistent data. For the most accurate results, we recommend using
CodSpeed Macro Runners
: bare-metal machines fine-tuned for performance measurement consistency.
Benchmarks
Improved
test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py::test_import_time[BaseChatModel]
CodSpeed Performance Gauge
+12%
537.2 ms
480.9 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryVectorStore]
CodSpeed Performance Gauge
+12%
264.2 ms
236.6 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py::test_import_time[ChatPromptTemplate]
CodSpeed Performance Gauge
+11%
449.3 ms
406.6 ms
Passed
test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py::test_import_time[PydanticOutputParser]
CodSpeed Performance Gauge
+9%
391.6 ms
359.5 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py::test_import_time[HumanMessage]
CodSpeed Performance Gauge
+9%
223.4 ms
205.9 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py::test_import_time[RunnableLambda]
CodSpeed Performance Gauge
+8%
244.3 ms
226.7 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py::test_import_time[tool]
CodSpeed Performance Gauge
+8%
498.5 ms
462.6 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryRateLimiter]
CodSpeed Performance Gauge
+7%
173.2 ms
161.6 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py::test_import_time[LangChainTracer]
CodSpeed Performance Gauge
+7%
430.9 ms
403.8 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Document]
CodSpeed Performance Gauge
+7%
218.3 ms
204.8 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Runnable]
CodSpeed Performance Gauge
+6%
241.3 ms
226.7 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py::test_import_time[CallbackManager]
CodSpeed Performance Gauge
+6%
435.7 ms
412.7 ms
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py::test_async_callbacks_in_sync
CodSpeed Performance Gauge
+4%
24.7 ms
23.7 ms
Commits
Click on a commit to change the comparison range
Base
master
f896bcd
+11.7%
Add unified LLM loader example (OpenAI, Groq, Ollama, OpenRouter)
b6b8d6a
22 days ago
by shravankumar147
© 2025 CodSpeed Technology
Home
Terms
Privacy
Docs