Results 1 to 2 of 2

Thread: Object instantiation tracer (app optimization)

  1. #1
    Sencha User
    Join Date
    Dec 2014
    Posts
    1

    Default Object instantiation tracer (app optimization)

    Hi,

    I'm working on a web application using ExtJS 4.2.1. The application launch is really slow, because there are (too) many elements to load. I would like to make a trace of all ExtJS object created, in order to make a "map" of each instantiation and try to optimize my application afterwards.

    I was thinking about modifying the Ext-all-debug.js file. Is there a method called before each object instantiation ? I would like to modify it.

    Thanks

    Sorry for my english ; )

  2. #2
    Sencha Premium User lumberjack's Avatar
    Join Date
    Nov 2014
    Location
    Kansas
    Posts
    781
    Answers
    102

    Default

    Any modifications to Ext source files should be avoided.

    Each component that extends from Ext.Component will have a boxready event that is fired once, after the component has been laid out for the first time. You could put in an override to add a listener for this event any time a component is generated.

    Regards,
    Brian

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •