Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-4237

Disabling weld in wildfly strangely degrade JSF performance

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 8.2.0.Final
    • JSF
    • None
    • Windows 7 64 bit,
      Oracle JDK 1.7.60 64bit,
      Wildfly 8.2.0.Final
      JSF 2.2

    • Hide
      1. Edit the standalone.xml in wildfly and disable weld (I disable it by removing the following two lines):
        <extensions>
            ..............
            <extension module="org.jboss.as.weld"/>
            ..............
        </extensions>
        <profile>
             ..............
            <subsystem xmlns="urn:jboss:domain:weld:2.0"/>
        </profile>
        
      2. Download my sample JSF project and deploy it (Its basically a JSF page with multiple components and an ajax button).
      3. Send ajax requests multiple times and measure the response duration using an inspection tool (I used chrome inspection tool)
      4. Repeat the previous steps with weld enabled and check the responses time difference
      Show
      Edit the standalone.xml in wildfly and disable weld (I disable it by removing the following two lines): <extensions> .............. <extension module="org.jboss.as.weld"/> .............. </extensions> <profile> .............. <subsystem xmlns="urn:jboss:domain:weld:2.0"/> </profile> Download my sample JSF project and deploy it (Its basically a JSF page with multiple components and an ajax button). Send ajax requests multiple times and measure the response duration using an inspection tool (I used chrome inspection tool) Repeat the previous steps with weld enabled and check the responses time difference

      The ajax response time dramatically increases by increasing the number of JSF components when weld is disabled.

      This doesn't make sense and I have no idea why does it occur

      WELD ENABLED

      WELD DISABLED

              dtikhomi@redhat.com Dmitrii Tikhomirov
              tefaa89_jira Mostafa Abdelkhalek (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: