Mercurial > hg
view mercurial/templates/spartan/filelog.tmpl @ 52167:7346f93be7a4
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.
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Wed, 19 Jun 2024 19:10:49 +0200 |
parents | 1cac419ab831 |
children |
line wrap: on
line source
{header} <title>{repo|escape}: {file|escape} history</title> <link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}"> <link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log/tip/{file|urlescape}" title="RSS feed for {repo|escape}:{file}"> </head> <body> <div class="buttons"> <a href="{url|urlescape}log{sessionvars%urlparameter}">changelog</a> <a href="{url|urlescape}shortlog{sessionvars%urlparameter}">shortlog</a> <a href="{url|urlescape}graph{sessionvars%urlparameter}">graph</a> <a href="{url|urlescape}tags{sessionvars%urlparameter}">tags</a> <a href="{url|urlescape}branches{sessionvars%urlparameter}">branches</a> <a href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">file</a> <a href="{url|urlescape}annotate/{symrev}/{file|urlescape}{sessionvars%urlparameter}">annotate</a> <a href="{url|urlescape}help{sessionvars%urlparameter}">help</a> <a type="application/rss+xml" href="{url|urlescape}rss-log/tip/{file|urlescape}">rss</a> <a type="application/atom+xml" href="{url|urlescape}atom-log/tip/{file|urlescape}" title="Atom feed for {repo|escape}:{file}">atom</a> </div> <h2><a href="/">Mercurial</a> {pathdef%breadcrumb} / {file|escape} revision history</h2> <p>navigate: <small class="navigate">{nav%filenav}</small></p> {entries%filelogentry} {footer}