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

Styleprotochain#getstyleManager shouldn't be called twice during style computations

    XMLWordPrintableJSON

Details

    Description

      Styleprotochain#getstyleManager is hot on mobile ios cpu profile
      this patch will probably mainly benefit to ios aot deployments.

      Styleprotochain#getTypeHierarchy now takes the stylemanager as a parameter : this will reduce the number of call to getstyleManager.

      Attachments

        1. 0001-getStyleManager-optimization.patch
          2 kB
          Benoit Wiart
        2. getstylemanager-example-2-desktop-cpu.png
          38 kB
          Benoit Wiart
        3. getstylemanager-example-1-mobile-cpu.png
          103 kB
          Benoit Wiart

        Activity

          People

            jmclean Justin Mclean
            benoitw Benoit Wiart
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: