Skip to content

perf(benchmark): extend baseline profile to send/chat, search, and cash bill#1029

Merged
bmc08gt merged 1 commit into
code/cashfrom
perf/expand-baseline-profile
Jul 2, 2026
Merged

perf(benchmark): extend baseline profile to send/chat, search, and cash bill#1029
bmc08gt merged 1 commit into
code/cashfrom
perf/expand-baseline-profile

Conversation

@bmc08gt

@bmc08gt bmc08gt commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Broaden the generated baseline profile beyond discovery so more warm paths are AOT-compiled on cold start. Also fixes giveJourney, which tapped "Give" (the nav label is "Cash") and had silently been a no-op — the cash screen/keypad/bill were never profiled.

Journey additions to BaselineProfileGenerator (all Maestro-validated, money-safe):

  • Send -> contact list: pull-to-reveal search, type random chars (empty state), clear; open the first contact and send a text message (fund-free; contact not hardcoded); scroll the message list.
  • Cash: pull out the smallest bill ($0.01) then Cancel — a self-reclaiming round-trip (net ~0); never Share/Collect. An un-shared bill is auto-reclaimed on relaunch, so a mid-journey failure self-heals.
  • Refactor both auth branches to a shared authenticatedJourneys().

New testTags (exposed only in UI_TESTABLE variants, not shipping release):

  • send_contact_list, send_contact_row, send_search_field, send_search_clear
  • chat_screen, chat_message_list, chat_send_message_button, chat_message_input, chat_send_icon

Regenerated profile now covers TokenLeaderboard/TokenInfoScreen/MarketCapChart, ContactList/ContactListScreen, MessengerScreen/MessageList/ChatInput, SearchInput, and CashScreen/AnimatedBill/CashBill.

…sh bill

Broaden the generated baseline profile beyond discovery so more warm paths are
AOT-compiled on cold start. Also fixes giveJourney, which tapped "Give" (the nav
label is "Cash") and had silently been a no-op — the cash screen/keypad/bill were
never profiled.

Journey additions to BaselineProfileGenerator (all Maestro-validated, money-safe):
- Send -> contact list: pull-to-reveal search, type random chars (empty state),
  clear; open the first contact and send a text message (fund-free; contact not
  hardcoded); scroll the message list.
- Cash: pull out the smallest bill ($0.01) then Cancel — a self-reclaiming
  round-trip (net ~0); never Share/Collect. An un-shared bill is auto-reclaimed on
  relaunch, so a mid-journey failure self-heals.
- Refactor both auth branches to a shared authenticatedJourneys().

New testTags (exposed only in UI_TESTABLE variants, not shipping release):
- send_contact_list, send_contact_row, send_search_field, send_search_clear
- chat_screen, chat_message_list, chat_send_message_button, chat_message_input,
  chat_send_icon

Regenerated profile now covers TokenLeaderboard/TokenInfoScreen/MarketCapChart,
ContactList/ContactListScreen, MessengerScreen/MessageList/ChatInput, SearchInput,
and CashScreen/AnimatedBill/CashBill.

Signed-off-by: Brandon McAnsh <git@bmcreations.dev>
@bmc08gt bmc08gt self-assigned this Jul 2, 2026
@github-actions github-actions Bot added the area: ui Compose UI, theme, components, resources label Jul 2, 2026
@bmc08gt bmc08gt merged commit d6689ae into code/cash Jul 2, 2026
3 checks passed
@bmc08gt bmc08gt deleted the perf/expand-baseline-profile branch July 2, 2026 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: ui Compose UI, theme, components, resources

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant