langchain-ai
langchain
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
fix(openai): promote client caching to all Azure and standard OpenAI classes
#35087
Comparing
VintLin:fix/openai-client-reuse
(
febaede
) with
master
(
f0a808d
)
CodSpeed Performance Gauge
×460
Improvement
1
Untouched
5
Skipped
28
Benchmarks
Mode
CPU Simulation
Wall Time
Memory
Status
Improvement
Untouched
Skipped
34 total
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_azure_standard.py::TestOpenAIStandard
CodSpeed Performance Gauge
×460
1,674 ms
*
3.6 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_responses_standard.py::TestOpenAIResponses
CodSpeed Performance Gauge
0%
12.2 ms
*
12.2 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_base_standard.py::TestOpenAIStandard
CodSpeed Performance Gauge
0%
12.2 ms
*
12.1 ms
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIStandard
CodSpeed Performance Gauge
0%
1.1 s
*
1.1 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_base_standard.py::TestOpenAIStandard
CodSpeed Performance Gauge
0%
1.1 s
*
1.1 s
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIResponses
CodSpeed Performance Gauge
0%
805.9 ms
*
805.2 ms
The benchmarks below were skipped, so their baseline results are used instead. If they were deleted in your codebase, archive them to remove them from the performance reports.
Learn more about archiving benchmarks
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_create_chat_prompt_init_time
libs/partners/prompty/tests/unit_tests/test_standard.py
Skipped
311.9 µs
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/ollama/tests/unit_tests/test_chat_models.py::TestChatOllama
Skipped
1.6 s
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_chroma_init_time
libs/partners/chroma/tests/unit_tests/test_standard.py
Skipped
60 ms
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/groq/tests/unit_tests/test_standard.py::TestGroqStandard
Skipped
1.6 s
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/fireworks/tests/unit_tests/test_standard.py::TestFireworksStandard
Skipped
6.6 s
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/perplexity/tests/unit_tests/test_chat_models_standard.py::TestPerplexityStandard
Skipped
1.7 s
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/deepseek/tests/unit_tests/test_chat_models.py::TestChatDeepSeekUnit
Skipped
1.6 s
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/mistralai/tests/unit_tests/test_standard.py::TestMistralStandard
Skipped
9.2 ms
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_qdrant_vectorstore_init_time
libs/partners/qdrant/tests/unit_tests/test_standard.py
Skipped
225 ms
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_nomic_embeddings_init_time
libs/partners/nomic/tests/unit_tests/test_standard.py
Skipped
1.5 ms
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/xai/tests/unit_tests/test_chat_models_standard.py::TestXAIStandard
Skipped
3.3 s
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_exa_retriever_init_time
libs/partners/exa/tests/unit_tests/test_standard.py
Skipped
316.4 µs
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time_with_client
libs/partners/anthropic/tests/unit_tests/test_standard.py
Skipped
2.3 ms
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_stream_time
libs/partners/anthropic/tests/integration_tests/test_standard.py::TestAnthropicStandard
Skipped
31.5 ms
*
Uses the
CPU Simulation instrument
to collect CPU performance metrics.
test_init_time
libs/partners/anthropic/tests/unit_tests/test_standard.py::TestAnthropicStandard
Skipped
805.2 µs
*
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[LangChainTracer]
libs/core/tests/benchmarks/test_imports.py
Skipped
475.2 ms
*
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_async_callbacks_in_sync
libs/core/tests/benchmarks/test_async_callbacks.py
Skipped
24.5 ms
*
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[InMemoryRateLimiter]
libs/core/tests/benchmarks/test_imports.py
Skipped
180.3 ms
*
Uses the
Wall Time instrument
to collect wall time performance metrics.
test_import_time[HumanMessage]
libs/core/tests/benchmarks/test_imports.py
Skipped
267.5 ms
*
1
2
Commits
Click on a commit to change the comparison range
Base
master
f0a808d
×460
fix(openai): promote client caching to all Azure and standard OpenAI classes
febaede
3 hours ago
by VintLin
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs