@@ -39,8 +39,9 @@ var rows = db.ExecuteQuery("SELECT * FROM users");
3939- ** Multiple Storage Engines** : PageBased (OLTP), Columnar (Analytics), AppendOnly (Logging)
4040- ** Pure .NET** : No P/Invoke dependencies, fully managed code
4141- ** SQL Support** : CREATE/INSERT/SELECT/UPDATE/DELETE, JOIN, aggregates, subqueries
42- - ** Hash Indexes ** : O(1) point lookups for indexed columns
42+ - ** Dual Index Types ** : Hash indexes ( O(1) point lookups) + B-tree indexes (O(log n) ordered/range queries)
4343- ** Batch Transactions** : ** 37.94x faster** updates with deferred indexes
44+ - ** Lock-Free CLOCK Cache** : 2-5M ops/sec page cache with CLOCK eviction (replaced LRU for better concurrency)
4445- ** WAL & Caching** : Write-ahead logging, page cache, query cache
4546- ** DI Integration** : First-class Dependency Injection support
4647
@@ -92,7 +93,7 @@ var rows = db.ExecuteQuery("SELECT * FROM users");
9293| ** SharpCoreDB PageBased** | 29.92 ms | 334 rec/ms |
9394
9495** SharpCoreDB Performance** :
95- - ✅ ** 1.99x faster than LiteDB** scans
96+ - ⚠️ ** 1.99x slower than LiteDB** scans
9697- ⚠️ ** 21.7x slower than SQLite** (optimization roadmap below)
9798
9899---
@@ -141,7 +142,8 @@ var rows = db.ExecuteQuery("SELECT * FROM users");
141142| ** Pure .NET** | ✅ | ✅ | ❌ (P/Invoke) |
142143| ** Memory Efficiency** | ✅ ** 6.22x less than LiteDB** | ❌ High | ✅ |
143144| ** Storage Engines** | ✅ ** 3 types** | ⚠️ 1 type | ⚠️ 1 type |
144- | ** Hash Indexes** | ✅ ** O(1)** | ⚠️ B-tree | ⚠️ B-tree |
145+ | ** Hash Indexes** | ✅ ** O(1) lookups** | ❌ | ❌ |
146+ | ** B-tree Indexes** | ✅ ** O(log n) ordered** | ✅ | ✅ |
145147| ** Async/Await** | ✅ ** Full** | ⚠️ Limited | ⚠️ Limited |
146148| ** License** | ✅ MIT | ✅ MIT | ✅ Public Domain |
147149
@@ -178,7 +180,7 @@ var rows = db.ExecuteQuery("SELECT * FROM users");
178180### ⚠️ ** Also Consider** (Optimizations Planned):
179181
180182- ** Update-heavy CRUD systems** : SQLite faster, but use batch transactions for competitive performance
181- - ** SELECT-only analytics ** : SharpCoreDB 2x faster than LiteDB , SQLite 22x faster
183+ - ** SELECT-only workloads ** : LiteDB 2x faster currently , SQLite 22x faster (Q1 2026 optimization target)
182184- ** Mixed workloads** : Good general-purpose database with analytics acceleration
183185
184186---
@@ -193,6 +195,7 @@ var rows = db.ExecuteQuery("SELECT * FROM users");
193195- ✅ Deferred Index Updates
194196- ✅ WAL Batch Flushing
195197- ✅ Dirty Page Tracking
198+ - ✅ Lock-Free CLOCK Page Cache (replaced LRU, 2-5x better concurrency)
196199
197200### 🔴 Q1 2026 - PRIORITY 1: SELECT & UPDATE Optimization
198201
@@ -301,7 +304,7 @@ MIT License - see [LICENSE](LICENSE) file for details.
301304- ✅ ** Inserts** : Excellent (** 1.64x faster** than LiteDB, ** 6.22x less memory** )
302305- ✅ ** Encryption** : Enterprise-ready (** 0-6% overhead** only)
303306- ✅ ** Batch Transactions** : ** 37.94x faster** for update-heavy workloads
304- - 🟡 ** SELECT** : Good (** 2x faster ** than LiteDB, room for optimization )
307+ - 🟡 ** SELECT** : Needs optimization (** 2x slower ** than LiteDB, optimization planned for Q1 2026 )
305308- 🟡 ** UPDATE** : Solid with batch API (** 37.94x faster** ), optimization planned
306309
307310---
0 commit comments