poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 61630] [PATCH] Performance Tweaks in XSSFExportToXML
Date Wed, 18 Oct 2017 15:57:18 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=61630

Javen O'Neal <onealj@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All
             Status|NEW                         |NEEDINFO

--- Comment #1 from Javen O'Neal <onealj@apache.org> ---
Did the private selectNode method, which is called by private getNodeByXPath,
and, in turn, other methods, affect the performance?

It looks like the general idea here is to avoid creating a NodeList, since that
eagerly traverses the XML nodes. A lazy traversal approach seems to be
significantly faster here, based on your findings.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Mime
View raw message