mirror of
https://github.com/lux-apps/papers.git
synced 2026-10-30 18:15:21 +00:00
Restructured from flat .tex/.pdf files into per-paper subdirectories. Added Antje Worring as co-author on all papers. Synced PDFs to pdfs/ for download site.
46 lines
1.2 KiB
TeX
46 lines
1.2 KiB
TeX
\section{Performance Metrics}
|
|
|
|
|
|
Measuring system performance across multiple dimensions provides insights into effectiveness.
|
|
|
|
\subsection{Challenge Success Rate}
|
|
|
|
In a well-functioning system:
|
|
|
|
\begin{equation}
|
|
\text{ChallengeRate} = \frac{\text{Successful Challenges}}{\text{Total Assertions}} \approx 0
|
|
\end{equation}
|
|
|
|
Non-zero rates indicate either bugs or attacks.
|
|
|
|
\subsection{Average Finality Time}
|
|
|
|
Including challenge periods:
|
|
|
|
\begin{equation}
|
|
\bar{T}_{\text{finality}} = \tau + P(\text{challenge}) \times T_{\text{resolution}}
|
|
\end{equation}
|
|
|
|
For Lux with adaptive periods, this ranges from hours to days depending on stake and history.
|
|
|
|
\subsection{Gas Cost Analysis}
|
|
|
|
Total gas costs for dispute resolution:
|
|
|
|
\begin{equation}
|
|
\text{Gas}_{\text{total}} = \sum_{i=1}^{\log n} \text{Gas}_{\text{bisection}}(i) + \text{Gas}_{\text{one-step}}
|
|
\end{equation}
|
|
|
|
Typically 5-10 million gas for full dispute resolution.
|
|
|
|
\subsection{Throughput Improvement}
|
|
|
|
Rollup throughput compared to L1:
|
|
|
|
\begin{equation}
|
|
\text{Speedup} = \frac{\text{TPS}_{\text{rollup}}}{\text{TPS}_{\text{L1}}} = \frac{\text{Sequencer Rate}}{\text{Data Posting Rate}}
|
|
\end{equation}
|
|
|
|
Lux rollups achieve 10-100x improvements depending on configuration.
|
|
|