Files
papers/zoo-dex/sections/07-performance-evaluation.tex

79 lines
2.0 KiB
TeX

\section{Performance Evaluation}
\label{sec:performance}
\subsection{Matching Engine Throughput}
\begin{table}[t]
\centering
\begin{tabular}{lccc}
\toprule
\textbf{Order Type} & \textbf{Orders/sec} & \textbf{Latency ($\mu$s)} & \textbf{GPU Util} \\
\midrule
Market order & 434M & 0.23 & 92\% \\
Limit order & 380M & 0.31 & 87\% \\
Cancel order & 510M & 0.18 & 78\% \\
Stop-loss & 290M & 0.42 & 81\% \\
\bottomrule
\end{tabular}
\caption{GPU matching engine throughput by order type.}
\label{tab:matching}
\end{table}
\subsection{Slippage Analysis}
\begin{table}[t]
\centering
\begin{tabular}{lccc}
\toprule
\textbf{Trade Size} & \textbf{ZOO/LUX} & \textbf{ZOO/LUSDC} & \textbf{BLG/ZOO} \\
\midrule
\$100 & 0.01\% & 0.01\% & 0.03\% \\
\$1,000 & 0.04\% & 0.05\% & 0.12\% \\
\$10,000 & 0.12\% & 0.14\% & 0.38\% \\
\$100,000 & 0.45\% & 0.52\% & 1.24\% \\
\$1,000,000 & 1.82\% & 2.10\% & 4.87\% \\
\bottomrule
\end{tabular}
\caption{Slippage by trade size for major pairs (February 2026 median).}
\label{tab:slippage}
\end{table}
\subsection{Comparison with Other DEXs}
\begin{table}[t]
\centering
\begin{tabular}{lcccc}
\toprule
\textbf{DEX} & \textbf{TPS} & \textbf{Finality} & \textbf{Slippage (\$10K)} & \textbf{MEV Protected} \\
\midrule
Zoo DEX & 4.76M & 10ms & 0.12\% & \checkmark \\
Uniswap V3 & 15 & 12.8min & 0.30\% & $\times$ \\
dYdX V4 & 10,000 & 1s & 0.08\% & $\times$ \\
Raydium & 2,000 & 400ms & 0.15\% & $\times$ \\
\bottomrule
\end{tabular}
\caption{Zoo DEX vs major decentralized exchanges.}
\label{tab:dex-comparison}
\end{table}
\subsection{Gas Costs}
\begin{table}[t]
\centering
\begin{tabular}{lcc}
\toprule
\textbf{Operation} & \textbf{Gas (precompile)} & \textbf{Gas (Solidity equiv)} \\
\midrule
AMM swap & 28,000 & 180,000 \\
Limit order place & 15,000 & 95,000 \\
Limit order cancel & 8,000 & 52,000 \\
Add liquidity & 45,000 & 280,000 \\
Remove liquidity & 38,000 & 210,000 \\
\bottomrule
\end{tabular}
\caption{Gas costs: precompile vs Solidity equivalent. Precompiles are 5--7$\times$ cheaper.}
\label{tab:gas}
\end{table}