From d68951ac245150eeefa6e0f4156e4c1b5c9e9325 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Tue, 12 Nov 2019 05:27:43 +0100 Subject: Python3: resources and libraries Change-Id: I1392c06b1d64f62b141d24c0d42a8e36913b15e2 Signed-off-by: Jan Gelety --- resources/libraries/robot/wrk/wrk_utils.robot | 32 +++++++++++++-------------- 1 file changed, 16 insertions(+), 16 deletions(-) (limited to 'resources/libraries/robot/wrk') diff --git a/resources/libraries/robot/wrk/wrk_utils.robot b/resources/libraries/robot/wrk/wrk_utils.robot index 1c65228130..1f6261af5a 100644 --- a/resources/libraries/robot/wrk/wrk_utils.robot +++ b/resources/libraries/robot/wrk/wrk_utils.robot @@ -17,7 +17,7 @@ | Library | resources.libraries.python.DUTSetup | Library | resources.libraries.python.TrafficGenerator | Library | resources.libraries.python.topology.Topology -| ... +| | Documentation | L2 keywords to set up wrk and to measure performance | ... | parameters using wrk. @@ -25,17 +25,17 @@ | Measure throughput | | [Documentation] | | ... | Measure throughput using wrk. -| | ... +| | | | ... | *Arguments:* | | ... | - ${profile} - The name of the wrk traffic profile defining the | | ... | traffic. Type: string -| | ... +| | | | ... | *Example:* -| | ... +| | | | ... | \| Measure throughput \| wrk-bw-1url-1core-50con \| -| | ... +| | | | [Arguments] | ${profile} -| | ... +| | | | ${tg_numa}= | Get interfaces numa node | ${tg} | ${tg_if1} | ${tg_if2} | | ${output}= | Run wrk | ${tg} | ${profile} | ${tg_numa} | bw | | Set test message | ${output} @@ -43,17 +43,17 @@ | Measure requests per second | | [Documentation] | | ... | Measure number of requests per second using wrk. -| | ... +| | | | ... | *Arguments:* | | ... | - ${profile} - The name of the wrk traffic profile defining the | | ... | traffic. Type: string -| | ... +| | | | ... | *Example:* -| | ... +| | | | ... | \| Measure requests per second \| wrk-bw-1url-1core-50con \| -| | ... +| | | | [Arguments] | ${profile} -| | ... +| | | | ${tg_numa}= | Get interfaces numa node | ${tg} | ${tg_if1} | ${tg_if2} | | ${output}= | Run wrk | ${tg} | ${profile} | ${tg_numa} | rps | | Set test message | ${output} @@ -61,17 +61,17 @@ | Measure connections per second | | [Documentation] | | ... | Measure number of connections per second using wrk. -| | ... +| | | | ... | *Arguments:* | | ... | - ${profile} - The name of the wrk traffic profile defining the | | ... | traffic. Type: string -| | ... +| | | | ... | *Example:* -| | ... +| | | | ... | \| Measure connections per second \| wrk-bw-1url-1core-50con \| -| | ... +| | | | [Arguments] | ${profile} -| | ... +| | | | ${tg_numa}= | Get interfaces numa node | ${tg} | ${tg_if1} | ${tg_if2} | | ${output}= | Run wrk | ${tg} | ${profile} | ${tg_numa} | cps | | Set test message | ${output} -- cgit 1.2.3-korg