From dev-return-2121-archive-asf-public=cust-asf.ponee.io@orc.apache.org Wed Apr 18 20:33:40 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id A10F018064E for ; Wed, 18 Apr 2018 20:33:39 +0200 (CEST) Received: (qmail 13181 invoked by uid 500); 18 Apr 2018 18:33:38 -0000 Mailing-List: contact dev-help@orc.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@orc.apache.org Delivered-To: mailing list dev@orc.apache.org Received: (qmail 13149 invoked by uid 99); 18 Apr 2018 18:33:38 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 18 Apr 2018 18:33:38 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id B1629C02CF for ; Wed, 18 Apr 2018 18:33:37 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id IK9ziDk6LzSj for ; Wed, 18 Apr 2018 18:33:36 +0000 (UTC) Received: from mail-lf0-f52.google.com (mail-lf0-f52.google.com [209.85.215.52]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id E36395F1ED for ; Wed, 18 Apr 2018 18:33:35 +0000 (UTC) Received: by mail-lf0-f52.google.com with SMTP id r125-v6so4073283lfe.2 for ; Wed, 18 Apr 2018 11:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=cX+tfpZdddYt7BW1Dsw6NanHJzHu4oRTY/6el95r71Q=; b=sM/imv5oPnmvPQDl67aCA8PzFECk35/HWAwDQmXfXbhqb5iGE4+TXIfkeOuvpoz1nu BzuZ5JxpAfz4uvWS2Nq7+GoAaW/C178PlZlmHCf5Ul3EqIVPxGtmX09x8VsNxRRX3GgU matfaAP2ivOlxyKCDpUtER4GKr5QxfYMy4Rn3M4uKEILQnsD1o+oytRKt9uXimPvkQeL nhc3ar0JPBUE7lDPlaCvxuroPlTRdZI5JcUbhAVTIGqbBA+9/ScGQvtBqQjuN9oi8itR UQaJfOmo6cYiyno8CU8z6vLTQP0wNlLHj/5FAcud7RESsivBuvA+4NwGNAwm0Uxo7QMv zMcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=cX+tfpZdddYt7BW1Dsw6NanHJzHu4oRTY/6el95r71Q=; b=hfvT1gkeODNzijTqSP2t3ci1TMmcZX6SBicg2gpawiDupz/gXguSQ6h0IQ3rH1VISi vmATi04DN929bPhWkqIf+ANBy3WJWMFD24ak5+8uK2S2kfmRH+X21Hlwor3ELvJl65YM wpGgIxzNbsC/OK8i03bkLL7DVmniRRrrCDfrdIjfS+zBhD+R1uhhTWAzfn6PXEWxYE98 4TvQ9HPoVgnXEopBd31lwMgTaAMrF3+ubOItTBuDVBdfCaKBl6V80ypgAOhTsh8TEjFL 82PY/nKnyfknvHe1iPgeOKbtvufRamYjkMptF+b1QPUUOm5/BrgUSSWHS/C7yoQ9nalr rDYA== X-Gm-Message-State: ALQs6tA/N9SIjAwTRsS1X6EkG0o8Jq19kwhDy7Q/Nn/UZTa0qZiioN6r a/KmsmzvZFeSCqUju70aMjuO6nZPBwDpEZ4c+fdby/t5 X-Google-Smtp-Source: AIpwx4/jPcYPsitOxjqJXiLWEL8VPGkOJNxY0O+abbXtoVAp5RqAOdVQUTQYJe/c6l85fTXdwtcXVI+pSZZezJ+SjO8= X-Received: by 10.46.131.197 with SMTP id s5mr2136834ljh.72.1524076414944; Wed, 18 Apr 2018 11:33:34 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a19:9344:0:0:0:0:0 with HTTP; Wed, 18 Apr 2018 11:33:14 -0700 (PDT) In-Reply-To: References: From: Prasanth Jayachandran Date: Wed, 18 Apr 2018 11:33:14 -0700 Message-ID: Subject: Re: Alternatives to JMH for the benchmarking code To: dev@orc.apache.org Cc: Isabel Drost Content-Type: multipart/alternative; boundary="f4f5e80c39dc52cc89056a23b134" --f4f5e80c39dc52cc89056a23b134 Content-Type: text/plain; charset="UTF-8" I have used caliper before and it is almost similar to JMH except JMH claims performance measurement using calipers is incorrect for iterations. https://github.com/melix/jmh-gradle-example/blob/master/src/jmh/java/org/openjdk/jmh/samples/JMHSample_11_Loops.java#L48 Also IIRC caliper uploads a report to some server to serve html output. I personally like the text output generated by JMH. Not aware of any other microbenchmarking tool that is as good as JMH or caliper. Thanks and Regards, Prasanth Jayachandran On Wed, Apr 18, 2018 at 8:52 AM, Owen O'Malley wrote: > All, > > In my board report, I included that we removed the benchmarking code > because of the dependency on JMH, which is unfortunately released under the > GPL. > > Isabel, who is on the board, asked if there were alternatives to JMH that > aren't GPL. In my looking, I didn't find any that integrate as nicely in to > the JVM. (JMH is written and maintained by the OpenJDK team, which both > explains its tight integration and release under the GPL.) The only close > alternative that I found was a tool from Google for Android - > https://github.com/google/caliper . But it looks pretty tightly tied to > the > Android platform. > > Does anyone know of any good alternatives to JMH that are Apache License > compatible? > > ..Owen > --f4f5e80c39dc52cc89056a23b134--