From issues-return-80382-apmail-commons-issues-archive=commons.apache.org@commons.apache.org Tue Nov 5 12:33:05 2019 Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id 51C5A19148 for ; Tue, 5 Nov 2019 12:33:05 +0000 (UTC) Received: (qmail 79941 invoked by uid 500); 5 Nov 2019 12:33:02 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 79839 invoked by uid 500); 5 Nov 2019 12:33:02 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 79576 invoked by uid 99); 5 Nov 2019 12:33:01 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Nov 2019 12:33:01 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CEEA7E30BD for ; Tue, 5 Nov 2019 12:33:00 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 2638878079E for ; Tue, 5 Nov 2019 12:33:00 +0000 (UTC) Date: Tue, 5 Nov 2019 12:33:00 +0000 (UTC) From: "Alex Herbert (Jira)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (RNG-88) Update the GenerationPerformance benchmark MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/RNG-88?page=3Dcom.atlassian.ji= ra.plugin.system.issuetabpanels:all-tabpanel ] Alex Herbert updated RNG-88: ---------------------------- Fix Version/s: 1.3 > Update the GenerationPerformance benchmark > ------------------------------------------ > > Key: RNG-88 > URL: https://issues.apache.org/jira/browse/RNG-88 > Project: Commons RNG > Issue Type: Improvement > Components: examples > Affects Versions: 1.3 > Reporter: Alex Herbert > Assignee: Alex Herbert > Priority: Minor > Fix For: 1.3 > > Attachments: baseline.jpg, next.png > > Time Spent: 0.5h > Remaining Estimate: 0h > > The current GenerationPerformance benchmark runs all the generators to co= llect timing data. However the act of running the test within JMH takes som= e time (test overhead). This overhead should be measured and subtracted fro= m the timing data to create a time attributed only to the method exercised = in the RNG. > This can be done by creating a dummy RNG that returns a fixed value. The = implementation must be done in a manner where the JIT compiler is not able = to remove the dummy method from the execution path. This is achieved by ret= urning state variables from the dummy RNG (not final variables). > Testing can be done using a variable number of iterations and the run-tim= es assessed for linearity. If the run time scale with the number of iterati= ons then the JIT compiler has not removed it from execution. The dummy RNG = then serves as a baseline for comparison of true implementations. > This idea with examples is=C2=A0shown in [RNG-87|https://issues.apache.or= g/jira/browse/RNG-87] which tested a variant of the MWC_256 algorithm. -- This message was sent by Atlassian Jira (v8.3.4#803005)