[wp-trac] [WordPress Trac] #24373: WordPress Importer - Strict Standards compatibility
WordPress Trac
noreply at wordpress.org
Thu Aug 6 16:34:53 UTC 2015
#24373: WordPress Importer - Strict Standards compatibility
--------------------------+----------------------------
Reporter: kpdesign | Owner:
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: WordPress.org
Component: Import | Version: 3.6
Severity: normal | Resolution:
Keywords: dev-feedback | Focuses:
--------------------------+----------------------------
Comment (by rmccue):
Replying to [comment:47 netweb]:
> Hey @rmccue, have you actually started anything based off of this tweet
of yours?
I have, yes :) Will get that up at some point, just need to get it to
semi-usable first.
Only written the parsing stage so far, but on a 41MB WXR file:
* Old parser: 3.32s, 132.5MB
* New parser: 3.11s, 19.3MB
This is based on an XML pull parser, specifically XMLReader. This means we
process on-the-fly rather than loading the whole thing into memory then
doing actions with it. This means slightly tighter coupling between the
parser and the processing, but it shouldn't be too bad.
I expect the time will come out a bit faster, but the memory should be
significantly reduced.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/24373#comment:48>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list