langchain-ai
langchain
BlogDocsChangelog

feat(text-splitters): add support for batched length function in TextSplitter

#32582
Comparing
MartinRabaud:batched_length_functions
(
d8a75fa
) with
master
(
791d309
)
CodSpeed Performance Gauge
0%
Untouched
12
New
1
Dropped
1

Benchmarks

Failed

test_init_time
libs/partners/groq/tests/unit_tests/test_standard.py::TestGroqStandard
Missing
CodSpeed Performance Gauge
N/A
1.6 sN/A

New

test_init_time
libs/partners/fireworks/tests/unit_tests/test_standard.py::TestFireworksStandard
CodSpeed Performance Gauge
N/A
N/A6.6 s

Passed

test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_base_standard.py::TestOpenAIStandard
CodSpeed Performance Gauge
0%
1.1 s1.1 s
test_stream_time
libs/partners/anthropic/tests/integration_tests/test_standard.py::TestAnthropicStandard
CodSpeed Performance Gauge
0%
15.9 ms15.9 ms
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIStandard
CodSpeed Performance Gauge
0%
1.1 s1.1 s
test_init_time
libs/partners/mistralai/tests/unit_tests/test_standard.py::TestMistralStandard
CodSpeed Performance Gauge
0%
12.5 ms12.5 ms
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_responses_standard.py::TestOpenAIResponses
CodSpeed Performance Gauge
0%
17.2 ms17.2 ms
test_init_time
libs/partners/deepseek/tests/unit_tests/test_chat_models.py::TestChatDeepSeekUnit
CodSpeed Performance Gauge
0%
1.6 s1.6 s
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_azure_standard.py::TestOpenAIStandard
CodSpeed Performance Gauge
0%
1.7 s1.7 s
test_init_time
libs/partners/xai/tests/unit_tests/test_chat_models_standard.py::TestXAIStandard
CodSpeed Performance Gauge
0%
3.3 s3.3 s
test_init_time
libs/partners/openai/tests/unit_tests/chat_models/test_base_standard.py::TestOpenAIStandard
CodSpeed Performance Gauge
0%
17.1 ms17.1 ms
test_init_time
libs/partners/anthropic/tests/unit_tests/test_standard.py::TestAnthropicStandard
CodSpeed Performance Gauge
0%
3.8 ms3.8 ms
test_stream_time
libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py::TestOpenAIResponses
CodSpeed Performance Gauge
0%
935 ms935.7 ms
test_init_time_with_client
libs/partners/anthropic/tests/unit_tests/test_standard.py
CodSpeed Performance Gauge
0%
5.3 ms5.3 ms

Commits

Click on a commit to change the comparison range
Base
master
791d309
0%
fix(tests): update docstring for test_huggingface_tokenizer_fast to clarify batched usage
d8a75fa
5 months ago
by MartinRabaud
© 2026 CodSpeed Technology
Home Terms Privacy Docs