From 3c776e4c963c6aae96f7a2d63f61e62dc1a5f9b8 Mon Sep 17 00:00:00 2001 From: Ahmed Yasin Koculu Date: Wed, 25 Dec 2024 02:09:26 +0100 Subject: [PATCH] Update docs. --- README.md | 1 - src/ZoneTree/docs/ZoneTree/README-NUGET.md | 1 - .../docs/ZoneTree/guide/performance.md | 32 ++++++++++--------- 3 files changed, 17 insertions(+), 17 deletions(-) diff --git a/README.md b/README.md index f014e2e..7032cdb 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,6 @@ ZoneTree sets new standards in database performance, showcasing remarkable speed | **str-str ZoneTree sync-compressed WAL** | 1752 ms | 3397 ms | 5070 ms | 19153 ms | | **str-str ZoneTree sync WAL** | 3488 ms | 7002 ms | 10483 ms | 38727 ms | | | | | | | -| **RocksDb sync WAL (10K => 11 sec)** | ~1,100,000 ms | N/A | N/A | N/A | | **int-int RocksDb sync-compressed WAL** | 8059 ms | 16188 ms | 23599 ms | 61947 ms | | **str-str RocksDb sync-compressed WAL** | 8215 ms | 16146 ms | 23760 ms | 72491 ms | diff --git a/src/ZoneTree/docs/ZoneTree/README-NUGET.md b/src/ZoneTree/docs/ZoneTree/README-NUGET.md index 524d8b7..fbadbd8 100644 --- a/src/ZoneTree/docs/ZoneTree/README-NUGET.md +++ b/src/ZoneTree/docs/ZoneTree/README-NUGET.md @@ -76,7 +76,6 @@ ZoneTree sets new standards in database performance, showcasing remarkable speed | **str-str ZoneTree sync-compressed WAL** | 1752 ms | 3397 ms | 5070 ms | 19153 ms | | **str-str ZoneTree sync WAL** | 3488 ms | 7002 ms | 10483 ms | 38727 ms | | | | | | | -| **RocksDb sync WAL (10K => 11 sec)** | ~1,100,000 ms | N/A | N/A | N/A | | **int-int RocksDb sync-compressed WAL** | 8059 ms | 16188 ms | 23599 ms | 61947 ms | | **str-str RocksDb sync-compressed WAL** | 8215 ms | 16146 ms | 23760 ms | 72491 ms | diff --git a/src/ZoneTree/docs/ZoneTree/guide/performance.md b/src/ZoneTree/docs/ZoneTree/guide/performance.md index d805f84..6f4adc4 100644 --- a/src/ZoneTree/docs/ZoneTree/guide/performance.md +++ b/src/ZoneTree/docs/ZoneTree/guide/performance.md @@ -1,26 +1,27 @@ [![Downloads](https://img.shields.io/nuget/dt/ZoneTree?style=for-the-badge&labelColor=319e12&color=55c212)](https://www.nuget.org/packages/ZoneTree/) [![ZoneTree](https://img.shields.io/github/stars/koculu/ZoneTree?style=for-the-badge&logo=github&label=github&color=f1c400&labelColor=454545&logoColor=ffffff)](https://github.com/koculu/ZoneTree) ## How fast is it? + It is possible with ZoneTree to insert 100 Million integer key-value pairs in 20 seconds using WAL mode = NONE. Benchmark for all modes: [benchmark](https://raw.githubusercontent.com/koculu/ZoneTree/main/src/Playground/BenchmarkForAllModes.txt) -| Insert Benchmarks | 1M | 2M | 3M | 10M | -| ------------------------------------------------|---------|----------|------------|------------| -| int-int ZoneTree async-compressed WAL | 267 ms | 464 ms | 716 ms | 2693 ms | -| int-int ZoneTree sync-compressed WAL | 834 ms | 1617 ms | 2546 ms | 8642 ms | -| int-int ZoneTree sync WAL | 2742 ms | 5533 ms | 8242 ms | 27497 ms | -|| -| str-str ZoneTree async-compressed WAL | 892 ms | 1833 ms | 2711 ms | 9443 ms | -| str-str ZoneTree sync-compressed WAL | 1752 ms | 3397 ms | 5070 ms | 19153 ms | -| str-str ZoneTree sync WAL | 3488 ms | 7002 ms | 10483 ms | 38727 ms | -|| -| RocksDb sync WAL (10K => 11 sec) | ~1.100.000 ms | N/A | N/A | N/A | -| int-int RocksDb sync-compressed WAL | 8059 ms | 16188 ms | 23599 ms | 61947 ms | -| str-str RocksDb sync-compressed WAL | 8215 ms | 16146 ms | 23760 ms | 72491 ms | -|| +| Insert Benchmarks | 1M | 2M | 3M | 10M | +| ------------------------------------- | ------- | -------- | -------- | -------- | +| int-int ZoneTree async-compressed WAL | 267 ms | 464 ms | 716 ms | 2693 ms | +| int-int ZoneTree sync-compressed WAL | 834 ms | 1617 ms | 2546 ms | 8642 ms | +| int-int ZoneTree sync WAL | 2742 ms | 5533 ms | 8242 ms | 27497 ms | +| | +| str-str ZoneTree async-compressed WAL | 892 ms | 1833 ms | 2711 ms | 9443 ms | +| str-str ZoneTree sync-compressed WAL | 1752 ms | 3397 ms | 5070 ms | 19153 ms | +| str-str ZoneTree sync WAL | 3488 ms | 7002 ms | 10483 ms | 38727 ms | +| | +| int-int RocksDb sync-compressed WAL | 8059 ms | 16188 ms | 23599 ms | 61947 ms | +| str-str RocksDb sync-compressed WAL | 8215 ms | 16146 ms | 23760 ms | 72491 ms | +| | Benchmark Configuration: + ```c# DiskCompressionBlockSize = 1024 * 1024 * 10; WALCompressionBlockSize = 1024 * 32 * 8; @@ -34,10 +35,11 @@ According to our tests, ZoneTree is stable and fast even with big data. Tested up to 1 billion records in desktop computers till now. ### Environment: + ``` BenchmarkDotNet=v0.13.1, OS=Windows 10.0.22000 Intel Core i7-6850K CPU 3.60GHz (Skylake), 1 CPU, 12 logical and 6 physical cores 64 GB DDR4 Memory SSD: Samsung SSD 850 EVO 1TB Config: 1M mutable segment size, 2M readonly segments merge-threshold -``` \ No newline at end of file +```