Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1264

Performance problem with SHARED coverage recorder in Grails app

    XMLWordPrintable

Details

    Description

      Follow up of CLOV-1189.

          setuptask = { ant, binding, plugin ->
              ant.'clover-setup'(initstring: ".clover/common.db") {
                  ant.fileset(dir: "grails-app", includes: "**/domain/**, **/controllers/**, **/jobs/**, **/services/**, **/taglib/**, **/utils/**") { }
                  ant.fileset(dir: "src", includes: "**/*.groovy, **/*.java", excludes: "**/script@*.groovy, **/system/generator/**, **/system/database/generators/**, **/castor/**") { }
                  ant.fileset(dir: "test", includes: "**/*.groovy") { }
                  // ant.testsources(dir: "test", enabled: false) { }
                  ant.profiles {
                      ant.profile(name: "default", coverageRecorder: "SHARED")
                  }
              }
          }
      

      If I uncomment the testsources enabled:false line, it runs about as quickly as before. Normally our coverage run takes about 42 minutes. With the above configuration it's been running for about 3 hours and is about half finished.

      Attachments

        1. clover-3.1.12-SNAPSHOT.z01
          8.00 MB
        2. clover-3.1.12-SNAPSHOT.zip
          3.77 MB
        3. clover-3.1.12-SNAPSHOT-V2.z01
          6.50 MB
        4. clover-3.1.12-SNAPSHOT-V2.zip
          5.27 MB
        5. grails-clover-3.1.11.1.zip
          11 kB

        Activity

          People

            mparfianowicz Marek Parfianowicz
            mparfianowicz Marek Parfianowicz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: