test suite reviews and discussions
 help / color / Atom feed
* [dts] [PATCH V1 0/1] l3fwd: update throughput delta
@ 2020-07-08  8:04 yufengmx
  2020-07-08  8:04 ` [dts] [PATCH V1 1/1] " yufengmx
  0 siblings, 1 reply; 2+ messages in thread
From: yufengmx @ 2020-07-08  8:04 UTC (permalink / raw)
  To: dts, lijuan.tu, lihongx.ma; +Cc: yufengmx

 Throughput delta = run value - expected value 

yufengmx (1):
  l3fwd: update throughput delta

 tests/l3fwd_base.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

-- 
2.21.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dts] [PATCH V1 1/1] l3fwd: update throughput delta
  2020-07-08  8:04 [dts] [PATCH V1 0/1] l3fwd: update throughput delta yufengmx
@ 2020-07-08  8:04 ` " yufengmx
  0 siblings, 0 replies; 2+ messages in thread
From: yufengmx @ 2020-07-08  8:04 UTC (permalink / raw)
  To: dts, lijuan.tu, lihongx.ma; +Cc: yufengmx


Throughput delta = run value - expected value.

Signed-off-by: yufengmx <yufengx.mo@intel.com>
---
 tests/l3fwd_base.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/l3fwd_base.py b/tests/l3fwd_base.py
index a6e26b0..1f4d037 100644
--- a/tests/l3fwd_base.py
+++ b/tests/l3fwd_base.py
@@ -827,11 +827,12 @@ class L3fwdBase(object):
                         expected, pps, round(gap, 2))
                     self.logger.error(msg)
             else:
+                expected = pps
                 msg = ('{0} {1} expected throughput value is not set, '
                        'ignore check').format(config, frame_size)
                 self.logger.warning(msg)
                 status = 'pass'
-            js_results.append([status, [pps, linerate - pps], percentage, config, frame_size])
+            js_results.append([status, [pps, pps - expected], percentage, config, frame_size])
         # save data with json format
         self.__save_throughput_result(self.__cur_case, js_results)
         # display result table
-- 
2.21.0


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-08  8:04 [dts] [PATCH V1 0/1] l3fwd: update throughput delta yufengmx
2020-07-08  8:04 ` [dts] [PATCH V1 1/1] " yufengmx

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox