Hey, we are using the shuffle example at https://github.com/get-convex/aggregate/blob/main/example/convex/shuffle.ts but are finding the aggregate.at(ctx, index) to be exceedingly slow.
See the snippet below: async Promise.all takes almost a full second (counted by console.time) for just 30 elements. Is this to be expected?
// indexes has length = 30
const indexes = allIndexes.slice(offset, offset + numItems);
console.time("atIndexes");
const atIndexes = await Promise.all(
indexes.map((i) => profileSubmissionAggregate.at(ctx, i)),
);
console.timeEnd("atIndexes"); // ~1000 milliseconds