Solana
SOL$72.08-1.6%'s Direct Mapping upgrade now has its first mainnet measurement, and one program stands far apart from the rest. In a Solana Foundation analysis published on 2 December 2026, Umberto Natale found that Phoenix Perp's median transaction execution time fell 46% after Direct Mapping activated, against 3 to 4% for the five other programs he compared.
Across all programs, the analysis associates each additional mebibyte (MiB, about 1.05 million bytes) of account data passed to programs with about 44 microseconds more execution time saved, rising to about 50 microseconds per MiB above 1 MiB. The figures come from a single Firedancer validator, and they measure how long that validator spent executing each transaction.
Natale framed the work as an answer to an open question. In a thread introducing the post, he asked whether Direct Mapping had introduced "hidden" optimizations "not visible on-chain", writing that the question "has sparked a heated discussion, leaving some doubts for the ecosystem."
What Solana Direct Mapping changed for account data
Direct Mapping stops Solana validators copying account data in and out of a program's workspace. Until November 2026, the validator copied each account's data into the program's virtual machine before the program ran and copied it back afterwards, and calls from one program to another (cross-program invocations, or CPIs) repeated the process, according to the Foundation's Direct Mapping upgrade guide. One instruction could copy the same account data up to four times, the guide says. Now the program reads and writes the data where it already sits in validator memory, and the runtime checks every access as it happens.
Natale's analogy is a family photo album. Before, swapping one picture meant resending all 2,000 photos; with Direct Mapping, everyone edits the same shared album. The bigger the account, and the more often it is handed to a program, the more copying disappears.
The upgrade shipped as two switches. Per the guide, the access checks (virtual_address_space_adjustments) activated at the start of epoch 1096 on 24 November 2026, and the removal of the copies (account_data_direct_mapping) at the start of epoch 1097 on 25 November. Anza and the Firedancer team split the original proposal so each part could ship and be tested on its own. We covered the run-up in our preview of the epoch 1097 activation.
How the Foundation timed transactions on a Firedancer validator
The Foundation timed transactions on one mainnet Firedancer machine, one of the validators that run Solana, across 748 slots in epoch 1096 and 748 slots in epoch 1098. Natale recorded the time from execution start to commit start for each successful transaction, including any calls it made to other programs. He used Firedancer because its per-transaction timings are easy to retrieve, and kept to one validator because execution time varies between validators even for similar work.
Because the "before" sample comes from epoch 1096, it already ran under the new access checks. The comparison with epoch 1098 therefore isolates the switch that removed the copies.
To compare like with like, transactions were grouped by main program, main instruction, how the target program was called, and a 10% band of compute units (CU, Solana's measure of how much computation a transaction uses), with each group weighted by its transaction count in the smaller period. The post acknowledges the "modest sample size". It is a before-and-after comparison on one machine, and the post reports its findings as associations with Direct Mapping.
Why Phoenix Perp's order book transactions sped up the most
The post traces Phoenix Perp's result to the shape of its transactions. In the example transaction it cites, three separate instructions each pass Phoenix the same two large accounts: the Perp Asset Map, measured at 1,622,064 bytes, and the Orderbook, at 1,185,216 bytes. That is 2,807,280 bytes per instruction and 8,421,840 bytes across the transaction, with every handoff a chance to copy those bytes again before Direct Mapping.
The post treats this as the pattern of a trading engine that repeatedly passes large market accounts between instructions. The Foundation's guide says instructions that make CPIs or touch large accounts save the most, and Phoenix Perp transactions touch large accounts several times over. For a trading engine that does relatively little computation, Natale writes, copying those accounts "can take up a meaningful share of execution time."
Execution time saved per MiB of account data passed
Across programs, the time saved follows the amount of account data passed, while the percentage depends on how much else a transaction does. Holding the data fixed at 1,624,828 bytes, the post compared light and heavy transactions:
| Transactions passing 1,624,828 bytes | Median before (ms) | Median after (ms) | Change |
|---|---|---|---|
| About 13,000 CU | 0.130 | 0.062 | -52.5% |
| About 187,000 CU | 0.699 | 0.637 | -8.8% |
Both groups saved a similar absolute amount, 0.068 and 0.061 milliseconds. The compute-heavy transactions took longer to begin with, so the same saving shows up as a much smaller percentage. Natale's summary is that gains on an average transaction "are hidden by other CU-expensive tasks".
Fitting all 4,769 matched groups, the analysis associates each additional MiB of account data with 0.0438 milliseconds (about 44 microseconds) more time saved. Among the 229 groups above 1 MiB, the estimate rises to 0.0495 milliseconds (about 50 microseconds) per MiB, and the relationship is tighter.
What faster execution means for Solana traders and builders
For traders, the gain sits inside the validator. The post says orders "can execute faster once they reach the validator", and that confirmation time is a separate question. The Foundation's upgrade guide says wallets, balances, fees and confirmation times are unaffected.
For builders, the results point to where the copy costs sat. In the post's data, engines that repeatedly pass large market accounts with modest computation show the biggest relative gain, a profile that fits Solana's on-chain order book venues such as Phoenix (our Solana perps guide compares the venues). Compute-heavy transactions saved similar absolute time but a far smaller share. For validator and client teams, the post says the overall gain depends on the transaction mix.
Two things are worth watching. A larger sample, or timings from more validators and from other client software, would show how far the Phoenix Perp pattern holds. And the guide lists a follow-on change that Direct Mapping unblocks, raising the limit on nested program calls from four to eight (SIMD-0268), to activate after Direct Mapping. No mainnet date has been announced for it.