SERVER-137027ClosedFixed
ObservableMutex's Timer::getTime() performs a syscall on non-x86 and non-arm64 builds
As seen in HELP-101554, for non-x86 and non-arm64 builds, Timer::getTime() in {{ObservableMutex}} [calls std::clock()|https://github.com/10gen/mongo/blob/6b5787c43d011981395c54179e4017f3c230a526/src/mongo/util/observable_mutex.h#L61] which performs a syscall which has performance implications. This was flagged by a customer's performance testing running on s390x which showed significant regressions when upgrading to 8.0.30, the first 8.0 version containing ObservableMutex. Flamegraphs from th