5
0
mirror of git://git.proxmox.com/git/proxmox-backup.git synced 2025-01-05 09:17:59 +03:00
proxmox-backup/pbs-datastore
Gabriel Goller c1689192d9 datastore: use cached snapshot time string in path
When getting the `full_path` of a snapshot we did not use the cached
time string. By using it we avoid a call to the super-slow libc strftime.

This has some minor performance improvements of circa 7%. That is ~100ms
on my datastore with ~5000 snapshots.

Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
2024-07-12 13:41:04 +02:00
..
examples pbs-datastore: clippy fixes 2023-05-17 17:43:17 +02:00
src datastore: use cached snapshot time string in path 2024-07-12 13:41:04 +02:00
Cargo.toml bump sys and rest-server dependencies to 0.6 2024-07-11 16:02:38 +02:00