Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-8962

Provide an option to generate Java stubs in memory for better compilation performance

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-beta-1
    • None
    • None

    Description

      The option to enable generating Java stubs in memory is memStub, which is one of jointCompilationOptions:

              def config = new CompilerConfiguration()
              config.jointCompilationOptions = [memStub: true]
      

      See the discussion in the dev mailing list:
      http://groovy.329449.n5.nabble.com/PROPOSAL-Provide-an-option-to-generate-stubs-in-in-momery-file-system-for-better-compiling-performane-tt5756151.html

      P.S. A better implementation is found, so no 3rd-party lib is required.

      Attachments

        Issue Links

          Activity

            People

              daniel_sun Daniel Sun
              daniel_sun Daniel Sun
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h