Search documentation of snmpkit

# SnmpKit.SnmpMgr.PerformanceBenchmark (snmpkit v1.3.17)

Performance benchmarking and profiling tools for SNMP operations.

Provides tools to measure and compare performance between different SNMP architectures, including throughput, latency, memory usage, and resource utilization.

# Summary

## Functions

compare_architectures(opts \\ [])

Runs a comprehensive benchmark comparing old vs new Multi architecture.

measure_throughput(opts \\ [])

Measures throughput (requests per second) for a given configuration.

monitor_buffer_usage(targets, max_concurrent, timeout)

Monitors UDP buffer utilization during high-load operations.

profile_memory_usage(targets, max_concurrent, timeout)

Profiles memory usage during concurrent SNMP operations.

# Functions

# compare_architectures(opts \\ [])

Runs a comprehensive benchmark comparing old vs new Multi architecture.

## Options

- `:target_count` - Number of targets to test (default: 10)
- `:requests_per_target` - Number of requests per target (default: 5)
- `:max_concurrent` - Concurrency limit (default: 10)
- `:timeout` - Request timeout in ms (default: 5000)
- `:warmup_rounds` - Warmup iterations (default: 3)
- `:benchmark_rounds` - Benchmark iterations (default: 10)

# measure_throughput(opts \\ [])

Measures throughput (requests per second) for a given configuration.

## Options

- `:duration_seconds` - How long to run the test (default: 30)
- `:max_concurrent` - Concurrency limit (default: 10)
- `:target_count` - Number of targets (default: 5)

# monitor_buffer_usage(targets, max_concurrent, timeout)

Monitors UDP buffer utilization during high-load operations.

# profile_memory_usage(targets, max_concurrent, timeout)

Profiles memory usage during concurrent SNMP operations.