Home / Function/ test_qdrant_vectorstore_init_time() — langchain Function Reference

test_qdrant_vectorstore_init_time() — langchain Function Reference

Architecture documentation for the test_qdrant_vectorstore_init_time() function in test_standard.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  3b0f21ab_390a_961a_e0c3_3b0c871f7566["test_qdrant_vectorstore_init_time()"]
  b3e4a794_b6cd_eba9_2d69_fdd56d800ded["test_standard.py"]
  3b0f21ab_390a_961a_e0c3_3b0c871f7566 -->|defined in| b3e4a794_b6cd_eba9_2d69_fdd56d800ded
  style 3b0f21ab_390a_961a_e0c3_3b0c871f7566 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/qdrant/tests/unit_tests/test_standard.py lines 21–33

def test_qdrant_vectorstore_init_time(benchmark: BenchmarkFixture) -> None:
    """Test QdrantVectorStore initialization time."""

    def _init_qdrant_vectorstore() -> None:
        for _ in range(10):
            QdrantVectorStore.from_texts(
                texts=["test"],
                embedding=MockEmbeddings(),
                location=":memory:",
                collection_name="test",
            )

    benchmark(_init_qdrant_vectorstore)

Domain

Subdomains

Frequently Asked Questions

What does test_qdrant_vectorstore_init_time() do?
test_qdrant_vectorstore_init_time() is a function in the langchain codebase, defined in libs/partners/qdrant/tests/unit_tests/test_standard.py.
Where is test_qdrant_vectorstore_init_time() defined?
test_qdrant_vectorstore_init_time() is defined in libs/partners/qdrant/tests/unit_tests/test_standard.py at line 21.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free