Skip to main content
When LaserSell detects an exit condition, the sell transaction needs to be built and returned as fast as possible. Every millisecond of build latency is a millisecond your transaction is not on its way to the network. We open-sourced our transaction build benchmarks so anyone can verify these numbers. The benchmarks compare four methods of building Solana swap transactions: LaserSell API, PumpFun SDK, PumpPortal API, and Jupiter’s Metis API. All benchmarks run 20 iterations with a warmup round, measuring the time from request to receiving an unsigned transaction.

Co-Located Server (Exit Intelligence Stream)

This is the latency that matters for automated exits. When the Exit Intelligence Stream detects that your take profit, stop loss, or trailing stop has been triggered, it calls the LaserSell API over the co-located network to build the sell transaction. The transaction is then returned to your client for signing.

Buy Transaction Build

0.01 SOL buy, 20% slippage, 20 iterations:
MethodAvgMinMaxMedian
LaserSell API4.53 ms3.39 ms6.84 ms4.10 ms
PumpPortal API65.24 ms26.18 ms264.29 ms46.34 ms
Jupiter Metis API95.03 ms79.30 ms115.76 ms93.73 ms
PumpFun SDK123.34 ms103.46 ms208.71 ms118.24 ms

Sell Transaction Build

1,000,000 tokens, 20% slippage, 20 iterations:
MethodAvgMinMaxMedian
LaserSell API5.32 ms3.38 ms15.03 ms4.46 ms
PumpPortal API80.74 ms27.75 ms576.28 ms38.18 ms
PumpFun SDK120.81 ms96.53 ms143.23 ms121.65 ms
Jupiter Metis API168.84 ms159.10 ms177.35 ms169.11 ms
On the co-located path, LaserSell builds transactions in under 5 ms on average. The next fastest method is over 12x slower. This is the path used by the Exit Intelligence Stream for automated exits.

Public Internet (SDK and API)

Standard API latency over the public internet, measured from a MacBook Pro. This represents the latency experienced by developers making direct REST API calls from their own applications. Desktop App users do not experience these numbers. The Desktop App receives pre-built exit transactions through the Exit Intelligence Stream, which builds transactions on the co-located path (the sub-5ms numbers above) and pushes them to the client over a persistent WebSocket connection.

Buy Transaction Build

0.01 SOL buy, 20% slippage, 20 iterations:
MethodAvgMinMaxMedian
LaserSell API71.21 ms62.77 ms81.30 ms71.16 ms
PumpPortal API151.08 ms120.96 ms246.40 ms141.44 ms
Jupiter Metis API179.83 ms153.17 ms370.01 ms168.11 ms
PumpFun SDK790.94 ms278.57 ms4,570.26 ms364.92 ms

Sell Transaction Build

1,000,000 tokens, 20% slippage, 20 iterations:
MethodAvgMinMaxMedian
LaserSell API74.77 ms65.13 ms108.67 ms71.72 ms
PumpPortal API152.08 ms111.91 ms554.96 ms120.59 ms
Jupiter Metis API181.73 ms155.88 ms222.54 ms174.92 ms
PumpFun SDK541.00 ms277.65 ms2,029.10 ms317.28 ms
Over the public internet, LaserSell is consistently the fastest with the tightest variance. The PumpFun SDK shows the most volatility, with worst-case latencies exceeding 4 seconds on buys and 2 seconds on sells. These numbers are relevant for SDK and API integrators building their own tools.

What is Being Compared

Each method takes a different approach to building a swap transaction:
MethodApproach
LaserSell APISingle API call. The server builds the full transaction and returns it ready to sign.
PumpFun SDKLocal build. Makes multiple RPC calls to fetch on-chain state, then assembles instructions locally.
PumpPortal APISingle API call to PumpPortal.
Jupiter Metis APITwo API calls. First a quote request, then a swap build request.
LaserSell’s single-call architecture eliminates round trips, which is why it consistently outperforms multi-step approaches.

Why This Matters

In automated trading, transaction build latency directly affects execution quality. When a memecoin starts dumping, the difference between a 5 ms build and a 170 ms build can determine whether your exit lands in the same block as the trigger or several blocks later, after the price has already moved further against you. For the Exit Intelligence Stream, this means your automated exits fire with minimal overhead between detection and broadcast. For SDK and API users building their own tools, it means faster round trips and more responsive applications.

Run the Benchmarks Yourself

The benchmarks are open source. Clone the repository and run them against your own infrastructure:
git clone https://github.com/lasersell/benchmarks
cd benchmarks

# Buy transaction build
cd buy-tx-build
npm install && npm run build
npm run bench

# Sell transaction build
cd ../sell-tx-build
npm install && npm run build
npm run bench
You will need a LaserSell API key (free at app.lasersell.io), a Solana RPC URL, and a Pump.fun token mint address. See the repository README for full configuration options.