Re: TLF Performance Issue fix?

2015-06-06 Thread Harbs
Yes. I hope to have some time this week.

@Jason, help on this would be awesome.

On Jun 6, 2015, at 12:55 AM, Alex Harui aha...@adobe.com wrote:

 Harbs, will you have time to look at the table code’s impact on
 performance?
 
 @Jason.  You can get the repos and follow the README file instructions to
 get set up.   Here is one wiki page that might help [1].  Or you can get
 the code from our github mirrors and submit pull requests as well.
 
 -Alex
 
 [1] 
 https://cwiki.apache.org/confluence/display/FLEX/Git+for+Apache+Flex+Guide
 
 On 6/5/15, 12:14 PM, Jason Taylor ja...@dedoose.com wrote:
 
 Hey guys, we are currently stuck on SDK 4.13 due to the TLF performance
 issue and the huge reliance on TLF in our Dedoose.  Have there been any
 updates on this issue? Are there any projected updates on this issue?
 
 Separately, I would like to get my hands a little dirty here if needed.
 TLF is extremely important to our product, and in the near future we will
 have to implement some required feature.  I know TLF is extremely
 challenging, but it is what it is.   Is there a guide somewhere on
 setting up the Flex SDK, and how to work with the rest of the team in
 solving issues, submitting changes.  I know nothing about that particular
 process but would like to help.  In addition our team has created some
 components that I feel might be valuable to the community that we would
 like to donate. 
 
 ~ JT
 



Re: TLF Performance Issue fix?

2015-06-05 Thread Alex Harui
Harbs, will you have time to look at the table code’s impact on
performance?

@Jason.  You can get the repos and follow the README file instructions to
get set up.   Here is one wiki page that might help [1].  Or you can get
the code from our github mirrors and submit pull requests as well.

-Alex

[1] 
https://cwiki.apache.org/confluence/display/FLEX/Git+for+Apache+Flex+Guide

On 6/5/15, 12:14 PM, Jason Taylor ja...@dedoose.com wrote:

Hey guys, we are currently stuck on SDK 4.13 due to the TLF performance
issue and the huge reliance on TLF in our Dedoose.  Have there been any
updates on this issue? Are there any projected updates on this issue?

Separately, I would like to get my hands a little dirty here if needed.
TLF is extremely important to our product, and in the near future we will
have to implement some required feature.  I know TLF is extremely
challenging, but it is what it is.   Is there a guide somewhere on
setting up the Flex SDK, and how to work with the rest of the team in
solving issues, submitting changes.  I know nothing about that particular
process but would like to help.  In addition our team has created some
components that I feel might be valuable to the community that we would
like to donate. 

~ JT



Re: TLF performance issue

2015-02-27 Thread goratz
Hi Alex, 

As you said I posted the problem in a JIRA bug and I uploaded a File to test
the problem.

I hope this helps you to investigate.

Thank you for all your help.

Here is the JIRA Bug: https://issues.apache.org/jira/browse/FLEX-34769



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue-tp44966p45287.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: TLF performance issue

2015-02-10 Thread Alex Harui


On 2/10/15, 12:05 AM, goratz gor...@gmail.com wrote:

Here you have a Scout screenshot.

http://apache-flex-development.247.n4.nabble.com/file/n45109/TLF_vers
ion_problem.png 

Hi Goratz,

Call Counts is the thing I miss most when using Scout.  If you have a test
case you can file in a JIRA bug, maybe that’s the best way for us to
investigate.

Thanks,
-Alex



Re: TLF performance issue

2015-02-10 Thread goratz
Here you have a Scout screenshot.

http://apache-flex-development.247.n4.nabble.com/file/n45109/TLF_version_problem.png
 



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue-tp44966p45109.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: TLF performance issue

2015-02-09 Thread goratz
Hi Alex,

I used a profiler to see the difference between the two versions and this is
what i see.

In the 4.14 version it spends a lot of time in this methods while in the
4.9.1 version don't.

flash.text.engine::TextBlock/DoCreateTextLine(),flash.text.engine::TextBlock/recreateTextLine(),Function/http://adobe.com/AS3/2006/builtin::apply(),GlobalSWFContext/callInContext()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:2974],flashx.textLayout.compose::BaseCompose/createTextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1375],flashx.textLayout.compose::ComposeState/createTextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:454],flashx.textLayout.compose::ComposeState/composeNextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:396],flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1169],flashx.textLayout.compose::BaseCompose/composeParagraphElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1025],flashx.textLayout.compose::ComposeState/composeParagraphElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:331],flashx.textLayout.compose::BaseCompose/composeBlockElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:439],flashx.textLayout.compose::BaseCompose/composeInternal()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1004],flashx.textLayout.compose::ComposeState/composeInternal()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:150],flashx.textLayout.compose::BaseCompose/composeTextFlow()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:785],flashx.textLayout.compose::ComposeState/composeTextFlow()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:113],flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:681],flashx.textLayout.compose::StandardFlowComposer/internalCompose()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:765],flashx.textLayout.compose::StandardFlowComposer/updateToController()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:561],flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:522],flashx.textLayout.edit::EditManager/updateAllControllers()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:863],flashx.textLayout.edit::EditManager/handleUpdate()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:911],flashx.textLayout.edit::EditManager/finalizeDo()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:708],flashx.textLayout.edit::EditManager/doOperation()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:657],flashx.textLayout.edit::EditManager/applyFormat()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:1667],flashx.textLayout.edit::EditManager/applyLeafFormat()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:1698],IKB_Edit/applyFormat()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_Osagai;;IKB_Edit.as:5795],IKB_Edit/azpimarratu()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_Osagai;;IKB_Edit.as:3914],UNI_Irakurgailua/azpimarratu()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\UNI_APP\UNI_AS;;UNI_Irakurgailua.as:3110],Function/http://adobe.com/AS3/2006/builtin::apply(),IKB_FPak/funtzioaExekutatu_Event()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_ORO;;IKB_FPak.as:90],[mouseEvent]()

Re: TLF performance issue

2015-02-09 Thread Alessandro Palombaro
I've also experienced an issue with TLF and as I was trying to resolve my
issue I noticed in the ParagraphElement class the createTextBlock method is
now being call within the replaceChildren method and am wondering if this
extra call is a catalyst for the performance issues you are having

On Mon, Feb 9, 2015 at 4:59 PM, goratz gor...@gmail.com wrote:

 Hi Alex,

 I used a profiler to see the difference between the two versions and this
 is
 what i see.

 In the 4.14 version it spends a lot of time in this methods while in the
 4.9.1 version don't.


 flash.text.engine::TextBlock/DoCreateTextLine(),flash.text.engine::TextBlock/recreateTextLine(),Function/
 http://adobe.com/AS3/2006/builtin::apply(),GlobalSWFContext/callInContext()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:2974],flashx.textLayout.compose::BaseCompose/createTextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1375],flashx.textLayout.compose::ComposeState/createTextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:454],flashx.textLayout.compose::ComposeState/composeNextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:396],flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1169],flashx.textLayout.compose::BaseCompose/composeParagraphElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1025],flashx.textLayout.compose::ComposeState/composeParagraphElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:331],flashx.textLayout.compose::BaseCompose/composeBlockElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:439],flashx.textLayout.compose::BaseCompose/composeInternal()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1004],flashx.textLayout.compose::ComposeState/composeInternal()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:150],flashx.textLayout.compose::BaseCompose/composeTextFlow()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:785],flashx.textLayout.compose::ComposeState/composeTextFlow()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:113],flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:681],flashx.textLayout.compose::StandardFlowComposer/internalCompose()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:765],flashx.textLayout.compose::StandardFlowComposer/updateToController()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:561],flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:522],flashx.textLayout.edit::EditManager/updateAllControllers()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:863],flashx.textLayout.edit::EditManager/handleUpdate()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:911],flashx.textLayout.edit::EditManager/finalizeDo()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:708],flashx.textLayout.edit::EditManager/doOperation()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:657],flashx.textLayout.edit::EditManager/applyFormat()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:1667],flashx.textLayout.edit::EditManager/applyLeafFormat()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:1698],IKB_Edit/applyFormat()[P
 :\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_Osagai;;IKB_Edit.as:5795],IKB_Edit/azpimarratu()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_Osagai;;IKB_Edit.as:3914],UNI_Irakurgailua/azpimarratu()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\UNI_APP\UNI_AS;;UNI_Irakurgailua.as:3110],Function/
 http://adobe.com/AS3/2006/builtin::apply(),IKB_FPak/funtzioaExekutatu_Event()[P
 :\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_ORO;;IKB_FPak.as:90],[mouseEvent]()

 

Re: TLF performance issue

2015-02-09 Thread Harbs
What about the 4.13 version?

I think we need to determine wether the issue appeared before 4.13 or after 
4.13. The were lots of changes to TLF after 4.13 and very few before.

On Feb 9, 2015, at 10:59 AM, goratz gor...@gmail.com wrote:

 Hi Alex,
 
 I used a profiler to see the difference between the two versions and this is
 what i see.
 
 In the 4.14 version it spends a lot of time in this methods while in the
 4.9.1 version don't.
 
 flash.text.engine::TextBlock/DoCreateTextLine(),flash.text.engine::TextBlock/recreateTextLine(),Function/http://adobe.com/AS3/2006/builtin::apply(),GlobalSWFContext/callInContext()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:2974],flashx.textLayout.compose::BaseCompose/createTextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1375],flashx.textLayout.compose::ComposeState/createTextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:454],flashx.textLayout.compose::ComposeState/composeNextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:396],flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1169],flashx.textLayout.compose::BaseCompose/composeParagraphElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1025],flashx.textLayout.compose::ComposeState/composeParagraphElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:331],flashx.textLayout.compose::BaseCompose/composeBlockElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:439],flashx.textLayout.compose::BaseCompose/composeInternal()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1004],flashx.textLayout.compose::ComposeState/composeInternal()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:150],flashx.textLayout.compose::BaseCompose/composeTextFlow()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:785],flashx.textLayout.compose::ComposeState/composeTextFlow()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:113],flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:681],flashx.textLayout.compose::StandardFlowComposer/internalCompose()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:765],flashx.textLayout.compose::StandardFlowComposer/updateToController()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:561],flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:522],flashx.textLayout.edit::EditManager/updateAllControllers()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:863],flashx.textLayout.edit::EditManager/handleUpdate()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:911],flashx.textLayout.edit::EditManager/finalizeDo()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:708],flashx.textLayout.edit::EditManager/doOperation()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:657],flashx.textLayout.edit::EditManager/applyFormat()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:1667],flashx.textLayout.edit::EditManager/applyLeafFormat()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:1698],IKB_Edit/applyFormat()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_Osagai;;IKB_Edit.as:5795],IKB_Edit/azpimarratu()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_Osagai;;IKB_Edit.as:3914],UNI_Irakurgailua/azpimarratu()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\UNI_APP\UNI_AS;;UNI_Irakurgailua.as:3110],Function/http://adobe.com/AS3/2006/builtin::apply(),IKB_FPak/funtzioaExekutatu_Event()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_ORO;;IKB_FPak.as:90],[mouseEvent]()
 

Re: TLF performance issue

2015-02-09 Thread Harbs
If the problem is in TextBlock.createTextLine(), it kind of sounds like a 
Player issue rather than a TLF issue — unless createTextLine() is being called 
too often.

On Feb 9, 2015, at 10:59 AM, goratz gor...@gmail.com wrote:

 Hi Alex,
 
 I used a profiler to see the difference between the two versions and this is
 what i see.
 
 In the 4.14 version it spends a lot of time in this methods while in the
 4.9.1 version don't.
 
 flash.text.engine::TextBlock/DoCreateTextLine(),flash.text.engine::TextBlock/recreateTextLine(),Function/http://adobe.com/AS3/2006/builtin::apply(),GlobalSWFContext/callInContext()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:2974],flashx.textLayout.compose::BaseCompose/createTextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1375],flashx.textLayout.compose::ComposeState/createTextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:454],flashx.textLayout.compose::ComposeState/composeNextLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:396],flashx.textLayout.compose::BaseCompose/composeParagraphElementIntoLines()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1169],flashx.textLayout.compose::BaseCompose/composeParagraphElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1025],flashx.textLayout.compose::ComposeState/composeParagraphElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:331],flashx.textLayout.compose::BaseCompose/composeBlockElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:439],flashx.textLayout.compose::BaseCompose/composeInternal()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:1004],flashx.textLayout.compose::ComposeState/composeInternal()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:150],flashx.textLayout.compose::BaseCompose/composeTextFlow()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:785],flashx.textLayout.compose::ComposeState/composeTextFlow()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:113],flashx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout/internal/2008::callTheComposer()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:681],flashx.textLayout.compose::StandardFlowComposer/internalCompose()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:765],flashx.textLayout.compose::StandardFlowComposer/updateToController()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:561],flashx.textLayout.compose::StandardFlowComposer/updateAllControllers()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:522],flashx.textLayout.edit::EditManager/updateAllControllers()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:863],flashx.textLayout.edit::EditManager/handleUpdate()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:911],flashx.textLayout.edit::EditManager/finalizeDo()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:708],flashx.textLayout.edit::EditManager/doOperation()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:657],flashx.textLayout.edit::EditManager/applyFormat()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:1667],flashx.textLayout.edit::EditManager/applyLeafFormat()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:1698],IKB_Edit/applyFormat()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_Osagai;;IKB_Edit.as:5795],IKB_Edit/azpimarratu()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_Osagai;;IKB_Edit.as:3914],UNI_Irakurgailua/azpimarratu()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\UNI_APP\UNI_AS;;UNI_Irakurgailua.as:3110],Function/http://adobe.com/AS3/2006/builtin::apply(),IKB_FPak/funtzioaExekutatu_Event()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\IKB_LIB\LIB_ORO;;IKB_FPak.as:90],[mouseEvent]()
 

Re: TLF performance issue

2015-02-09 Thread goratz
I will test with all Apache Flex versions and I will put here the version
where the problem starts.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue-tp44966p45080.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: TLF performance issue

2015-02-09 Thread Alex Harui
Hi,

Can you post a link to a screenshot of the profiler?  I want to see call
counts and the other columns.

Thanks,
-Alex

On 2/9/15, 12:59 AM, goratz gor...@gmail.com wrote:

Hi Alex,

I used a profiler to see the difference between the two versions and this
is
what i see.

In the 4.14 version it spends a lot of time in this methods while in the
4.9.1 version don't.

flash.text.engine::TextBlock/DoCreateTextLine(),flash.text.engine::TextBlo
ck/recreateTextLine(),Function/http://adobe.com/AS3/2006/builtin::apply(),
GlobalSWFContext/callInContext()[/Users/erik/Documents/ApacheFlex/git/flex
-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:2974],flashx.
textLayout.compose::BaseCompose/createTextLine()[/Users/erik/Documents/Apa
cheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.
as:1375],flashx.textLayout.compose::ComposeState/createTextLine()[/Users/e
rik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/com
pose;ComposeState.as:454],flashx.textLayout.compose::ComposeState/composeN
extLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;fla
shx/textLayout/compose;ComposeState.as:396],flashx.textLayout.compose::Bas
eCompose/composeParagraphElementIntoLines()[/Users/erik/Documents/ApacheFl
ex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:11
69],flashx.textLayout.compose::BaseCompose/composeParagraphElement()[/User
s/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/
compose;BaseCompose.as:1025],flashx.textLayout.compose::ComposeState/compo
seParagraphElement()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLay
out/src;flashx/textLayout/compose;ComposeState.as:331],flashx.textLayout.c
ompose::BaseCompose/composeBlockElement()[/Users/erik/Documents/ApacheFlex
/git/flex-tlf/textLayout/src;flashx/textLayout/compose;BaseCompose.as:439]
,flashx.textLayout.compose::BaseCompose/composeInternal()[/Users/erik/Docu
ments/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;Bas
eCompose.as:1004],flashx.textLayout.compose::ComposeState/composeInternal(
)[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/text
Layout/compose;ComposeState.as:150],flashx.textLayout.compose::BaseCompose
/composeTextFlow()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayou
t/src;flashx/textLayout/compose;BaseCompose.as:785],flashx.textLayout.comp
ose::ComposeState/composeTextFlow()[/Users/erik/Documents/ApacheFlex/git/f
lex-tlf/textLayout/src;flashx/textLayout/compose;ComposeState.as:113],flas
hx.textLayout.compose::StandardFlowComposer/http://ns.adobe.com/textLayout
/internal/2008::callTheComposer()[/Users/erik/Documents/ApacheFlex/git/fle
x-tlf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:681
],flashx.textLayout.compose::StandardFlowComposer/internalCompose()[/Users
/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/c
ompose;StandardFlowComposer.as:765],flashx.textLayout.compose::StandardFlo
wComposer/updateToController()[/Users/erik/Documents/ApacheFlex/git/flex-t
lf/textLayout/src;flashx/textLayout/compose;StandardFlowComposer.as:561],f
lashx.textLayout.compose::StandardFlowComposer/updateAllControllers()[/Use
rs/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout
/compose;StandardFlowComposer.as:522],flashx.textLayout.edit::EditManager/
updateAllControllers()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textL
ayout/src;flashx/textLayout/edit;EditManager.as:863],flashx.textLayout.edi
t::EditManager/handleUpdate()[/Users/erik/Documents/ApacheFlex/git/flex-tl
f/textLayout/src;flashx/textLayout/edit;EditManager.as:911],flashx.textLay
out.edit::EditManager/finalizeDo()[/Users/erik/Documents/ApacheFlex/git/fl
ex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:708],flashx.te
xtLayout.edit::EditManager/doOperation()[/Users/erik/Documents/ApacheFlex/
git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:657],fla
shx.textLayout.edit::EditManager/applyFormat()[/Users/erik/Documents/Apach
eFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditManager.as:16
67],flashx.textLayout.edit::EditManager/applyLeafFormat()[/Users/erik/Docu
ments/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;EditMa
nager.as:1698],IKB_Edit/applyFormat()[P:\PRJ_bUniverse\IKB_Flash\bUniverse
\src\IKB_LIB\LIB_Osagai;;IKB_Edit.as:5795],IKB_Edit/azpimarratu()[P:\PRJ_b
Universe\IKB_Flash\bUniverse\src\IKB_LIB\LIB_Osagai;;IKB_Edit.as:3914],UNI
_Irakurgailua/azpimarratu()[P:\PRJ_bUniverse\IKB_Flash\bUniverse\src\UNI_A
PP\UNI_AS;;UNI_Irakurgailua.as:3110],Function/http://adobe.com/AS3/2006/bu
iltin::apply(),IKB_FPak/funtzioaExekutatu_Event()[P:\PRJ_bUniverse\IKB_Fla
sh\bUniverse\src\IKB_LIB\LIB_ORO;;IKB_FPak.as:90],[mouseEvent]()
flashx.textLayout.elements::FlowGroupElement/getChildAt(),flashx.textLayou
t.elements::ParagraphElement/getTables()[/Users/erik/Documents/ApacheFlex/

Re: TLF performance issue

2015-02-06 Thread goratz
Hi Alex I try what you said but the performance is the same. Any other idea?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue-tp44966p45018.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: TLF performance issue

2015-02-06 Thread goratz
Hi Alex I try what you said but the performance is the same. Any other idea?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue-tp44966p45017.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: TLF performance issue

2015-02-06 Thread piotrz
Hi Jude,

I see bunch of performance unit tests in our repo for TLF but I still don't
have free cycles to fix them. 

Piotr 



-
Apache Flex PMC
piotrzarzyck...@gmail.com
--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue-tp44966p45020.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: TLF performance issue

2015-02-06 Thread goratz
I determined that tracing the time before and after that method.

How can i run the performance profiler? Any Guide or tutorial?



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue-tp44966p45036.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: TLF performance issue

2015-02-06 Thread Alex Harui


On 2/6/15, 12:26 AM, goratz gor...@gmail.com wrote:

Hi Alex I try what you said but the performance is the same. Any other
idea?

Hmm, how did you determine that EditManager.applyLeafFormat is involved?
Did you run the performance profiler?  If not, please run it and see what
is going on inside that method.

-Alex



Re: TLF performance issue

2015-02-06 Thread Alex Harui
If you have Flash Builder there is a performance profiler in there.  There
are some internet articles on how to use it.

On 2/6/15, 7:49 AM, goratz gor...@gmail.com wrote:

I determined that tracing the time before and after that method.

How can i run the performance profiler? Any Guide or tutorial?



--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue
-tp44966p45036.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: TLF performance issue

2015-02-05 Thread goratz
Thanks Harbs, the same happens on version 4.13 so the problem isn't the
tables ;)



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue-tp44966p44988.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: TLF performance issue

2015-02-05 Thread Alex Harui
That sounds like the workaround we put in for discretionary hyphens.

Try setting ContainerController.tlf_internal::usesDiscretionaryHyphens =
false;

-Alex

On 2/5/15, 7:00 AM, goratz gor...@gmail.com wrote:

Hi all,

first of all sorry for my English.

I have a very strange performance diference between 2 versions of
TextLayout.swc. The first one is the swc included in Apache Flex 4.14 SDK
and the second one is included in Apache Flex 4.9.1.

I have a very large text more or less 200 DIN-A4 pages in a Textflow. I
scroll to the end of the document and I underline a word and this is my
result underling a word in both versions.

*4.9.1* 21 ms (miliseconds). 0,02 Seconds


*4.14* 3.405 ms (miliseconds). 3,4 Seconds

The time difference happens in this line of code:
EditManager.applyLeafFormat(oFormat);

Anyone has any idea what's the problem?







--
View this message in context:
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue
-tp44966.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: TLF performance issue

2015-02-05 Thread jude
I saw this recently too but didn't see it until recently either. I'm
guessing something slipped through along the way.

Is it possible to add performance tests to must tella? For example, it took
test X 100ms but now it's taking 1000ms. Maybe we can throw a warning?

On Thursday, February 5, 2015, goratz gor...@gmail.com wrote:

 Thanks Harbs, the same happens on version 4.13 so the problem isn't the
 tables ;)



 --
 View this message in context:
 http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue-tp44966p44988.html
 Sent from the Apache Flex Development mailing list archive at Nabble.com.



Re: TLF performance issue

2015-02-05 Thread goratz
Thanks Alex,

I will try it tomorrow and I will tell you if that works.



--
View this message in context: 
http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue-tp44966p44982.html
Sent from the Apache Flex Development mailing list archive at Nabble.com.


Re: TLF performance issue

2015-02-05 Thread Harbs
It’s also possible that the table work introduced performance issues.

On Feb 5, 2015, at 6:12 PM, Alex Harui aha...@adobe.com wrote:

 That sounds like the workaround we put in for discretionary hyphens.
 
 Try setting ContainerController.tlf_internal::usesDiscretionaryHyphens =
 false;
 
 -Alex
 
 On 2/5/15, 7:00 AM, goratz gor...@gmail.com wrote:
 
 Hi all,
 
 first of all sorry for my English.
 
 I have a very strange performance diference between 2 versions of
 TextLayout.swc. The first one is the swc included in Apache Flex 4.14 SDK
 and the second one is included in Apache Flex 4.9.1.
 
 I have a very large text more or less 200 DIN-A4 pages in a Textflow. I
 scroll to the end of the document and I underline a word and this is my
 result underling a word in both versions.
 
 *4.9.1* 21 ms (miliseconds). 0,02 Seconds
 
 
 *4.14* 3.405 ms (miliseconds). 3,4 Seconds
 
 The time difference happens in this line of code:
 EditManager.applyLeafFormat(oFormat);
 
 Anyone has any idea what's the problem?
 
 
 
 
 
 
 
 --
 View this message in context:
 http://apache-flex-development.247.n4.nabble.com/TLF-performance-issue
 -tp44966.html
 Sent from the Apache Flex Development mailing list archive at Nabble.com.