A Scalable, User-Friendly Source Control System.
Go to file
David Budischek ff5c92b653 Add performance counters to analyse is_ancestor
Summary:
Is_ancestor was inexplicably slow so I added a few perf counters to it. The slowness should be fixed with D14540318.

This will only add the most important perf counters as I have seen some slow down when adding more.

I also changed the param naming from maybe_ancestor to ancestor. The maybe is implied through the method name being is_ancestor. This change also brings skiplist in line with apiserver

What will we log:
Ancestor/Descendant Generation
skip/noskip iterations
skipped generations

Reviewed By: StanislavGlebik

Differential Revision: D14085659

fbshipit-source-id: e0c7d34ed218e94c2c5a39f98d3c0b3d4265214f
2019-03-22 06:30:32 -07:00
apiserver Add performance counters to analyse is_ancestor 2019-03-22 06:30:32 -07:00
async-compression Revert D13575719: [tp2] Update zstd to 1.3.8 as 1.3.x 2019-01-23 18:18:55 -08:00
asyncmemo rust/stats: don't require users to import lazy_static 2018-12-02 14:34:39 -08:00
blobimport_lib/src mononoke: do not upload same bookmark twice in blobimport 2019-02-11 05:50:55 -08:00
blobrepo mononoke: Allow dynamic repo read_only mode 2019-03-18 08:53:53 -07:00
blobrepo_utils mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
blobstore mononoke/glusterblob: use symlinks rather than relying on rename 2019-03-11 14:02:28 -07:00
blobstore_sync_queue mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
bonsai_hg_mapping mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
bonsai_utils mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
bookmarks scratch bookmarks: initial table change 2019-03-22 05:14:43 -07:00
bundle2_resolver mononoke: Add lock reason to RepoReadOnly type 2019-03-20 13:45:44 -07:00
bytes-ext add cargo build support for local development 2018-02-22 04:30:32 -08:00
cache_warmup/src mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
changesets mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
cmdlib/src mononoke: add hg sync counter manipulations to the admin tool 2019-03-16 05:20:32 -07:00
cmds Switch to skiplist with shorter jumps 2019-03-22 05:32:03 -07:00
common unify lz4 compression with hg 2019-02-21 06:27:53 -08:00
failure_ext failure_ext: add SlogKVErrorKey enum to better handle SlogKVError handling 2019-02-20 08:52:09 -08:00
filenodes mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
futures-ext Ignore flaky test asynchronize_parallel from futures-ext 2019-02-12 15:27:22 -08:00
hgcli hooks/verify_integrity: pass username and ssh env variables from CoreContext to verify_integrity.py 2019-03-11 10:43:50 -07:00
hgproto mononoke: getpackv1 params parsing 2019-03-11 07:17:07 -07:00
hook_tailer mononoke: remove HgNodeHash from hook_tailer 2019-03-14 14:22:08 -07:00
hooks Block non fastforward bookmark moves 2019-03-18 04:12:09 -07:00
mercurial mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
mercurial_bundles mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
mercurial_types types: rename LooseHistoryEntry and PackHistoryEntry 2019-03-18 19:49:12 -07:00
metaconfig mononoke: Add lock reason to RepoReadOnly type 2019-03-20 13:45:44 -07:00
mononoke_api/src mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
mononoke_types mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
netstring rust/netstring: convert to Rust 2018 2019-02-12 08:43:24 -08:00
phases mononoke: save bundles for replay 2019-02-11 05:50:55 -08:00
py_tar_utils move tar_utils.py from update_rust into an open sourceable location 2017-09-14 13:52:23 -07:00
reachabilityindex Add performance counters to analyse is_ancestor 2019-03-22 06:30:32 -07:00
ready_state/src server: split server binary crate into 4 separate crates 2018-07-17 04:54:58 -07:00
repo_client mononoke: fetch all params in getpackv1 before responding 2019-03-21 14:01:07 -07:00
revset mononoke: fix computing of changed files 2019-03-08 06:28:49 -08:00
server mononoke: Add lock reason to RepoReadOnly type 2019-03-20 13:45:44 -07:00
sshrelay hooks/verify_integrity: pass username and ssh env variables from CoreContext to verify_integrity.py 2019-03-11 10:43:50 -07:00
tests add logic for safe switching cloud sync between Mercurial and Mononoke and back 2019-03-21 09:02:07 -07:00
.gitignore add .gitignore 2018-03-13 11:58:20 -07:00
.travis.yml Add travis-CI integration by adding .travis.yml file. 2018-07-26 10:09:32 -07:00
Cargo.toml mononoke: rename crates to contain underscores instead of dashes 2019-03-06 07:18:28 -08:00
CONTRIBUTING.md Initial commit 2017-07-27 18:00:19 -07:00
LICENSE Initial commit 2017-07-27 18:00:19 -07:00
packman.yml fb-mononoke-admin: scm/mononoke/packman.yml: add 'packager: ONCALL' line (trivial) 2019-03-12 19:15:27 -07:00
README.md mention in README that Mononoke supports Mercurial 2017-07-28 14:41:37 -07:00
rustfmt.toml Back out D13589633 "revert D13584553, D13175922, D13166085 to fix rust builds" 2019-01-09 13:31:19 -08:00

Mononoke

Mononoke is a next-generation server for the Mercurial source control system, meant to scale up to accepting thousands of commits every hour across millions of files. It is primarily written in the Rust programming language.

Caveat Emptor

Mononoke is still in early stages of development. We are making it available now because we plan to start making references to it from our other open source projects such as Eden.

The version that we provide on GitHub does not build yet.

This is because the code is exported verbatim from an internal repository at Facebook, and not all of the scaffolding from our internal repository can be easily extracted. The key areas where we need to shore things up are:

  • Full support for a standard cargo build.
  • Open source replacements for Facebook-internal services (blob store, logging etc).

The current goal is to get Mononoke working on Linux. Other Unix-like OSes may be supported in the future.