Uploaded image for project: 'Apache IoTDB'
  1. Apache IoTDB
  2. IOTDB-1133

Reduce the code compilation time

    XMLWordPrintableJSON

Details

    Description

      Now, due to the introduction of vulnerabilities check, the code compilation time is greatly increased, which makes developers need to wait a lot of time for the compilation to complete when testing. I think it's better to add one configuration when building the codes , so that when testing, we can disable the vulnerabilities check.

      And we can see from the result that, when disabling the vulnerabilities check, the compilation speed is more than doubled.

       

      The following command can be used to skip the vulnerabilities check.

      mvn clean package Diotdb.vulnerabilities.skip=true

       

       

      Attachments

        1. image-2021-01-27-19-31-51-791.png
          159 kB
          Houliang Qi
        2. image-2021-01-27-19-31-44-993.png
          140 kB
          Houliang Qi

        Issue Links

          Activity

            People

              houliang Houliang Qi
              houliang Houliang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: