code: func (db *DB) Stats() Stats {
  	db.statlock.RLock()
  	defer db.statlock.RUnlock()
  	return db.stats
  }
docs: // Stats retrieves ongoing performance stats for the database.
  // This is only updated when a transaction closes.