This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new a20da81  [scripts] updated wire_protocol-test results pattern
a20da81 is described below

commit a20da815da5660c163afc98370b0b51dd90a6fdb
Author: Alexey Serbin <[email protected]>
AuthorDate: Wed Aug 28 16:43:13 2019 -0700

    [scripts] updated wire_protocol-test results pattern
    
    Fixed pattern for extracting benchmark results of the wire_protocol-test
    in benchmark.sh.
    
    This is a follow-up to 7116a0841ca4dcd62d3e6338cfbd6672df86770a.
    
    Change-Id: I648414979f97c97740f792606f4e04fe611a8076
    Reviewed-on: http://gerrit.cloudera.org:8080/14160
    Reviewed-by: Adar Dembo <[email protected]>
    Tested-by: Kudu Jenkins
---
 src/kudu/scripts/benchmarks.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/kudu/scripts/benchmarks.sh b/src/kudu/scripts/benchmarks.sh
index dd91770..3b3f08d 100755
--- a/src/kudu/scripts/benchmarks.sh
+++ b/src/kudu/scripts/benchmarks.sh
@@ -361,9 +361,9 @@ parse_and_record_all_results() {
     record_result $BUILD_IDENTIFIER $MT_BLOOM_TEST $i $real
   done
 
-  # Parse out the real time from: "Time spent Converting to PB with column 
count 30 and row select rate 0.2: real 5.962s  user 5.918s sys 0.025s"
+  # Parse out rate of cycles/sec from: "Converting to PB with column count 3 
and row select rate 1: 32.987841 cycles/cell"
   for i in $(seq 1 $NUM_SAMPLES); do
-    real=`grep "Time spent Converting" $LOGDIR/$WIRE_PROTOCOL_TEST$i.log | 
./parse_real_out.sh`
+    real=`grep "Converting to PB with column count" 
$LOGDIR/$WIRE_PROTOCOL_TEST$i.log | sed 's|^.*: \([[:digit:].]*\) 
cycles/cell$|\1|'`
     record_result $BUILD_IDENTIFIER $WIRE_PROTOCOL_TEST $i $real
   done
 

Reply via email to