Benchmarking (Legacy)

This document contains the original benchmarking methodology and results from Phase 4.

Phase 4 Methodology

Tools

  • hyperfine - Command-line benchmarking
  • perf - Linux performance analysis
  • flamegraph - CPU profiling visualization

Test Environment

ComponentSpecification
CPUAMD Ryzen 9 5900X
Memory32GB DDR4-3600
Network10Gbps Ethernet
OSUbuntu 22.04 LTS

Phase 4 Baseline Results

SYN Scan Performance

PortsTimeThroughput
10045ms2,222 pps
1,000250ms4,000 pps
10,0001.8s5,556 pps
65,5358.2s7,992 pps

Memory Usage

OperationMemory
Idle12MB
1K port scan45MB
10K port scan78MB
65K port scan95MB

Comparison with nmap

Scanner1K ports10K ports
ProRT-IP250ms1.8s
nmap3.2s28s
Speedup12.8x15.5x

Benchmark Commands

# Basic throughput test
hyperfine --warmup 2 \
    'prtip -sS -p 1-1000 localhost'

# Memory profiling
/usr/bin/time -v prtip -sS -p 1-65535 target

# CPU profiling
perf record prtip -sS -p 1-10000 target
perf report

Current Benchmarking

For current benchmarking methodology, see:

Historical Data

Phase 4 baseline data preserved for regression detection:

  • Baseline established: October 2025
  • Tests: 1,166 passing
  • Coverage: 37.26%

See Also