Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-33874

Binding management is memory inefficient when using the defaultDestFunc

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

      Description

      This issue is mainly about memory optimization
      It comes from profiling a real world (complex) application on mobile & desktop
      Optimizations will also apply to desktop

      mx.binding.Binding use exception/error as control flow.
      While it's perfectly valid, it's seems to be very bad from the memory allocation side (as reported by Scout)

      Will provide a patch as a basis for discussion.

        Attachments

        1. binding-4-before-mobile-cpu.png
          74 kB
          Benoit Wiart
        2. binding-3-before-mobile-cpu.png
          56 kB
          Benoit Wiart
        3. binding-2-desktop-memory.png
          204 kB
          Benoit Wiart
        4. binding-1-desktop-memory.png
          235 kB
          Benoit Wiart
        5. 0001-binding-regression.patch
          3 kB
          Benoit Wiart

          Activity

            People

            • Assignee:
              jmclean Justin Mclean
              Reporter:
              benoitw Benoit Wiart

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment