Improve performance metrics and enhance backup error handling

- Update benchmark results for `full-scan` and `dirty-scan` in `bench/dirty-vs-full.md` to reflect improved performance.
- Refactor error handling in `libmarlin/src/backup.rs` to provide clearer messages when the live database path is missing or invalid.
- Clean up code in `libmarlin/src/backup.rs` for better readability and maintainability.
- Minor adjustments in documentation and test files for consistency.
This commit is contained in:
thePR0M3TH3AN
2025-05-19 22:13:25 -04:00
parent 2f97bd8c3f
commit 9c325366f9
7 changed files with 750 additions and 233 deletions

View File

@@ -1,4 +1,4 @@
| Command | Mean [ms] | Min [ms] | Max [ms] | Relative |
|:---|---:|---:|---:|---:|
| `full-scan` | 477.7 ± 9.7 | 459.8 | 491.2 | 6.72 ± 0.37 |
| `dirty-scan` | 71.1 ± 3.6 | 67.6 | 79.7 | 1.00 |
| `full-scan` | 407.3 ± 3.5 | 402.9 | 412.6 | 6.32 ± 0.38 |
| `dirty-scan` | 64.5 ± 3.8 | 59.2 | 69.8 | 1.00 |