Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/linksplatform/comparisons.postgresqlvsdoublets
The comparison between PostgreSQL and Doublets
https://github.com/linksplatform/comparisons.postgresqlvsdoublets
Last synced: about 2 months ago
JSON representation
The comparison between PostgreSQL and Doublets
- Host: GitHub
- URL: https://github.com/linksplatform/comparisons.postgresqlvsdoublets
- Owner: linksplatform
- License: unlicense
- Created: 2021-08-27T14:25:54.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-05T00:52:20.000Z (9 months ago)
- Last Synced: 2024-04-16T00:51:28.764Z (9 months ago)
- Language: C++
- Homepage:
- Size: 769 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Comparisons.PostgreSQLVSDoublets
The comparison between PostgreSQL and LinksPlatform's Doublets (links) on basic database operations with objects (create table, read table, delete table, update table).
All benchmarks ran with 3000 links in background and 1000 in active use (i.e. insert, delete, update).## Operations
- **Update** – basic update operation
- **Each All** – take all links matching `[*, *, *]` constraint
- **Each Incoming** – take all links matching `[*, *, target]` constraint
- **Each Outgoing** – take all links matching `[*, source, *]` constraint
- **Each Concrete** – take all links matching `[*, source, target]` constraint
- **Each Identity** – take all links matching `[id, *, *]` constraint
- **Delete** – basic delete operation
- **Create** – insert point (link with id = source = target)## Results
The results below represent the amount of time (ns) the operation takes per iteration.
- First picture shows time in a pixel scale.
- Second picture shows time in a logarithmic scale.### Rust
![Image of Rust benchmark (pixel scale)](https://github.com/linksplatform/Comparisons.PostgreSQLVSDoublets/blob/gh-pages/Docs/bench_rust.png?raw=true)
![Image of Rust benchmark (log scale)](https://github.com/linksplatform/Comparisons.PostgreSQLVSDoublets/blob/gh-pages/Docs/bench_rust_log_scale.png?raw=true)## Conclusion
As we can see in this comparison, Doublets are blazingly faster than PostgreSQL in basic database operations.