Performance/BetterIO

From MozillaWiki
Jump to navigation Jump to search

BetterIO is a project to improve Firefox's IO efficiency. This involves SQLite schema changes, using custom storage formats, avoid unnecessary IO, etc.

Measure Existing IO

  • We need to telemetry to verify suspect areas
  • track async io query times bug 693667
  • Examine SQL queries on startup bug 692832

Better Testing

  • xperf tests(jmaher)

Delay IO

  • Delay opening of sqlite databases until they are needed
  • Delay cloning sqlite connections(do we have evidence that this is expensive?)
  • Avoid sqlite fsyncs on first startup bug 692408

Move IO away from main thread