Differences between revisions 2 and 3
Revision 2 as of 2016-11-10 14:14:26
Size: 861
Comment: make moinmoin happy
Revision 3 as of 2016-11-22 19:46:20
Size: 1270
Editor: GregorySzorc
Comment: notes on zstd and compression engine api
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
 * A new statistical profiler has been added and made the default profiler for ``--profile``. This profiler gives more accurate results than Python's built-in ``cProfile`` (the previous default) because the profiler overhead is much smaller. The output from ``--profile`` now displays the code hot path by default.  * A new extensible "compression engines" API has been implemented. Support for a new compression format can now be implemented in extensions.
 * zstd - a new and exciting compression engine - is now distributed with Mercurial and built by default
   * Bundles using zstd are faster to create and smaller than zlib bundles
* A new statistical profiler has been added and made the default profiler for ``--profile``. This profiler gives more accurate results than Python's built-in ``cProfile`` (the previous default) because the profiler overhead is much smaller. The output from ``--profile`` now displays the code hot path by default. This allows Mercurial developers to more accurately identify performance problems.

Mercurial 4.1 release

/!\ This is a draft and may not accurately reflect what lands in the 4.1 release.

1. Features

  • A new extensible "compression engines" API has been implemented. Support for a new compression format can now be implemented in extensions.
  • zstd - a new and exciting compression engine - is now distributed with Mercurial and built by default
    • Bundles using zstd are faster to create and smaller than zlib bundles
  • A new statistical profiler has been added and made the default profiler for --profile. This profiler gives more accurate results than Python's built-in cProfile (the previous default) because the profiler overhead is much smaller. The output from --profile now displays the code hot path by default. This allows Mercurial developers to more accurately identify performance problems.

2. Improvements

  • Performance of reading individual revlog entries has been greatly improved. This will be noticeable when performing changelog scans on large repositories (such as when executing certain revsets).
  • The low-level content diffing algorithm is now ~2x faster. Operations that write data to the repository (like commit) can be noticeably faster as a result.

Release4.1 (last edited 2017-03-22 22:21:00 by MartinVonZweigbergk)