Ticket #1600 (closed bug: fixed)
getChildValue() on GeoRSS format is slow
| Reported by: | edgemaster | Owned by: | edgemaster |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.7 Release |
| Component: | Format.GeoRSS | Version: | SVN |
| Keywords: | Cc: | ||
| State: | Complete |
Description
The getChildValue function on Format.GeoRSS seriously slows down parsing of large documents (~100 features) The firebug profiler says that each call is averaging 5.57ms, with max of 500ms, totalling 2785ms for 500 calls.
On a hunch, I patched the function to not use an exception handler, this resulted in a considerable speedup, avg 0.406ms, max 0.908ms, total 118.442ms for the same 500 calls.
Attached is a testcase and patch to current trunk, georss tests pass.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

