asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From buyin...@apache.org
Subject asterixdb git commit: ASTERIXDB-1501: fix the reported executionTime and elapsedTime.
Date Mon, 27 Jun 2016 22:00:42 GMT
Repository: asterixdb
Updated Branches:
  refs/heads/master fd4e1e510 -> 09a764458


ASTERIXDB-1501: fix the reported executionTime and elapsedTime.

Change-Id: Ide5ba41e1b9fbbfdc1a9abf5a0971dfa17e980cf
Reviewed-on: https://asterix-gerrit.ics.uci.edu/961
Reviewed-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Michael Blow <michael.blow@couchbase.com>


Project: http://git-wip-us.apache.org/repos/asf/asterixdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/asterixdb/commit/09a76445
Tree: http://git-wip-us.apache.org/repos/asf/asterixdb/tree/09a76445
Diff: http://git-wip-us.apache.org/repos/asf/asterixdb/diff/09a76445

Branch: refs/heads/master
Commit: 09a764458e5908e1b2e27ebfbc6c5fb0fd4c17d8
Parents: fd4e1e5
Author: Yingyi Bu <yingyi@couchbase.com>
Authored: Sun Jun 26 22:36:47 2016 -0700
Committer: Yingyi Bu <buyingyi@gmail.com>
Committed: Mon Jun 27 14:52:23 2016 -0700

----------------------------------------------------------------------
 .../org/apache/asterix/api/http/servlet/QueryServiceServlet.java  | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/asterixdb/blob/09a76445/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/servlet/QueryServiceServlet.java
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/servlet/QueryServiceServlet.java
b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/servlet/QueryServiceServlet.java
index a080c83..c62389f 100644
--- a/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/servlet/QueryServiceServlet.java
+++ b/asterixdb/asterix-app/src/main/java/org/apache/asterix/api/http/servlet/QueryServiceServlet.java
@@ -352,8 +352,7 @@ public class QueryServiceServlet extends HttpServlet {
             printStatus(resultWriter, ResultStatus.fatal);
             respCode = HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
         }
-        printMetrics(resultWriter, (System.nanoTime() - elapsedStart) / 1000, (execEnd -
execStart) / 1000, stats.count,
-                stats.size);
+        printMetrics(resultWriter, System.nanoTime() - elapsedStart, execEnd - execStart,
stats.count, stats.size);
         resultWriter.print("}\n");
         resultWriter.flush();
         String result = stringWriter.toString();


Mime
View raw message