Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C08DFE695 for ; Fri, 8 Feb 2013 22:09:17 +0000 (UTC) Received: (qmail 8332 invoked by uid 500); 8 Feb 2013 22:09:17 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 8263 invoked by uid 500); 8 Feb 2013 22:09:17 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Delivered-To: moderator for dev@chemistry.apache.org Received: (qmail 1199 invoked by uid 99); 8 Feb 2013 22:06:26 -0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of bindu@ziaconsulting.com designates 64.18.2.167 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-received:from:content-type:content-transfer-encoding :subject:message-id:date:to:mime-version:x-mailer:x-gm-message-state; bh=NPQhXV7mwDskDDWXZEZpEGpQEeGvZA+AXDniw6ZXP1Q=; b=cCToQpYq8Q/j4PFmIV93ZZfERFXsqKVEm0lUhDjUxg6O9Xs7T41s7pkLNRJTuXZLzq lzDhmBoWohMyrtMYdJBbw1I4FRDo8xabzhHSs+mRTdhdJHvs4vvEEI60ioqLwRA6i32I raTnadNcMh6sLekidXjGx7b0ZCA91cEzP0IRdqT9bPr1eVSozSY+udQnb0+nvJ8I3twX GvHt63+TajfYBuvGheDx+4oVtDG7jtg9j8hk9SpDosROaVsBpuHeLn0YBpq+uv3GQj8a cdF1LTgmkI/inLixZURyQQDYs3Tm2KhEp+KGqVQKcePMamBbsmD+e40Byl6lFsZT6vl9 9new== X-Received: by 10.50.151.225 with SMTP id ut1mr5595666igb.110.1360361156153; Fri, 08 Feb 2013 14:05:56 -0800 (PST) X-Received: by 10.50.151.225 with SMTP id ut1mr5595656igb.110.1360361156022; Fri, 08 Feb 2013 14:05:56 -0800 (PST) From: Bindu Wavell Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Updating connection in CMIS Workbench does not appear to affect an already running Groovy Console Message-Id: <9B1D1767-DF0F-43B3-9B7D-4C2E3D9E9D4D@ziaconsulting.com> Date: Fri, 8 Feb 2013 15:05:53 -0700 To: "dev@chemistry.apache.org" Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) X-Gm-Message-State: ALoCoQlDSGTI08iHB0Q6JboV0WP3DYZEWFMKT0aOaPX/TgnCs55M0p31L8qy23d83Yu74WcHwIh8tKJrWY4JwlTahBn/3R2hWRYXKFZb6mhC0k8TmYg1UQRHSlmaNO0mYdovrMl0BK+BSjAWUL5W1WCHAyTk7b9SSOgAt5jbrnLkvrhHS78jOO4= X-Virus-Checked: Checked by ClamAV on apache.org I've been doing some performance testing using the various CMIS bindings = for Alfresco. I'm using Workbench 0.8 against Alfresco Enterprise 4.1.2 = (and 4.1.2.8). I have the following simple test script: --- import org.apache.chemistry.opencmis.client.api.* import groovy.time.* Date start =3D new Date(); println start; OperationContext ctx =3D session.createOperationContext(); println session.getObjectByPath("/Google Legal DMS/M&A Projects/My = Project/Forms").getChildren(ctx).getTotalNumItems(); Date stop =3D new Date(); println stop; TimeDuration td =3D TimeCategory.minus( stop, start ) println td println "DONE"; --- For the longest time it appeared to me that all 4 binding options I = could test 3.x AtomPub, 3.x Web Services, 4.x AtomPub and 4.x Web = Services all performed the same. When I started testing later I'd still = see all of the performance being the same, but it might be significantly = different than it was earlier in the day. What I have discovered is that = if I quit Workbench and create one of these connections, open the = console and run my script. I see consistent performance for that = binding. If I quit and restart Workbench and use a different binding, = open a console and run the same script, I consistently see different = performance. So now I can get a handle on the performance differences between the = bindings, but I can't just click the Connection toolbar button and = switch bindings, I have to fully quit Workbench and restart to switch = bindings. -- Bindu=