WT-5754 introduced expensive global visibility check, __wt_txn_visible_all() of the values being read in __inmem_row_leaf(). This causes a regression in the following workloads:
| workload | Regression with visibility check | Regression without visibility check |
|---|---|---|
| medium-btree.wtperf | 20% | 12% |
| evict-btree.wtperf | 21% | 13% |