Bug 282145

Cause: QD-UnD

  • Evidence: "I suspect that the problem is that a Bug object needs to be "lazily initialized." That means that we should only read data from the database at the moment it's asked for, and not before"
  • Evidence: "Most of that data isn't being used by most scripts anyhow"

Fix: DQ

  • "I suspect I'll do a mixture of normal and lazy initialization. That is, some fields will be immediately loaded into a bug. Other fields, that might be less commonly used or slower, would be loaded lazily."

Interesting Finding:

  • Developers leverages profiling to diagnose performance problems
    • "I did some various work on profiling creation 100, 500, and 1000 Bugs in a tight loop (they were the first 100, 500, and 1000 bugs on landfill)"