Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 14571200B75 for ; Sun, 4 Sep 2016 16:49:03 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 128DF160AB9; Sun, 4 Sep 2016 14:49:03 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 5CC3E160AAB for ; Sun, 4 Sep 2016 16:49:02 +0200 (CEST) Received: (qmail 27696 invoked by uid 500); 4 Sep 2016 14:49:01 -0000 Mailing-List: contact dev-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Commons Developers List" Delivered-To: mailing list dev@commons.apache.org Received: (qmail 27680 invoked by uid 99); 4 Sep 2016 14:49:00 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Sep 2016 14:49:00 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 4F3A518A58D for ; Sun, 4 Sep 2016 14:49:00 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.7 X-Spam-Level: X-Spam-Status: No, score=-0.7 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=scarlet.be Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id t-lHWkniP32s for ; Sun, 4 Sep 2016 14:48:57 +0000 (UTC) Received: from eir.is.scarlet.be (eir.is.scarlet.be [193.74.71.27]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 362345F1F3 for ; Sun, 4 Sep 2016 14:48:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=scarlet.be; s=scarlet; t=1473000531; bh=sUzji1dxy8rvIXu8Scq8B4iUXsuAVo9fpdDn2oYF5Ks=; h=MIME-Version:Content-Type:Content-Transfer-Encoding:Date:From:To: Subject:In-Reply-To:References:Message-ID; b=PtJLj6UqMZS3OtRoyxZVZPpPXkUJ2FJsm+oBHsnwKu4vZdhaHlP6hM3Cc1k2NWqHu drweuCRbF1iCfbG3L+peRjIUYqeK0xHc+UWEZ3H77YWaPtzUA2MxGgxF+5lH4HaasL CeQ98ajyMPlX6bhfISdaX0ftARKNF/JcLHbS95ik= Received: from webmail.scarlet.be (gresham.is.scarlet.be [193.74.71.215]) by eir.is.scarlet.be (8.14.9/8.14.9) with ESMTP id u84Emo2E016511 for ; Sun, 4 Sep 2016 16:48:51 +0200 X-Scarlet: d=1473000531 c=193.74.71.215 Received: from ip-62-235-198-222.dsl.scarlet.be ([62.235.198.222]) via ip-62-235-198-222.dsl.scarlet.be ([62.235.198.222]) by webmail.scarlet.be with HTTP (HTTP/1.1 POST); Sun, 04 Sep 2016 16:55:12 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Sun, 04 Sep 2016 16:55:12 +0200 From: Gilles To: Subject: Re: [rng] Usefulness of benchmarks In-Reply-To: References: <5b81b5f61ad0f5a5cae8729e4f625c93@scarlet.be> <76b550b1ea736639adc1f0f12e6b454b@scarlet.be> <7d20e446c588ac7c41e3f58fe875dd22@scarlet.be> Message-ID: <92bf2a570d851a3edbdae55b35a33df2@scarlet.be> X-Sender: gilles@harfang.homelinux.org User-Agent: Scarlet Webmail X-DCC-scarlet.be-Metrics: eir; whitelist X-Virus-Scanned: clamav-milter 0.98.1-exp at eir X-Virus-Status: Clean archived-at: Sun, 04 Sep 2016 14:49:03 -0000 Hi. On Sun, 4 Sep 2016 15:20:39 +0300, Artem Barger wrote: > On Sun, Sep 4, 2016 at 3:01 PM, Gilles > wrote: > >> "RandomStressTester" is in Commons _Rng_ "src/userguide" example >> code, while I've just committed "RandomNumberGeneratorBenchmark" >> in Commons _Math_ userguide examples (branch "develop"). >> >> There is a README in "src/userguide"; basically, you'd run with a >> command similar to: >> >> $ mvn -q exec:java \ >> >> -Dexec.mainClass=org.apache.commons.math4.userguide.rng.RandomNumberGeneratorBenchmark >> \ >> -Dexec.args="MT ISAAC JDK" >> >> where the "exec.args" contains a list of "RandomSource" identifiers. >> >> > ​I've ​got following results and they look similar to ones you have > in the > table :/ > > [...] > It seems that the behaviour changes with the number of generators being tested. I don't know what to make out of that... Personally, I think that these codes are so small/fast (wrt to common use of Java) that such micro-benchmarking measurements border to an exercise in futility. Concerning the subject of this thread, I guess that we are back to square one, i.e. no more knowledge about it was gathered here than we had in December 2015, even though back then the benchmark score was the sole argument put forward for constraining the design. :-( Regards, Gilles --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org For additional commands, e-mail: dev-help@commons.apache.org