Return-Path: Delivered-To: apmail-incubator-river-dev-archive@minotaur.apache.org Received: (qmail 28998 invoked from network); 20 Jul 2010 22:34:20 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 20 Jul 2010 22:34:20 -0000 Received: (qmail 7105 invoked by uid 500); 20 Jul 2010 22:34:20 -0000 Delivered-To: apmail-incubator-river-dev-archive@incubator.apache.org Received: (qmail 7061 invoked by uid 500); 20 Jul 2010 22:34:20 -0000 Mailing-List: contact river-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: river-dev@incubator.apache.org Delivered-To: mailing list river-dev@incubator.apache.org Received: (qmail 7053 invoked by uid 99); 20 Jul 2010 22:34:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jul 2010 22:34:20 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of pats@acm.org designates 209.86.89.66 as permitted sender) Received: from [209.86.89.66] (HELO elasmtp-spurfowl.atl.sa.earthlink.net) (209.86.89.66) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 20 Jul 2010 22:34:12 +0000 Received: from [70.230.193.131] (helo=[192.168.1.105]) by elasmtp-spurfowl.atl.sa.earthlink.net with esmtpa (Exim 4.67) (envelope-from ) id 1ObLNn-0001AB-LN for river-dev@incubator.apache.org; Tue, 20 Jul 2010 18:33:51 -0400 Message-ID: <4C462450.4090808@acm.org> Date: Tue, 20 Jul 2010 15:33:52 -0700 From: Patricia Shanahan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: river-dev@incubator.apache.org Subject: Re: TaskManager progress References: <4C43E08A.8040108@acm.org> <4C4619B1.3050802@zeus.net.au> In-Reply-To: <4C4619B1.3050802@zeus.net.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-ELNK-Trace: 9a090983a806273c061ba25959e76cc985338a7d01cb3b6a7e972de0d01da94024de65bc467ae3843f0436e53130c3b6350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 70.230.193.131 X-Virus-Checked: Checked by ClamAV on apache.org I've uploaded my current work-in-progress code as http://www.patriciashanahan.com/apache/NewTaskManager.java Please send me any comments, questions, or suggestions for improvement. The change of name is temporary, to allow a smoother transition. I plan to work through the callers, changing them one at a time to use the new Task interface. When they have all been changed, and there are no more TaskManager references, the name can be changed to TaskManager. I'll need to set up the correct formatting in Eclipse, but once I find the rules that won't take long. Any other coding conventions I need to watch out for? Meanwhile, I'm working on more testing and benchmarking. It definitely improves performance when there are a lot of tasks or runAfter dependencies, but I need to do more testing for short tasks in simple cases, the case in which it is most likely to be worse than the current code. Patricia On 7/20/2010 2:48 PM, Peter Firmstone wrote: > Looking forward to seeing some code. SVN builds clean again. > > > Patricia Shanahan wrote: >> I did the first tests of my new TaskManager today. I can't benchmark >> very accurately because of a QA test running on the same computer, but >> it seems to be about the same without dependencies, and significantly >> faster with dependencies. Specifically, it removes the single task >> bottleneck. >> >> I'll next do more testing, benchmarking, and tuning in my own >> environment. >> >> Patricia >> > >