sapling/eden
Chad Austin f317c5ac30 add a getpid benchmark and have ProcessId::current use get_cached_pid on unix
Summary:
getpid() is an unconditional syscall on Linux/glibc. Therefore, it
costs about 250 nanoseconds. There are a couple places in EdenFS where
getpid() is an inner-ish loop so use folly::get_cached_pid() instead.

Reviewed By: kmancini

Differential Revision: D42044221

fbshipit-source-id: e9c8f8a00febeaf6c9a0a3481879040d739038f5
2023-07-14 12:14:40 -07:00
..
fs add a getpid benchmark and have ProcessId::current use get_cached_pid on unix 2023-07-14 12:14:40 -07:00
integration Fix use-after-move issue in RocketClientChannel 2023-06-27 20:10:08 -07:00
locale
mononoke Update num_cpus to 1.16.0 2023-07-13 19:19:42 -07:00
scm Back out "phases: recalculate when the associated dag becomes incompatible" 2023-07-14 12:02:13 -07:00
test_support tests: make Windows tests use buck-built hg 2023-06-27 13:11:01 -07:00
test-data test-data: remove snapshot 20190313 2022-02-04 13:50:48 -08:00
testlib Migrate "eden/testlib" from LLVM-12 to LLVM-15 2023-06-17 22:06:53 -07:00
.clang-tidy clang-tidy: disable facebook-hte-ContextDependentStaticInit 2022-11-04 15:33:50 -07:00
.gitignore
.mononoke_test_file test push 2022-01-06 05:57:35 -08:00
Eden.project.toml