Загрузка страницы

"A journey to performance: using Rust in Mercurial" - Raphaël Gomès (LCA 2021 Online)

Raphaël Gomès

https://lca2021.linux.org.au/schedule/presentation/49/

Mercurial is a Distributed Version Control System mainly written in Python.
While it is often the VCS of choice for monorepos for its great scalability,
certain parts remain slower than they should be.
Over the past two years, an effort to rewrite parts of the Mercurial core in
Rust has seen multiple significant wins in performance, even compared to C
implementations.

We will go over the different obstacles that Raphaël and his colleagues at
Octobus faced during the rewrite of the ubiquitous `hg status`, and the
solutions they came up with to make this command (and others) a lot faster.
For example, running `hg status` in a Mozilla working copy moved from 1.1s to
0.04s, a ×25 improvement.

Themes covered include:
- Rust and Python interoperability
- Fast (and slow) Rust datastructures
- Fast directory traversal
- Version control internals
- Append-only binary formats
- Mtime caching
- Safe mmap usage in a concurrent context
- Multithreading
- Unix vs MacOS vs Windows issues

linux.conf.au is a conference about the Linux operating system, and all aspects of the thriving ecosystem of Free and Open Source Software that has grown up around it. Run since 1999, in a different Australian or New Zealand city each year, by a team of local volunteers, LCA invites more than 500 people to learn from the people who shape the future of Open Source. For more information on the conference see https://linux.conf.au/

Produced by Next Day Video Australia: https://nextdayvideo.com.au

#linux.conf.au #linux #foss #opensource

Sun Jan 24 16:40:00 2021 at Rusty R. Hall

Видео "A journey to performance: using Rust in Mercurial" - Raphaël Gomès (LCA 2021 Online) канала linux.conf.au
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
5 февраля 2021 г. 2:28:39
00:45:39
Яндекс.Метрика