Maven 1.x LinkCheck Plugin
  1. Maven 1.x LinkCheck Plugin
  2. MPLINKCHECK-24

Speed and stability enhancement [better usage of httpClient].

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.2, 1.3.3, 1.3.4
    • Fix Version/s: 1.4
    • Labels:
      None
    • Number of attachments :
      0

      Description

      With a better usage of HttpClient we can have a better stability and velocity.

        Activity

        Hide
        Arnaud Heritier added a comment -

        Here are some tests I made.
        I generated the report (maven maven-linkcheck-plugin:clearcache maven-linkcheck-plugin:report-real) for the m1 root site with different settings :

        maven 1.0.2 (http client 2.0)
        + old linkcheck 1.3.4 : Total time: 6 minutes 12 seconds
        + new linkcheck 1.4 (with some speed enhancements) : Total time: 2 minutes 13 seconds

        maven 1.1 beta 3 (http client 2.0)
        + old linkcheck 1.3.4 : Total time : 9 minutes 9 seconds
        + new linkcheck 1.4 (with some speed enhancements) : Total time : 5 minutes 38 seconds

        maven 1.1 beta 3 (http client 3.0)
        + old linkcheck 1.3.4 : Total time : 14 minutes 45 seconds
        + new linkcheck 1.4 (with some speed enhancements) : Total time : 2 minutes 46 seconds

        These times are approximate because there is always a difference due to the time needed for the web sites to reply between 2 tests.
        I repeated theses tests several times to have results more or less stable and I chacked that the results were consistent.

        The enhancements I made seems to be good compared to 1.3.4 release with all maven config.
        What I don't (yet) understand is why we have so bad results with 1.1 compared to maven 1.0.

        Show
        Arnaud Heritier added a comment - Here are some tests I made. I generated the report (maven maven-linkcheck-plugin:clearcache maven-linkcheck-plugin:report-real) for the m1 root site with different settings : maven 1.0.2 (http client 2.0) + old linkcheck 1.3.4 : Total time: 6 minutes 12 seconds + new linkcheck 1.4 (with some speed enhancements) : Total time: 2 minutes 13 seconds maven 1.1 beta 3 (http client 2.0) + old linkcheck 1.3.4 : Total time : 9 minutes 9 seconds + new linkcheck 1.4 (with some speed enhancements) : Total time : 5 minutes 38 seconds maven 1.1 beta 3 (http client 3.0) + old linkcheck 1.3.4 : Total time : 14 minutes 45 seconds + new linkcheck 1.4 (with some speed enhancements) : Total time : 2 minutes 46 seconds These times are approximate because there is always a difference due to the time needed for the web sites to reply between 2 tests. I repeated theses tests several times to have results more or less stable and I chacked that the results were consistent. The enhancements I made seems to be good compared to 1.3.4 release with all maven config. What I don't (yet) understand is why we have so bad results with 1.1 compared to maven 1.0.

          People

          • Assignee:
            Arnaud Heritier
            Reporter:
            Arnaud Heritier
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: