mirror of
https://github.com/PR0M3TH3AN/Marlin.git
synced 2025-09-08 23:28:44 +00:00
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:
@@ -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 |
|
||||
|
Reference in New Issue
Block a user