[jira] [Updated] (SLING-4585) Performance: Use JackrabbitSession#getItemOrNull to speed up JcrResourceProvider#createResource
[ https://issues.apache.org/jira/browse/SLING-4585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated SLING-4585: Attachment: (was: 0001-SLING-4585-Performance-Use-JackrabbitSession-getItem.patch) > Performance: Use JackrabbitSession#getItemOrNull to speed up > JcrResourceProvider#createResource > --- > > Key: SLING-4585 > URL: https://issues.apache.org/jira/browse/SLING-4585 > Project: Sling > Issue Type: Improvement > Components: JCR, ResourceResolver >Affects Versions: JCR Resource 2.5.0 >Reporter: Joel Richard >Priority: Critical > Labels: performance > Fix For: JCR Resource 2.6.0 > > > If the current session is a JackrabbitSession, JcrResourceProvider should use > getItemOrNull (as soon as exported) to save rendering time. > See referenced issue and the following mail thread for more information: > http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201504.mbox/%3CD1495A09.3B670%25anchela%40adobe.com%3E -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (SLING-4585) Performance: Use JackrabbitSession#getItemOrNull to speed up JcrResourceProvider#createResource
[ https://issues.apache.org/jira/browse/SLING-4585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated SLING-4585: Attachment: 0001-SLING-4585-Performance-Use-JackrabbitSession-getItem.patch I have just attached an updated patch for trunk. Because of the Jackrabbit/Oak update, I had to adjust two unrelated tests. Since commons.testing hasn't been released (see SLING-5341), I had to add a dependency to jackrabbit-core. Ideally, this patch is only applied after commons.testing has been released and then the jackrabbit-core dependency can be removed again. Please note that this change breaks compatibility with older Jackrabbit and Oak versions. Carsten has agreed with this change. [~rombert], would you mind taking care of the patch and this issue? > Performance: Use JackrabbitSession#getItemOrNull to speed up > JcrResourceProvider#createResource > --- > > Key: SLING-4585 > URL: https://issues.apache.org/jira/browse/SLING-4585 > Project: Sling > Issue Type: Improvement > Components: JCR, ResourceResolver >Affects Versions: JCR Resource 2.5.0 >Reporter: Joel Richard >Priority: Critical > Labels: performance > Fix For: JCR Resource 2.6.0 > > Attachments: > 0001-SLING-4585-Performance-Use-JackrabbitSession-getItem.patch > > > If the current session is a JackrabbitSession, JcrResourceProvider should use > getItemOrNull (as soon as exported) to save rendering time. > See referenced issue and the following mail thread for more information: > http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201504.mbox/%3CD1495A09.3B670%25anchela%40adobe.com%3E -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (SLING-4585) Performance: Use JackrabbitSession#getItemOrNull to speed up JcrResourceProvider#createResource
[ https://issues.apache.org/jira/browse/SLING-4585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Carsten Ziegeler updated SLING-4585: Fix Version/s: JCR Resource 2.6.0 > Performance: Use JackrabbitSession#getItemOrNull to speed up > JcrResourceProvider#createResource > --- > > Key: SLING-4585 > URL: https://issues.apache.org/jira/browse/SLING-4585 > Project: Sling > Issue Type: Improvement > Components: JCR, ResourceResolver >Affects Versions: JCR Resource 2.5.0 >Reporter: Joel Richard >Priority: Critical > Labels: performance > Fix For: JCR Resource 2.6.0 > > Attachments: > 0001-SLING-4585-Performance-Use-JackrabbitSession-getItem.patch > > > If the current session is a JackrabbitSession, JcrResourceProvider should use > getItemOrNull (as soon as exported) to save rendering time. > See referenced issue and the following mail thread for more information: > http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201504.mbox/%3CD1495A09.3B670%25anchela%40adobe.com%3E -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (SLING-4585) Performance: Use JackrabbitSession#getItemOrNull to speed up JcrResourceProvider#createResource
[ https://issues.apache.org/jira/browse/SLING-4585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated SLING-4585: Attachment: 0001-SLING-4585-Performance-Use-JackrabbitSession-getItem.patch The attached patch is compatible with the following branch: https://github.com/trekawek/sling/commits/SLING-4750 If we don't have to support older Jackrabbit versions, then we can remove the reflection code again. > Performance: Use JackrabbitSession#getItemOrNull to speed up > JcrResourceProvider#createResource > --- > > Key: SLING-4585 > URL: https://issues.apache.org/jira/browse/SLING-4585 > Project: Sling > Issue Type: Improvement > Components: JCR, ResourceResolver >Affects Versions: JCR Resource 2.5.0 >Reporter: Joel Richard >Priority: Critical > Labels: performance > Attachments: > 0001-SLING-4585-Performance-Use-JackrabbitSession-getItem.patch > > > If the current session is a JackrabbitSession, JcrResourceProvider should use > getItemOrNull (as soon as exported) to save rendering time. > See referenced issue and the following mail thread for more information: > http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201504.mbox/%3CD1495A09.3B670%25anchela%40adobe.com%3E -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Updated] (SLING-4585) Performance: Use JackrabbitSession#getItemOrNull to speed up JcrResourceProvider#createResource
[ https://issues.apache.org/jira/browse/SLING-4585?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Joel Richard updated SLING-4585: Description: If the current session is a JackrabbitSession, JcrResourceProvider should use getItemOrNull (as soon as exported) to save rendering time. See referenced issue and the following mail thread for more information: http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201504.mbox/%3CD1495A09.3B670%25anchela%40adobe.com%3E was: If the current session is a JackrabbitSession, JcrResourceProvider should use getItemOrNull (as soon as exported) to save rendering time. See referenced issue and the following mail thread for more information: http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201504.mbox/browser Performance: Use JackrabbitSession#getItemOrNull to speed up JcrResourceProvider#createResource --- Key: SLING-4585 URL: https://issues.apache.org/jira/browse/SLING-4585 Project: Sling Issue Type: Improvement Components: JCR, ResourceResolver Affects Versions: JCR Resource 2.5.0 Reporter: Joel Richard Priority: Critical Labels: performance If the current session is a JackrabbitSession, JcrResourceProvider should use getItemOrNull (as soon as exported) to save rendering time. See referenced issue and the following mail thread for more information: http://mail-archives.apache.org/mod_mbox/jackrabbit-oak-dev/201504.mbox/%3CD1495A09.3B670%25anchela%40adobe.com%3E -- This message was sent by Atlassian JIRA (v6.3.4#6332)