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.
53 lines
1.5 KiB
TeX
53 lines
1.5 KiB
TeX
\section{Performance Analysis}
|
||
|
||
|
||
\subsection{Query Performance}
|
||
|
||
\begin{table}[h]
|
||
\centering
|
||
\begin{tabular}{@{}lrrr@{}}
|
||
\toprule
|
||
\textbf{Query Type} & \textbf{Latency} & \textbf{Gas Cost} & \textbf{Result Size} \\ \midrule
|
||
Single node lookup & 2ms & 100 & 256 bytes \\
|
||
Edge traversal (depth 1) & 5ms & 150 & 1 KB \\
|
||
Cross-chain query & 8ms & 300 & 4 KB \\
|
||
Aggregation (10k nodes) & 45ms & 50,000 & 512 bytes \\
|
||
Path finding (depth 6) & 120ms & 120,000 & 2 KB \\
|
||
Full-text search & 35ms & 80,000 & 8 KB \\ \bottomrule
|
||
\end{tabular}
|
||
\caption{G-Chain query performance benchmarks}
|
||
\end{table}
|
||
|
||
\subsection{Storage Efficiency}
|
||
|
||
\textbf{BadgerDB Characteristics:}
|
||
\begin{itemize}
|
||
\item Write throughput: 500k writes/sec
|
||
\item Read throughput: 2M reads/sec
|
||
\item Compression: 3-5× using Snappy
|
||
\item Memory footprint: 64 MB per 1M nodes
|
||
\item Disk usage: 120 GB for full network state (8 chains)
|
||
\end{itemize}
|
||
|
||
\textbf{Verkle Trie Overhead:}
|
||
\begin{itemize}
|
||
\item Commitment size: 32 bytes per trie node
|
||
\item Proof size: 1-2 KB for membership proofs
|
||
\item Update cost: 5ms per state root commit
|
||
\end{itemize}
|
||
|
||
\subsection{Horizontal Scaling Performance}
|
||
|
||
\begin{table}[h]
|
||
\centering
|
||
\begin{tabular}{@{}lrrrr@{}}
|
||
\toprule
|
||
\textbf{Node Type} & \textbf{Disk} & \textbf{RAM} & \textbf{Sync Time} & \textbf{QPS} \\ \midrule
|
||
Full Sync & 120 GB & 16 GB & 4 hours & 5,000 \\
|
||
Chain Sync (C+X) & 40 GB & 6 GB & 1.5 hours & 12,000 \\
|
||
App Sync (DeFi) & 8 GB & 2 GB & 20 minutes & 25,000 \\ \bottomrule
|
||
\end{tabular}
|
||
\caption{Node deployment characteristics}
|
||
\end{table}
|
||
|