flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Maurice Amsellem <maurice.amsel...@systar.com>
Subject RE: Performance issue's
Date Mon, 22 Jul 2013 16:49:23 GMT
Possible solution:
Use serialization => 
1) Built a utility that will parse the XML , convert them to VOs, serialize the VOs and save
the result as a binary file, all at "build" time.
2) embed the binary file into your app.
3) Then at runtime,  read the embedded file then deserialize to get back the VOs.

Maurice 


-----Message d'origine-----
De : Raj U. Shaikh [mailto:Raj.Shaikh@mastek.com] 
Envoyé : lundi 22 juillet 2013 18:22
À : users@flex.apache.org
Objet : Performance issue's

Hi,
I am facing performance issue with application which plays with xml's

Problem is:

1.       There are too many heavy xml embedded in flex modules swf.

2.       After load of these module we start parsing that xml's in to VO's. (Value Object
a simple as3 object)

3.       We use these VO's at different part of application as and when necessary.
While, Profiling application using 'flash builder profiler' I encountered that step 2(parsing
xml's and converting it to Vo's) is taking more time and responsible for many loitering of
xml objects.

Solution is:

1.       I want a utility which will generate a swf which will have as3 VO's converted from
xml's.

2.       Application will load that swf file and start using that VO's directly.
That means I wanted a readymade VO's so that my parsing time will be reduced.

Implementation?
So how can I embed as3 objects instead of xml's into swf/modules?
Or
How can I convert xml's into as3 VO's at compile time? (I am ready with compile time overhead
than runtime)

Clue is:
In BlazeDS, We can convert Java objects into as3 objects.
So similarly can we convert xml's into as3 or xml's into java objects then into as3 objects?



Thanks & Regards,
Raj Shaikh
Senior Software Engineer

Majesco Mastek - P&C Division
Mastek Millennium Center, A-7, Millennium Business Park, Sector 1 Off Thane Belapur Road,
Mahape Navi Mumbai - 400701
 (T) 91 22 27781272 Extn - 5250 | Mobile: 9970395965 | Fax: 91 22 27781332 | www.mastek.com<http://www.mastek.com/>

||yatha dristi, tatha sristi||

MASTEK LTD.
In the US, we're called MAJESCOMASTEK

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Opinions expressed in this e-mail are those of the individual and not that of Mastek Limited,
unless specifically indicated to that effect. Mastek Limited does not accept any responsibility
or liability for it. This e-mail and attachments (if any) transmitted with it are confidential
and/or privileged and solely for the use of the intended person or entity to which it is addressed.
Any review, re-transmission, dissemination or other use of or taking of any action in reliance
upon this information by persons or entities other than the intended recipient is prohibited.
This e-mail and its attachments have been scanned for the presence of computer viruses. It
is the responsibility of the recipient to run the virus check on e-mails and attachments before
opening them. If you have received this e-mail in error, kindly delete this e-mail from desktop
and server.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Mime
View raw message