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

Improve ArrayList performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • Apache Flex 4.10.0
    • Apache Flex 4.12.0
    • Collections
    • Macos, Mobile (Air)

    Description

      Arraylist creation is a performance pb when deserializing amf response.
      On mobile the uid creation in the constructor is the bottleneck source

      With this patch the uid is lazily created in the getter

      Profiling was done with Adobe Scout

      Attachments

        1. TestUIDPerf.fxp
          15 kB
          Maurice Amsellem
        2. flex.png
          26 kB
          Benoit Wiart
        3. 0001-ArrayList-creation-optimization.patch
          1 kB
          Benoit Wiart

        Activity

          People

            Unassigned Unassigned
            benoitw Benoit Wiart
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: