\r\n

51Degrees Device Detection Python  4.4

Device Detection services for 51Degrees Pipeline

test_performance Namespace Reference

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()

Function Documentation

◆ benchmark()

def test_performance.benchmark (   data_file,
  user_agents_file,
  output = False  
)

◆ detect()

def test_performance.detect (   app,
  pipeline,
  user_agents  
)

◆ getValueHelper()

def test_performance.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
On This Page