Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/xmtp/xmtp-react-native into…
Browse files Browse the repository at this point in the history
… np/v3-only-dms
  • Loading branch information
nplasterer committed Oct 25, 2024
2 parents 2d4b4eb + e1862c0 commit 97de67d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions example/src/tests/groupPerformanceTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,15 @@ test('testing large group listings with ordering', async () => {
end = Date.now()
console.log(`Bo synced ${groups.length} groups in ${end - start}ms`)

start = Date.now()
await boClient.conversations.syncAllGroups()
end = Date.now()
console.log(`Bo synced all ${groups.length} groups in ${end - start}ms`)
assert(
end - start < 30000,
'Syncing all 1000 groups should take less than a 30 second'
)

start = Date.now()
groups = await boClient.conversations.listGroups()
end = Date.now()
Expand Down

0 comments on commit 97de67d

Please sign in to comment.