mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
008167cb0e
Summary: The tree metadata fetching evolution goes as follow (1) (commit, path) scs query (2) tree manifest scs query [we are here] (3) eden api manifest query [in development] Option (1) is no longer used and is the only placed that required scs proxy hash. Removing it will simplify transition from (2) to (3) and also cleans up bunch of unused code. It also comes with minor performance improvement, saving about 5% on file access time. To be precise, this is measured by running fsprobe [this is probably too little to measure in high noise benchmark like running arc focus]: ``` fsprobe.sh run cat.targets --parallel 24 ``` Results: ``` W/ scshash: P24: 0.1044 0.1007 0.1005 (hot) 0.1019 avg W/o scshash: P24: 0.0954 0.0964 0.1008 (hot) 0.0975 avg ``` This performance improvement comes from the fact, that even though scs hash was never created or used, we still attempted to load it from scs table, and even though this load always failed it contributed to execution time. Reviewed By: xavierd Differential Revision: D30942663 fbshipit-source-id: af84f1e5658e7d8d9fb6853cbb88f02b49cd050b |
||
---|---|---|
.. | ||
fs | ||
hg-server | ||
integration | ||
locale | ||
mononoke | ||
scm | ||
test_support | ||
test-data | ||
.gitignore | ||
Eden.project.toml |