Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-17794

.NET: Thin 3.0: Fix source generator performance

    XMLWordPrintableJSON

Details

    Description

      ErrorGroupsGenerator and ExceptionsGenerator convert Java error groups and classes into C#. Those generators run unconditionally and perform full code generation on every Execute call, which happens very often (as you type in the IDE).

      Change the logic to run only once after initialization. This means a rebuild is required if Java side of things has changed, which is fine. Alternatively, set up a FileSystemWatcher to detect Java code changes.

      Attachments

        Issue Links

          Activity

            People

              ptupitsyn Pavel Tupitsyn
              ptupitsyn Pavel Tupitsyn
              Igor Sapego Igor Sapego
              Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 10m
                  10m