Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 52395 invoked from network); 9 Nov 2007 12:41:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Nov 2007 12:41:13 -0000 Received: (qmail 32014 invoked by uid 500); 9 Nov 2007 12:40:59 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 31988 invoked by uid 500); 9 Nov 2007 12:40:59 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 31979 invoked by uid 99); 9 Nov 2007 12:40:59 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 04:40:59 -0800 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 09 Nov 2007 12:41:11 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B28777141FE for ; Fri, 9 Nov 2007 04:40:50 -0800 (PST) Message-ID: <11708360.1194612050711.JavaMail.jira@brutus> Date: Fri, 9 Nov 2007 04:40:50 -0800 (PST) From: "Marcel Reutegger (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-1209) NodeImpl.checkot() calls save() two times In-Reply-To: <13718728.1194478550575.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-1209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12541305 ] Marcel Reutegger commented on JCR-1209: --------------------------------------- I did a quick performance test using derby and the default configuration (but removed the durability setting we have for testing). The test involved 200 checkin/checkout cycles: current average checkout time: 140 ms. checkout time using node.save: 90 ms. that's a decrease of 35% > NodeImpl.checkot() calls save() two times > ----------------------------------------- > > Key: JCR-1209 > URL: https://issues.apache.org/jira/browse/JCR-1209 > Project: Jackrabbit > Issue Type: Improvement > Components: jackrabbit-core, versioning > Reporter: Przemo Pakulski > Priority: Minor > Fix For: 1.4 > > > Similar to JCR-975, The version related properties on a versionable node that is checked out are saved individually. There is no need to save them individually because checkd in node must not have pending changes and save() can be called safely on the node itself. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.