Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-15398

CDI Builder is sloooow

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 4.1.1.Alpha2, 4.2.0.Alpha1
    • 4.1.0.Final
    • cdi
    • None

      After cloning https://github.com/wildfly/wildfly, if you import all 130 projects as Maven projects, the CDI nature is automatically added via an m2e configurator.

      52 minutes after the import, the workspace is currently building at 81% and counting. Random jstack calls show most of the time is spent in the CDI Builder, as shown on the progress bar.

      If I import the same projects in Luna (haven't tried on an clean KeplerEE distro yet) without CDI support (and admittedly the bulk of JBT), import+build complete in ~12/13 min

        1. cdi-build-1.txt
          24 kB
          Fred Bricon
        2. cdi-build-2.txt
          24 kB
          Fred Bricon
        3. cdi-build-3.txt
          24 kB
          Fred Bricon
        4. MemoryUsedOnWildflyBuild.png
          269 kB
          Viacheslav Kabanovich
        5. MemoryUsedWithNewMaven.png
          218 kB
          Viacheslav Kabanovich
        6. MemoryUsedWithNewMavenAfterBuild.png
          191 kB
          Viacheslav Kabanovich

              scabanovich Viacheslav Kabanovich (Inactive)
              fbricon@redhat.com Fred Bricon
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: