flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Harbs <harbs.li...@gmail.com>
Subject Re: TLF performance issue
Date Mon, 09 Feb 2015 09:45:27 GMT
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 <goratz@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]()
> flashx.textLayout.elements::FlowGroupElement/getChildAt(),flashx.textLayout.elements::ParagraphElement/getTables()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/elements;ParagraphElement.as:327],flashx.textLayout.elements::ParagraphElement/http://ns.adobe.com/textLayout/internal/2008::getTextBlockStart()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/elements;ParagraphElement.as:302],flashx.textLayout.elements::ParagraphElement/http://ns.adobe.com/textLayout/internal/2008::getTextBlockAbsoluteStart()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/elements;ParagraphElement.as:290],flashx.textLayout.edit::SelectionManager$/computeSelectionIndexInLine()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;SelectionManager.as:1725],flashx.textLayout.edit::SelectionManager$/http://ns.adobe.com/textLayout/internal/2008::computeSelectionIndex()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;SelectionManager.as:1911],flashx.textLayout.edit::SelectionManager/selectionPoint()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;SelectionManager.as:937],flashx.textLayout.edit::SelectionManager/http://ns.adobe.com/textLayout/internal/2008::setNewSelectionPoint()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;SelectionManager.as:1927],flashx.textLayout.edit::SelectionManager/http://ns.adobe.com/textLayout/internal/2008::handleMouseEventForSelection()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;SelectionManager.as:2059],flashx.textLayout.edit::SelectionManager/mouseMoveHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;SelectionManager.as:2049],flashx.textLayout.container::ContainerController/mouseMoveHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/container;ContainerController.as:2374],flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::rootMouseMoveHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/container;ContainerController.as:2381],[mouseEvent]()
> [verify](),flashx.textLayout.compose::TextFlowLine/http://ns.adobe.com/textLayout/internal/2008::hilitePointSelection()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/compose;TextFlowLine.as:2206],flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::addSelectionShapes()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/container;ContainerController.as:2982],flashx.textLayout.edit::SelectionManager/addSelectionShapes()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;SelectionManager.as:1223],flashx.textLayout.edit::SelectionManager/refreshSelection()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;SelectionManager.as:1255],flashx.textLayout.edit::SelectionManager/http://ns.adobe.com/textLayout/internal/2008::setSelectionFormatState()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;SelectionManager.as:896],flashx.textLayout.edit::SelectionManager/focusInHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/edit;SelectionManager.as:2260],flashx.textLayout.container::ContainerController/focusInHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/container;ContainerController.as:2494],flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::requiredFocusInHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/container;ContainerController.as:2512],[focusEvent](),flash.display::Stage/set
> focus(),flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::setFocus()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/container;ContainerController.as:2413],flashx.textLayout.container::ContainerController/mouseDownHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/container;ContainerController.as:2215],flashx.textLayout.container::ContainerController/http://ns.adobe.com/textLayout/internal/2008::requiredMouseDownHandler()[/Users/erik/Documents/ApacheFlex/git/flex-tlf/textLayout/src;flashx/textLayout/container;ContainerController.as:2236],[mouseEvent]()
> 
> 
> 
> 
> 
> --
> View this message in context: http://apache-flex-development.2333347.n4.nabble.com/TLF-performance-issue-tp44966p45075.html
> Sent from the Apache Flex Development mailing list archive at Nabble.com.


Mime
View raw message