SwiftUI Chat Performance Optimization – Typing Lag in Large Threads

Job ID: 40242384

Budget: $250 – $750 USD

We are building a real-time chat in SwiftUI and are experiencing performance issues in large conversations.

Current problems

Keyboard lag while typing

Dropped frames when scrolling

Performance gets worse as more messages are loaded

Realtime updates (new messages, typing indicator, link previews) cause additional UI stutter

The goal is for the chat to feel as smooth as a modern messaging app even with large message history.

Tech stack

SwiftUI

Real-time messaging

Lazy-loaded message history

Link preview detection in the composer

What we need (Phase 1)

This project will start with a small performance diagnostic.

You will:

Profile the chat screen using Instruments

Identify the main-thread bottleneck while typing

Explain which state updates are triggering excessive view re-renders

Provide a short, prioritized fix plan

Deliverables for Phase 1

Screen recording of Instruments session

Short written summary of findings

Clear list of recommended next steps

Project structure

We will begin with a small paid milestone for the performance diagnostic (~$80).
Additional milestones will be added only after successful delivery of each phase.

What we’re looking for

Strong SwiftUI performance experience

Experience optimizing chat, feed, or other large scrollable interfaces

Comfortable using Instruments to diagnose UI issues

Focus on measurable performance improvements

To apply, please answer:

Have you optimized a SwiftUI chat, feed, or large list before? What was the bottleneck?

What do you usually check in Instruments for typing lag in SwiftUI?

How would you prevent a large message array from causing excessive re-renders?