Return-Path: X-Original-To: apmail-flink-user-archive@minotaur.apache.org Delivered-To: apmail-flink-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 74A831073D for ; Sat, 21 Mar 2015 12:20:06 +0000 (UTC) Received: (qmail 84917 invoked by uid 500); 21 Mar 2015 12:20:06 -0000 Delivered-To: apmail-flink-user-archive@flink.apache.org Received: (qmail 84843 invoked by uid 500); 21 Mar 2015 12:20:06 -0000 Mailing-List: contact user-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@flink.apache.org Delivered-To: mailing list user@flink.apache.org Received: (qmail 84833 invoked by uid 99); 21 Mar 2015 12:20:05 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Mar 2015 12:20:05 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of metrobert@gmail.com designates 74.125.82.170 as permitted sender) Received: from [74.125.82.170] (HELO mail-we0-f170.google.com) (74.125.82.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 21 Mar 2015 12:19:59 +0000 Received: by weop45 with SMTP id p45so101469881weo.0 for ; Sat, 21 Mar 2015 05:19:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:mime-version:subject :message-id:date:references:in-reply-to:to; bh=3kTPUQwpmwLaaIMFXVAM/trDiaCLFqkLVdqeFU3G9eY=; b=djePZVzXuDp+BBa6PhOELp7fvJDt63NnT3ND5nm/wAxV4NJSsFkH4hhRTvtPQeOMFA Y22iGn0cHui07uFV4OAYAh38pA6WLJyq1uiTu5dcIhnAc3Q/YXi36fq8ryKpi7nb9Gc5 FhXSHWtlln0WPkh6nr+LgFGR1y1sO4kC4qfp1H0zfYF3/eEJBSYDOVyADcNjYPagFSns ttWGBNsDohiX3ObL3wQn3RQlvQyzTNu/wMdWBvJJHBXdt6eORUPLh7HrYfItKdJhpDZy qKMRi/c3tVsHUX/eCBls6jZ3lzxE4BNCKPThkE37d5AB+kgDhKOxmIXaOjP4Gi322px+ xHdA== X-Received: by 10.194.91.129 with SMTP id ce1mr126254025wjb.53.1426940378550; Sat, 21 Mar 2015 05:19:38 -0700 (PDT) Received: from [192.168.0.100] (p54A50A2B.dip0.t-ipconnect.de. [84.165.10.43]) by mx.google.com with ESMTPSA id l6sm10397817wjx.33.2015.03.21.05.19.37 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 21 Mar 2015 05:19:37 -0700 (PDT) From: Robert Metzger Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (1.0) Subject: Re: Flink execution time benchmark Message-Id: Date: Sat, 21 Mar 2015 13:19:36 +0100 References: In-Reply-To: To: "user@flink.apache.org" X-Mailer: iPhone Mail (12D508) X-Virus-Checked: Checked by ClamAV on apache.org Hi, The execute() method returns an execution result object that also contains t= he runtime of the job. Sent from my iPhone > On 21.03.2015, at 11:09, Giacomo Licari wrote: >=20 > Hi guys, > I'm trying to execute a benchmark reading a 1GB file and applying a reduce= function. >=20 > I'd like to get the overall execution time. >=20 > I put that code before applying the reduce function: > long startTime =3D System.currentTimeMillis(); >=20 > and after env.execute("Flink Processor"); I put the code to print out the o= verall time, but it doen't work. >=20 > Did you try something about? >=20 > Thanks a lot, > Giacomo