SERVER-138291ClosedFixed
Add microbenchmark for replica set transaction commit with allowEndOfTransaction enabled
h2. Goal Add a C++ microbenchmark that measures the cost allowEndOfTransaction adds to the commit path on a replica set: building and writing the final applyOps entry with the allowEndOfTransaction marker. h2. Proposal * Benchmark the unprepared transaction commit path (OpObserverImpl::onUnpreparedTransactionCommit through to the oplog write) with allowEndOfTransaction off and on. * Vary: ** Collections per transaction: 2, 10, 50 ** Operations per transaction: 1, 100 * Report ti