Changes between Initial Version and Version 1 of Ticket #12428


Ignore:
Timestamp:
Mar 11, 2011, 12:52:41 AM (9 years ago)
Author:
liucougar
Comment:

the attached patch also fixes problems such as code block not showing up in http://dojotoolkit.org/api/1.5/dojo/Deferred

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12428 – Description

    initial v1  
    1212user    3m11.700s
    1313sys     0m8.309s
     14(memory usage 2,601KB before the script exists)
    1415}}}
    1516
     
    2223user    0m56.968s
    2324sys     0m0.396s
     25(memory usage 9,475KB  before the script exists)
    2426}}}
    2527
    2628so the performance improvement is about 3x faster when parsing dojo and dijit with the patch than the current version. (the performance improvement is much greater if parsing dojo, dijit and dojox, because the current algorithm has two loops with O2 complexity, and file IO proportional to symbols in the parsed content)
     29
     30it does require 3x memory than current approach, which I think is well worth it