I was expecting most of the time being spent compiling the bridging header, but the Clang compiler doesn't show up in the heaviest trace at all. Instead we are dealing with file system contention while loading Clang modules from the Clang module cache:
Total number in stack (recursive counted multiple, when >=5):
383 stat$INODE64 (in libsystem_kernel.dylib) + 0 [0x7fff6852078c]
349 (anonymous namespace)::RealFileSystem::status(llvm::Twine const&) (in LLDB) + 265 [0x101429ea9]
336 llvm::sys::fs::status(llvm::Twine const&, llvm::sys::fs::file_status&, bool) (in LLDB) + 99 [0x101451d73]
203 llvm::SimpleBitstreamCursor::Read(unsigned int) (in LLDB) + 0 [0x101daeed0]
199 clang::ASTReader::ReadASTCore(llvm::StringRef, clang::serialization::ModuleKind, clang::SourceLocation, clang::serialization::ModuleFile*, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, long long, long, clang::ASTFileSignature, unsigned int) (in LLDB) + 2128 [0x103968cd0]
185 llvm::vfs::FileSystem::exists(llvm::Twine const&) (in LLDB) + 25 [0x101424e89]
179 (anonymous namespace)::RealFileSystem::openFileForRead(llvm::Twine const&) (in LLDB) + 194 [0x10142a062]
179 llvm::sys::fs::openFile(llvm::Twine const&, int&, llvm::sys::fs::CreationDisposition, llvm::sys::fs::FileAccess, llvm::sys::fs::OpenFlags, unsigned int) (in LLDB) + 219 [0x101454c4b]
177 __open (in libsystem_kernel.dylib) + 0 [0x7fff6851faf8]
177 llvm::sys::fs::openFileForRead(llvm::Twine const&, int&, llvm::sys::fs::OpenFlags, llvm::SmallVectorImpl<char>*) (in LLDB) + 48 [0x101452a40]
173 malloc (in libsystem_malloc.dylib) + 21 [0x7fff68593fe5]
171 clang::Preprocessor::Lex(clang::Token&) (in LLDB) + 68 [0x104345db4]
166 llvm::vfs::FileSystem::getBufferForFile(llvm::Twine const&, long long, bool, bool) (in LLDB) + 42 [0x101424d4a]
164 malloc_zone_malloc (in libsystem_malloc.dylib) + 104 [0x7fff6859406a]
162 clang::ASTReader::ReadDeclRecord(unsigned int) (in LLDB) + 1875 [0x1039d1623]
156 clang::ASTDeclReader::Visit(clang::Decl*) (in LLDB) + 21 [0x1039b2b95]
134 clang::ASTReader::ReadControlBlock(clang::serialization::ModuleFile&, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, clang::serialization::ModuleFile const*, unsigned int) (in LLDB) + 5849 [0x103967839]
134 clang::ASTReader::readUnhashedControlBlock(clang::serialization::ModuleFile&, bool, unsigned int) (in LLDB) + 106 [0x1039757ba]
128 clang::ASTReader::ReadControlBlock(clang::serialization::ModuleFile&, llvm::SmallVectorImpl<clang::ASTReader::ImportedModule>&, clang::serialization::ModuleFile const*, unsigned int) (in LLDB) + 3240 [0x103966e08]
125 clang::serialization::ModuleManager::visit(llvm::function_ref<bool (clang::serialization::ModuleFile&)>, llvm::SmallPtrSetImpl<clang::serialization::ModuleFile*>*) (in LLDB) + 1215 [0x103a6107f]
122 szone_malloc_should_clear (in libsystem_malloc.dylib) + 66 [0x7fff685952ae]
119 clang::ASTReader::readUnhashedControlBlockImpl(clang::serialization::ModuleFile*, llvm::StringRef, unsigned int, bool, clang::ASTReaderListener*, bool) (in LLDB) + 610 [0x103975bf2]
118 _platform_memmove$VARIANT$Haswell (in libsystem_platform.dylib) + 0 [0x7fff685d4740]
118 operator new(unsigned long) (in libc++abi.dylib) + 40 [0x7fff65548718]
117 clang::ASTReader::GetDecl(unsigned int) (in LLDB) + 87 [0x103973037]
116 clang::FileManager::getStatValue(llvm::StringRef, llvm::vfs::Status&, bool, std::__1::unique_ptr<llvm::vfs::File, std::__1::default_delete<llvm::vfs::File> >*) (in LLDB) + 182 [0x104393576]
114 llvm::BitstreamCursor::readRecord(unsigned int, llvm::SmallVectorImpl<unsigned long long>&, llvm::StringRef*) (in LLDB) + 0 [0x104488910]
109 free_tiny (in libsystem_malloc.dylib) + 468 [0x7fff68599167]
102 llvm::StringMapImpl::LookupBucketFor(llvm::StringRef) (in LLDB) + 0 [0x101413940]
102 llvm::vfs::RedirectingFileSystem::openFileForRead(llvm::Twine const&) (in LLDB) + 133 [0x101427df5]
101 clang::FileManager::getBufferForFile(clang::FileEntry const*, bool, bool) (in LLDB) + 330 [0x10439450a]
100 clang::HeaderSearch::loadModuleMapFile(clang::DirectoryEntry const*, bool, bool) (in LLDB) + 234 [0x1042ded1a]