Return-Path: X-Original-To: apmail-ignite-user-archive@minotaur.apache.org Delivered-To: apmail-ignite-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 2FF0E1859C for ; Fri, 8 May 2015 23:18:39 +0000 (UTC) Received: (qmail 39698 invoked by uid 500); 8 May 2015 23:18:39 -0000 Delivered-To: apmail-ignite-user-archive@ignite.apache.org Received: (qmail 39677 invoked by uid 500); 8 May 2015 23:18:39 -0000 Mailing-List: contact user-help@ignite.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@ignite.incubator.apache.org Delivered-To: mailing list user@ignite.incubator.apache.org Received: (qmail 39667 invoked by uid 99); 8 May 2015 23:18:39 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 08 May 2015 23:18:39 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id D02D4C2AB0 for ; Fri, 8 May 2015 23:18:38 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.973 X-Spam-Level: X-Spam-Status: No, score=0.973 tagged_above=-999 required=6.31 tests=[SPF_SOFTFAIL=0.972, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 9fD_5gf8wwrw for ; Fri, 8 May 2015 23:18:23 +0000 (UTC) Received: from mwork.nabble.com (mwork.nabble.com [162.253.133.43]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTP id 796642AA0E for ; Fri, 8 May 2015 23:17:54 +0000 (UTC) Received: from malf.nabble.com (unknown [162.253.133.59]) by mwork.nabble.com (Postfix) with ESMTP id E6BDC1DAC5EF for ; Fri, 8 May 2015 16:17:42 -0700 (PDT) Date: Fri, 8 May 2015 16:14:28 -0700 (PDT) From: pgarg To: user@ignite.incubator.apache.org Message-ID: <1431126868720-71.post@n6.nabble.com> In-Reply-To: <1431126779219-70.post@n6.nabble.com> References: <1431126779219-70.post@n6.nabble.com> Subject: Re: Perfomance Java 8 lambdas MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit /commented by vladimir/ I'm used this parameters: Credit[] portfolio = new Credit[5000]; Random rnd = new Random(); // Generate some test portfolio items. for (int i = 0; i < portfolio.length; i++) { portfolio[i] = new Credit( 50000 * rnd.nextDouble(), // Credit amount. rnd.nextInt(1000), // Credit term in days. rnd.nextDouble() / 10, // APR. rnd.nextDouble() / 20 + 0.02 // EDF. ); } // Forecast horizon in days. int horizon = 365; // Number of Monte-Carlo iterations. int iter = 1000000; // Percentile. double percentile = 0.95; ----- /This post is migrated from now discontinued Apache Ignite forum at http://apacheignite.readme.io/v1.0/discuss/ -- View this message in context: http://apache-ignite-users.70518.x6.nabble.com/Perfomance-Java-8-lambdas-tp70p71.html Sent from the Apache Ignite Users mailing list archive at Nabble.com.