From: "Timur Safin" <tsafin@tarantool.org>
To: imeevma@tarantool.org
Cc: tarantool-patches@dev.tarantool.org
Subject: Re: [Tarantool-patches] [PATCH 1/1] tpch: show single run time
Date: Thu, 1 Oct 2020 12:34:57 +0300 [thread overview]
Message-ID: <054e01d697d6$20a86270$61f92750$@tarantool.org> (raw)
In-Reply-To: <f50377535747d67dbb0afe69459a642db08d7ac8.1601540130.git.imeevma@gmail.com>
LGTM (and was already committed via PR)
Timur
: -----Original Message-----
: From: imeevma@tarantool.org <imeevma@tarantool.org>
: Sent: Thursday, October 1, 2020 11:17 AM
: To: tsafin@tarantool.org
: Cc: tarantool-patches@dev.tarantool.org
: Subject: [PATCH 1/1] tpch: show single run time
:
: After this patch, the time it takes to complete each run of each
: request will be shown.
: ---
: https://github.com/tarantool/tpch/tree/imeevma/gh-4933-show-single-run-
: time
:
: execute_query.lua | 3 ++-
: 1 file changed, 2 insertions(+), 1 deletion(-)
:
: diff --git a/execute_query.lua b/execute_query.lua
: index 76ab673..9994344 100644
: --- a/execute_query.lua
: +++ b/execute_query.lua
: @@ -157,8 +157,9 @@ local function bench(func)
: local t = clock.monotonic()
:
: for i=1,repeatN,1 do
: - print('.')
: + local t0 = clock.monotonic()
: func()
: + print(i..': '..clock.monotonic() - t0)
: end
: t = clock.monotonic() - t
:
: --
: 2.25.1
prev parent reply other threads:[~2020-10-01 9:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-01 8:16 imeevma
2020-10-01 9:34 ` Timur Safin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='054e01d697d6$20a86270$61f92750$@tarantool.org' \
--to=tsafin@tarantool.org \
--cc=imeevma@tarantool.org \
--cc=tarantool-patches@dev.tarantool.org \
--subject='Re: [Tarantool-patches] [PATCH 1/1] tpch: show single run time' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox