◆ benchmark()
| def test_performance.benchmark | ( | data_file, | |
| user_agents_file, | |||
output = False
|
|||
| ) |
| def | getValueHelper (flowdata, engine, propertyKey) |
| def | detect (app, pipeline, user_agents) |
| def | benchmark (data_file, user_agents_file, output=False) |
| ap = argparse.ArgumentParser(description='Run detection benchmark.') | |
| help | |
| action | |
| args = ap.parse_args() |
| def test_performance.benchmark | ( | data_file, | |
| user_agents_file, | |||
output = False
|
|||
| ) |
| def test_performance.detect | ( | app, | |
| pipeline, | |||
| user_agents | |||
| ) |
| def test_performance.getValueHelper | ( | flowdata, | |
| engine, | |||
| propertyKey | |||
| ) |
| test_performance.action |
| test_performance.ap = argparse.ArgumentParser(description='Run detection benchmark.') |
| test_performance.args = ap.parse_args() |
| test_performance.help |