1
Fork 0
mirror of https://github.com/RGBCube/dix synced 2025-07-30 05:07:45 +00:00
Commit graph

19 commits

Author SHA1 Message Date
e6b8f7b3a7 feat: better lib, expose more behaviour for external use, deduplication 2025-05-09 18:12:07 +00:00
021c972a0f chore: remove rustc-hash dependency, not much overhead 2025-05-09 15:53:19 +00:00
70d4042a56 chore: delete benches 2025-05-09 15:53:19 +00:00
baaf63fdf2 feat: write rest of main 2025-05-09 15:53:19 +00:00
07dd524d30 feat: diff printing 2025-05-09 15:53:19 +00:00
faa6634142 wip: compiles 2025-05-09 15:53:19 +00:00
db09147da6 feat: refactor store.rs 2025-05-09 15:53:19 +00:00
Dragyx
5e317983c2
Benches - criterion benchmarks (#5)
* split crate into library and binary

criterion can not benchmark binary crates

* Add store benchmarks

* Add more, not reproducible benchmarks

The benchmarks are currently hardcoded to use a specific system
on my computer. To run the tests yourself, change QUERY_DERIV__OLD in
benches/common.rs

In the future, I would like to pull a specific copy of the
nixos sqlite db from e.g. a github repo to make the benchmarks
reproducible

* Do not hardcode system derivations to use in benchmars

By default, the oldest system is compared to the current system

A specific system can be specified using environment variables (see
benches/common.rs)
2025-05-08 18:23:18 +02:00
Bloxx12
54d47402fe
chore: rename to dix 2025-05-07 11:34:50 +02:00
Bloxx12
0d47c30b54
colored diffing 2025-05-06 19:10:21 +02:00
Dragyx
eee8c920a7 remove bloated dependency sqlx, switch to libsqlite3-sys
sqlx is way to large for this utility and also async,
which we currently do not use
2025-05-06 01:15:58 +02:00
Dragyx
783f180716 proof of concept direct query with sqlx 2025-05-05 17:42:38 +02:00
Bloxx12
f50cf38e37 chore: rename to nix-diff 2025-05-05 14:20:54 +02:00
NotAShelf
f52281d691
main: separate logging channels via log crate 2025-05-05 02:30:46 +03:00
NotAShelf
dde5723cee
refactor: implement thiserror for better error handling 2025-05-05 02:11:18 +03:00
Bloxx12
65a8d85114
switch to yansi 2025-05-04 23:45:24 +02:00
Bloxx12
2893509d42
src/main.rs: add coloring 2025-05-04 18:13:00 +02:00
Bloxx12
289881373a
first working version 2025-05-04 18:13:00 +02:00
Bloxx12
6ed66b4351
initial commit 2025-05-04 18:12:59 +02:00