Uploaded image for project: 'Rust Driver'
  1. Rust Driver
  2. RUST-570

Test suite compile times are extremely slow

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 2.0.0-beta.3
    • Affects Version/s: None
    • Component/s: 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@mongodb.com Patrick Freed
            Reporter:
            patrick.freed@mongodb.com Patrick Freed
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: