getAllOptions performance update.