Test suite compile times are extremely slow

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 2.0.0-beta.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      Any small change to the tests introduces a compile time of at least 30s (on my machine, at least). This makes developing and testing the driver a much slower experience than it needs to be. Based on initial profiling, it appears most of the time spent is in the evaluate_obligation function in rustc, which indicates that conditional compilation may have something to do with this. We should investigate our extensive usage of macros in the tests and see if we can cut down on the compile time.

              Assignee:
              Patrick Freed
              Reporter:
              Patrick Freed
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: