From c3db03fe4c51b9fce79be26e2821e3bf0f18f096 Mon Sep 17 00:00:00 2001 From: MrBounty Date: Thu, 23 Jan 2025 17:31:55 +0100 Subject: [PATCH] Small doc update --- docs/Benchmark.md | 8 ++++++++ docs/index.md | 7 +++++-- docs/ziql/add.md | 2 -- 3 files changed, 13 insertions(+), 4 deletions(-) diff --git a/docs/Benchmark.md b/docs/Benchmark.md index 8eab05b..2f125b3 100644 --- a/docs/Benchmark.md +++ b/docs/Benchmark.md @@ -53,8 +53,16 @@ Duration: 93.530622 ms ===================================== ``` +## Cloud + +I started to benchmark using fly.io + +Using a 1x shared cpu I get around 40ms to parse and write 5000 users, not bad. + ## File Parsing +The majority of time taken by query come more from writting the response rather than parsing files. + In this example I create a random dataset of Users using this schema: ```lua User ( diff --git a/docs/index.md b/docs/index.md index 6e35a57..0554b92 100644 --- a/docs/index.md +++ b/docs/index.md @@ -19,27 +19,30 @@ --- -ZipponDB is a relational database built from the ground up in Zig, with zero external dependencies. Designed for simplicity, +ZipponDB is a database built from the ground up in Zig, with zero external dependencies. Designed for simplicity, performance, and portability, it's almost usable for small to medium applications that want a quick and simple database. ## Key Features -* **Small:** Binary is small, ~200kb for small and ~3Mb for fast. +* **Small Binary:** ~300kb. * **Fast:** Parse millions of entities in milliseconds. * **Relationship:** Build with focus on easy relationship. * **Query Language:** Use it's own simple query language. * **No dependencies:** Depend on nothing, every line of code running is in the codebase and written for ZipponDB. * **Open-source:** Open-source under MIT licence. * **Portable:** Easily compiled and deployed across various platforms.* +* **Low memory and safe:** Low memory footprint. (~8Mb / 100k entities)**. * Plan for more platforms like arm, 32 bit system. +** Plan for optimizations. ### After * **Interface:** Small package to interact with ZipponDB from different programming language. * **Single file:** Like SQLite, ZipponDB's database aim to be a single file. * **Schema migration:** Update dynamically database schema. +* **Custom index:** Speed up query with custom indexing. * **Safety and Performance:** Improve general safty and performance. More info in the Roadmap. diff --git a/docs/ziql/add.md b/docs/ziql/add.md index 8d35d9e..dd83b18 100644 --- a/docs/ziql/add.md +++ b/docs/ziql/add.md @@ -27,8 +27,6 @@ ADD User ('Bob2', 33, 'bob2@email.com', []) ``` -## Soon - * Default value * Array default is empty * Link default is none