Return-Path: Delivered-To: apmail-db-ojb-dev-archive@www.apache.org Received: (qmail 42758 invoked from network); 25 Jun 2004 13:32:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 25 Jun 2004 13:32:25 -0000 Received: (qmail 53098 invoked by uid 500); 25 Jun 2004 13:32:20 -0000 Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 52852 invoked by uid 500); 25 Jun 2004 13:32:14 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 52751 invoked by uid 99); 25 Jun 2004 13:32:13 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [194.95.168.2] (HELO prosun.first.fraunhofer.de) (194.95.168.2) by apache.org (qpsmtpd/0.27.1) with ESMTP; Fri, 25 Jun 2004 06:32:13 -0700 Received: from [194.95.170.251] (barney [194.95.170.251]) by prosun.first.fraunhofer.de (8.12.10/8.12.10) with ESMTP id i5PDW4t9028580 for ; Fri, 25 Jun 2004 15:32:04 +0200 (MEST) Message-ID: <40DC2927.5060004@first.fhg.de> Date: Fri, 25 Jun 2004 15:31:19 +0200 From: Thomas Dudziak User-Agent: Mozilla Thunderbird 0.6 (Windows/20040502) X-Accept-Language: en-us, en MIME-Version: 1.0 To: OJB Developers List Subject: Re: PersistentField implementations, dramatic performance differences References: <40DC2143.8020506@apache.org> <40DC21DA.7070803@first.fhg.de> <40DC237D.2010706@apache.org> <40DC2458.4090804@first.fhg.de> <40DC26AB.70309@apache.org> In-Reply-To: <40DC26AB.70309@apache.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Armin Waibel wrote: > I don't know in detail why it was so slow, but it depends on > PFAutoProxyImpl and PFIntrospectorImpl, so it never can be faster than > these implementations. Another problem is that for nested fields many > new objects where created (e.g. internal PersistentFields). > > Difficult to figure out what's the main problem. That's the reason why > I start rewriting the implementations. I was wondering: for the test case that you just checked in, is the FieldDescriptor instance created once prior to the 300000 runs, or is it created anew in each run? The latter case would explain the bad performance of the auto proxy impl because it determines the actual impl to use when created. Tom --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org