Return-Path: Delivered-To: apmail-velocity-dev-archive@www.apache.org Received: (qmail 79984 invoked from network); 10 Feb 2009 14:54:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 10 Feb 2009 14:54:06 -0000 Received: (qmail 34322 invoked by uid 500); 10 Feb 2009 14:54:03 -0000 Delivered-To: apmail-velocity-dev-archive@velocity.apache.org Received: (qmail 34313 invoked by uid 500); 10 Feb 2009 14:54:03 -0000 Mailing-List: contact dev-help@velocity.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Velocity Developers List" Delivered-To: mailing list dev@velocity.apache.org Received: (qmail 34292 invoked by uid 99); 10 Feb 2009 14:54:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 06:54:03 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of nbubna@gmail.com designates 209.85.200.173 as permitted sender) Received: from [209.85.200.173] (HELO wf-out-1314.google.com) (209.85.200.173) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Feb 2009 14:53:56 +0000 Received: by wf-out-1314.google.com with SMTP id 25so2813131wfa.1 for ; Tue, 10 Feb 2009 06:53:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=2TSdia8Lik9frBwHG2Fk6S49hQwm3QCL0A3UyTQiifw=; b=E+7PmZCa/hz8Utze9v0EUK8dulETj6TrkgFXAYnxLbTNtE9uQfWNAE13P709YjTIib asREOFZOFdYymCIHGF7fjCqHBcQgXajGFrUTebG0FI8tBkmACRlts5z6Phtw5Hcr3J+H Qy0aWP9AVJ0reozFPdPkeJpm4knUPyrjHBqeI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=UUDrCCbmAAX8UEC054P5a2Q0SwHKT1zcdQSoX+wa/wAqZw/fA+ABGnbtKNFoz7/HVQ YU8bSflUqNsr2J2dTCo9SsluFQgeH8ywg4nEO5QEIDLX9rhWPV8aiIsrXY5dZxUXXEWM oHPZB2r5u1tAkxQb69ZZjKyVTzTAt3lAeOUoA= MIME-Version: 1.0 Received: by 10.140.187.14 with SMTP id k14mr4658587rvf.246.1234277616663; Tue, 10 Feb 2009 06:53:36 -0800 (PST) In-Reply-To: <20090210050512.E63EA23889F3@eris.apache.org> References: <20090210050512.E63EA23889F3@eris.apache.org> Date: Tue, 10 Feb 2009 06:53:36 -0800 Message-ID: <4d651da50902100653s5cd7e3a8uf4b16ee336f9c9a6@mail.gmail.com> Subject: Re: svn commit: r742852 - /velocity/engine/branches/2.0_Exp/experimental/benchmark/Benchmark.java From: Nathan Bubna To: dev@velocity.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Uh... are you sure you merged the right change? This commit doesn't look anything like the message that describes it. And for that matter, what is "0 syntax"? On Mon, Feb 9, 2009 at 9:05 PM, wrote: > Author: byron > Date: Tue Feb 10 05:05:11 2009 > New Revision: 742852 > > URL: http://svn.apache.org/viewvc?rev=742852&view=rev > Log: > VELOCITY-688 Change so that 0 syntax causes the exception if the reference is null instead of $, copy from trunk > > Modified: > velocity/engine/branches/2.0_Exp/experimental/benchmark/Benchmark.java > > Modified: velocity/engine/branches/2.0_Exp/experimental/benchmark/Benchmark.java > URL: http://svn.apache.org/viewvc/velocity/engine/branches/2.0_Exp/experimental/benchmark/Benchmark.java?rev=742852&r1=742851&r2=742852&view=diff > ============================================================================== > --- velocity/engine/branches/2.0_Exp/experimental/benchmark/Benchmark.java (original) > +++ velocity/engine/branches/2.0_Exp/experimental/benchmark/Benchmark.java Tue Feb 10 05:05:11 2009 > @@ -53,8 +53,9 @@ > vengine.setProperty(RuntimeConstants.FILE_RESOURCE_LOADER_CACHE, "true"); > //vengine.setProperty(RuntimeConstants.VM_ARGUMENTS_PASSBYVALUE, "true"); > vengine.setProperty(RuntimeConstants.VM_LIBRARY_AUTORELOAD, "false"); > - vengine.setProperty(RuntimeConstants.RESOURCE_MANAGER_DEFAULTCACHE_SIZE, "0"); > - vengine.setProperty(RuntimeConstants.RUNTIME_REFERENCES_STRICT, "true"); > + //vengine.setProperty(RuntimeConstants.RESOURCE_MANAGER_DEFAULTCACHE_SIZE, "0"); > + //vengine.setProperty(RuntimeConstants.PARSER_POOL_SIZE, "0"); > + //vengine.setProperty(RuntimeConstants.RUNTIME_REFERENCES_STRICT, "true"); > vengine.setProperty("file.resource.loader.modificationCheckInterval", "0"); > vengine.setProperty(RuntimeConstants.VM_LIBRARY, "vmlib1.vm,vmlib2.vm"); > log("Starting " + threadCnt + " threads which will run " + runCnt + " times"); > @@ -63,7 +64,9 @@ > { > VelocityThread vt = new VelocityThread(vengine, runCnt); > list.add(vt); > + System.out.println("Started thread: " + i); > vt.start(); > + if (i == 0) Thread.sleep(500); > } > } > } > @@ -174,7 +177,7 @@ > for (int i=0; i < len; i++) > { > buffer[i] = buf[i+off]; > - } > + } > } > > public void close() {} > > > --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org For additional commands, e-mail: dev-help@velocity.apache.org