Avatar for the langchain-ai user
langchain-ai
langchain
Instrumentation
Wall Time
BlogDocsChangelog

docs: add unified LLM loader example for OpenAI, Groq, Ollama, OpenRouter

#32620Closed
Comparing
shravankumar147:feature/llm-loader
(
b6b8d6a
) with
master
(
f896bcd
)
CodSpeed Performance Gauge
+12%
Improvements
3
Untouched
10

Benchmarks

Improved

test_import_time[BaseChatModel]
libs/core/tests/benchmarks/test_imports.py::test_import_time[BaseChatModel]
CodSpeed Performance Gauge
+12%
537.2 ms480.9 ms
test_import_time[InMemoryVectorStore]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryVectorStore]
CodSpeed Performance Gauge
+12%
264.2 ms236.6 ms
test_import_time[ChatPromptTemplate]
libs/core/tests/benchmarks/test_imports.py::test_import_time[ChatPromptTemplate]
CodSpeed Performance Gauge
+11%
449.3 ms406.6 ms

Passed

test_import_time[PydanticOutputParser]
libs/core/tests/benchmarks/test_imports.py::test_import_time[PydanticOutputParser]
CodSpeed Performance Gauge
+9%
391.6 ms359.5 ms
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py::test_import_time[HumanMessage]
CodSpeed Performance Gauge
+9%
223.4 ms205.9 ms
test_import_time[RunnableLambda]
libs/core/tests/benchmarks/test_imports.py::test_import_time[RunnableLambda]
CodSpeed Performance Gauge
+8%
244.3 ms226.7 ms
test_import_time[tool]
libs/core/tests/benchmarks/test_imports.py::test_import_time[tool]
CodSpeed Performance Gauge
+8%
498.5 ms462.6 ms
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py::test_import_time[InMemoryRateLimiter]
CodSpeed Performance Gauge
+7%
173.2 ms161.6 ms
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py::test_import_time[LangChainTracer]
CodSpeed Performance Gauge
+7%
430.9 ms403.8 ms
test_import_time[Document]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Document]
CodSpeed Performance Gauge
+7%
218.3 ms204.8 ms
test_import_time[Runnable]
libs/core/tests/benchmarks/test_imports.py::test_import_time[Runnable]
CodSpeed Performance Gauge
+6%
241.3 ms226.7 ms
test_import_time[CallbackManager]
libs/core/tests/benchmarks/test_imports.py::test_import_time[CallbackManager]
CodSpeed Performance Gauge
+6%
435.7 ms412.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 ms23.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