Skip to content

Commit 57de8b0

Browse files
authored
Update README.md
1 parent cfd0c63 commit 57de8b0

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

README.md

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Comparisons.PostgreSQLVSDoublets
22

3-
The comparison between PostgreSQL and LinksPlatform's Doublets (links) on basic database operations with objects (create table, read table, delete table, update table).
4-
All benchmarks ran with 3000 links in background and 1000 in active use (i.e. insert, delete, update).
3+
The comparison between PostgreSQL and LinksPlatform's Doublets (links) on basic database operations with links (create, read, delete, update).
4+
All benchmarks ran with 3000 links in background to increase size of indexes and 1000 are actively created/updated/deleted.
5+
6+
In this particular benchmark we decided not to increase the number of links as PostgreSQL will not be able to handle it at all in reasonable time. Remember that to get accurate result we ran this benchmark multiple times.
57

68
## Operations
79
- **Update** – basic update operation
@@ -15,12 +17,15 @@ All benchmarks ran with 3000 links in background and 1000 in active use (i.e. in
1517

1618
## Results
1719
The results below represent the amount of time (ns) the operation takes per iteration.
18-
- First picture shows time in a pixel scale.
19-
- Second picture shows time in a logarithmic scale.
20+
- First picture shows time in a pixel scale (for doublets just minimum value is shown, otherwise it will be not present on the graph).
21+
- Second picture shows time in a logarithmic scale (to see diffrence clearly, because it is around 2-3 orders of magnitude).
2022

2123
### Rust
2224
![Image of Rust benchmark (pixel scale)](https://github.com/linksplatform/Comparisons.PostgreSQLVSDoublets/blob/gh-pages/Docs/bench_rust.png?raw=true)
2325
![Image of Rust benchmark (log scale)](https://github.com/linksplatform/Comparisons.PostgreSQLVSDoublets/blob/gh-pages/Docs/bench_rust_log_scale.png?raw=true)
2426

2527
## Conclusion
26-
As we can see in this comparison, Doublets are blazingly faster than PostgreSQL in basic database operations.
28+
29+
As we can see in this comparison, Doublets are around 200+ faster than PostgreSQL in write operations, and 1000+ faster in read operations.
30+
31+
To get fresh numbers, please fork the repository and rerun benchmark in GitHub Actions.

0 commit comments

Comments
 (0)