Device Detection services for 51Degrees Pipeline

test_performance Namespace Reference

Functions

 getValueHelper (flowdata, engine, propertyKey)
 detect (app, pipeline, user_agents)
 benchmark (data_file, user_agents_file, output=False)

Variables

 ap = argparse.ArgumentParser(description='Run detection benchmark.')
 help
 action
 args = ap.parse_args()

Function Documentation

◆ benchmark()

benchmark ( data_file,
user_agents_file,
output = False )

◆ detect()

detect ( app,
pipeline,
user_agents )

◆ getValueHelper()

getValueHelper ( flowdata,
engine,
propertyKey )

Variable Documentation

◆ action

test_performance.action

◆ ap

test_performance.ap = argparse.ArgumentParser(description='Run detection benchmark.')

◆ args

test_performance.args = ap.parse_args()

◆ help

test_performance.help