From 141061251a8a84e7be36d42e987a74f426a450a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20Gill=C3=A9?= Date: Sat, 16 Mar 2024 18:38:58 +0100 Subject: [PATCH] Update README --- README.md | 59 +++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 40 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index cb6881a..3ce683f 100644 --- a/README.md +++ b/README.md @@ -11,9 +11,7 @@ Because `chromem-go` is embeddable it enables you to add retrieval augmented gen It's *not* a library to connect to Chroma and also not a reimplementation of it in Go. It's a database on its own. -The focus is not scale or number of features, but simplicity. - -Performance has not been a priority yet. Without optimizations (except some parallelization with goroutines) querying 5,000 documents takes ~500ms on a mid-range laptop CPU (11th Gen Intel i5-1135G7, like in the first generation Framework Laptop 13). +The focus is not scale (millions of documents) or number of features, but simplicity and performance for the most common use cases. On a mid-range 2020 Intel laptop CPU you can query 1,000 documents in 0.5 ms and 100,000 documents in 56 ms, both with just 44 memory allocations. See [Benchmarks](#benchmarks) for details. > ⚠️ The project is in beta, under heavy construction, and may introduce breaking changes in releases before `v1.0.0`. All changes are documented in the [`CHANGELOG`](./CHANGELOG.md). @@ -23,8 +21,9 @@ Performance has not been a priority yet. Without optimizations (except some para 2. [Interface](#interface) 3. [Features](#features) 4. [Usage](#usage) -5. [Motivation](#motivation) -6. [Related projects](#related-projects) +5. [Benchmarks](#benchmarks) +6. [Motivation](#motivation) +7. [Related projects](#related-projects) ## Use cases @@ -156,25 +155,25 @@ See the Godoc for details: