Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 953B61893C for ; Fri, 27 Nov 2015 13:48:11 +0000 (UTC) Received: (qmail 95791 invoked by uid 500); 27 Nov 2015 13:48:11 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 95574 invoked by uid 500); 27 Nov 2015 13:48:11 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 95478 invoked by uid 99); 27 Nov 2015 13:48:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Nov 2015 13:48:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 01D8C2C1F57 for ; Fri, 27 Nov 2015 13:48:11 +0000 (UTC) Date: Fri, 27 Nov 2015 13:48:11 +0000 (UTC) From: "Michele Vivoda (JIRA)" To: issues@commons.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (JXPATH-183) XMLGregorianCalendar existence adding a lot of performance penalty MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/JXPATH-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michele Vivoda updated JXPATH-183: ---------------------------------- Attachment: JXPath183Test.java I attach a test case that shows the issue > XMLGregorianCalendar existence adding a lot of performance penalty > ------------------------------------------------------------------ > > Key: JXPATH-183 > URL: https://issues.apache.org/jira/browse/JXPATH-183 > Project: Commons JXPath > Issue Type: Improvement > Affects Versions: 1.3 > Environment: Windows 7, Amazon Unix, Weblogic > Reporter: Ganna Shmatova > Labels: performance > Attachments: JXPath183Test.java > > > We're using JXPath to parse some input from a client. When they give us a valid date it gets transformed from a SOAP message into Java objects. When this happens JXPath queries suddenly take 1-8 seconds more (depending on system -- the optimized system it's 1 second, dev & test machines it's 8). > Kicker is, we don't even look for this field. Just its existence does it. > (we've quickfixed to omit the xml tags before the string is parsed into Java for now) -- This message was sent by Atlassian JIRA (v6.3.4#6332)