Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4034

calls to ResourceStreamLocator.locate() are causing serious performance issues when locating wicket resources

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • 1.5-RC7
    • None
    • wicket
    • Linux MInt 11 Katya, JDK 1.6.0_26

    Description

      Calls to ResourceStreamLocator.locate() method for wicket resources (check bellow for searched resources) is causing serious performace issues.

      Resources searched:
      org/apache/wicket/markup/html/wicket-event_en_US.js
      org/apache/wicket/markup/html/wicket-event_en.js
      org/apache/wicket/markup/html/wicket-event.js
      org/apache/wicket/ajax/wicket-ajax_en_US.js
      org/apache/wicket/ajax/wicket-ajax_en.js
      org/apache/wicket/ajax/wicket-ajax.js

      Check quickstart for example (check log):
      run command: "mvn clean jetty:run" to see original performance (on my machine home page renders in 239 ms)
      run command "mvn -Dworkaround=true clean jetty:run" to see the performance with workaround (on my machine home page renders in 60ms)

      Attachments

        1. wicket-issue-4034.zip
          28 kB
          Armando Ota

        Activity

          People

            Unassigned Unassigned
            armandoxxx Armando Ota
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: