pcapscan

command
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 1, 2024 License: Apache-2.0, MIT Imports: 19 Imported by: 0

Documentation

Overview

* Hyperscan example program 2: pcapscan * * This example is a very simple packet scanning benchmark. It scans a given * PCAP file full of network traffic against a group of regular expressions and * returns some coarse performance measurements. This example provides a quick * way to examine the performance achievable on a particular combination of * platform, pattern set and input data. * * Build instructions: * * go build github.com/flier/gohs/examples/pcapscan * * Usage: * * ./pcapscan [-n repeats] <pattern file> <pcap file> * * We recommend the use of a utility like 'taskset' on multiprocessor hosts to * pin execution to a single processor: this will remove processor migration * by the scheduler as a source of noise in the results. *

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL