Skip to content
Snippets Groups Projects
Commit 7346f93be7a4 authored by Raphaël Gomès's avatar Raphaël Gomès
Browse files

revlog: add the glue to use the Rust `InnerRevlog` from Python

The performance of this has been looked at for quite some time, and some
workflows are actually quite a bit faster than with the Python + C code.

However, we are still (up to 20%) slower in some crucial places like cloning
certain repos, log, cat, which makes this an incomplete rewrite. This is
mostly due to the high amount of overhead in Python <-> Rust FFI, especially
around the VFS code. A future patch series will rewrite the VFS code in
pure Rust, which should hopefully get us up to par with current perfomance,
if not better in all important cases.

This is a "save state" of sorts, as this is a ton of code, and I don't want
to pile up even more things in a single review.

Continuing to try to match the current performance will take an extremely
long time, if it's not impossible, without the aforementioned VFS work.
parent 13815c9decd4
No related branches found
No related tags found
4 merge requests!1292Draft: 7.0rc preparation,!1115ci: disable caching of the wheels that get built to save space,!961Introduce a pure Rust VFS,!801Rust inner revlog
Showing
with 2002 additions and 630 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment