It definitely would, but the real challenge is twofold:
- Atuin does real-time sync, meaning that anything you do locally gets reflected near-instantly on any other machine you have.
- Atuin does end-to-end encryption, which means that we actually need to do an absurdly larger amount of work compared to an rsynced histfile in order to get your history in a format that's locally decrypted.
Certainly, these things are possible with a VCS, but I suspect that meeting these two criteria with an rsynced encrypted file would land on more-or-less the same performance order-of-magnitude!
Yeah, it's surprising that the numbers are this low, at the end of the day, but sync for Atuin unfortunately isn't equivalent to rsync.
We actually need to decrypt data that comes from the sync server, since everything is end-to-end encrypted and that's actually where the majority of CPU time is spent!
As another commenter mentioned, the data is not distributed, but lives on a central server (which either you host our you use our official one).
https://deepwiki.com/atuinsh/atuin/3.3-synchronization-syste...
https://docs.atuin.sh/main/reference/sync/