• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1NAME = "Netperf2 (Parallel)"
2AUTHOR = "Martin Bligh <mbligh@google.com>"
3TIME = "MEDIUM"
4TEST_CATEGORY = "BENCHMARK"
5TEST_CLASS = "HARDWARE"
6TEST_TYPE = "CLIENT"
7DOC = """
8TCP/UDP/sockets/etc performance benchmark.
9See http://www.netperf.org/netperf/NetperfPage.html.
10"""
11
12def client():
13    job.run_test('netperf2',
14                 server_ip='127.0.0.1',
15                 client_ip='127.0.0.1',
16                 role='client',
17                 tag='client')
18
19def server():
20    job.run_test('netperf2',
21                 server_ip='127.0.0.1',
22                 client_ip='127.0.0.1',
23                 role='server',
24                 tag='server')
25
26job.parallel([server], [client])
27