Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Adam Lally (Work started) (JIRA) <dev-HHKbSdsD6WQPKjDvHGQMeg <at> public.gmane.org>
Subject: [jira] [Work started] (UIMA-2385) Improve XmiCasDeserializer performance by using low-level CAS APIs to create arrays
Newsgroups: gmane.comp.apache.uima.devel
Date: Monday 9th April 2012 14:51:18 UTC (over 4 years ago)
[ https://issues.apache.org/jira/browse/UIMA-2385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Work on UIMA-2385 started by Adam Lally.

> Improve XmiCasDeserializer performance by using low-level CAS APIs to
create arrays
>
-----------------------------------------------------------------------------------
>
>                 Key: UIMA-2385
>                 URL: https://issues.apache.org/jira/browse/UIMA-2385
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>    Affects Versions: 2.4.0SDK
>            Reporter: Adam Lally
>            Assignee: Adam Lally
>
> I profiled an expensive CAS deserialization and found that 46% of the
time was in CASImpl.ll_getFSForRef (the method that creates a
FeatureStructure Java object for a CAS FS).  All those calls were coming
from deserializing arrays (of which this particular CAS has many).
> It is unnecessary to create FeatureStructure Java objects here.  For
non-array FSs, XmiCasDeserializer uses low-level CAS APIs in order to avoid
this overhead.  But for arrays, it currently does not use the low-level
APIs.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA
administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
 
CD: 10ms