# Performance Improvements on the Contacts Page | List View

**URL:** <https://forum.communityhealthtoolkit.org/t/performance-improvements-on-the-contacts-page-list-view/3501>\
**Category:** Product\
**Tags:** ui-ux, performance\
**Created:** [May 9, 2024, 3:56pm UTC](https://forum.communityhealthtoolkit.org/t/performance-improvements-on-the-contacts-page-list-view/3501 "2024-05-09T15:56:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![michael](https://communityhealthtoolkit.b-cdn.net/user_avatar/forum.communityhealthtoolkit.org/michael/32/319_2.png) [@michael](https://forum.communityhealthtoolkit.org/u/michael)\
**Post date:** [May 9, 2024, 3:56pm UTC](https://forum.communityhealthtoolkit.org/t/performance-improvements-on-the-contacts-page-list-view/3501/1 "2024-05-09T15:56:31Z")

</div>

**TL;DR** _The List View of the Contacts Page is now much faster._

# Overview

We have been working on improving the performance of the CHT. Previously, [we worked on the _Detail View_ of the Contacts Page](https://forum.communityhealthtoolkit.org/t/performance-improvements-on-the-contacts-page-detail-view/3486). To quantify these improvements, we’ve been running simulated user behavior on physical devices and [evaluating apdex scores](https://forum.communityhealthtoolkit.org/t/evaluating-app-performance-using-apdex-lets-dive-in-and-look-at-an-example/3475). To see more about how we tested these, see [this post](https://forum.communityhealthtoolkit.org/t/performance-improvements-on-the-contacts-page-detail-view/3486#how-we-tested-3).

# Area of Focus

We worked on speeding up the List View of the Contacts Page. This is the first thing users see when they tap on the tab, and it is probably the most visited screen in the app.

 ![demo-cht.dev.medicmobile.org_(Nexus 5X)](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/7/73e9338eac2953c3fefb56877ce994232c23a8a3.png)

# Results

_ **Significant gains were achieved** _. The baseline score was 0.68 (Poor) and the score with the updates was 0.91 (Good). This page implements lazy loading, where only a subset of rows initially, and loads more rows as the user scrolls through the list. CHWs are normally seeing a list of households on this screen. Their phones typically show between 8 and 12 households within the frame of the screen and they typically have fewer than 150 households total in the list. The improvement was achieved by reducing the number of households loaded during the initial and subsequent loads from 50 down to 25.

_Apdex scoring_

 ![apdex_legend-2024-05-06_12-29-04](https://communityhealthtoolkit.b-cdn.net/uploads/default/original/2X/8/8a576867546ad956ffb10dc2a9a2a2273007f4d0.png)

| Snapshot | Satisfied | Tolerable | Frustrated | Total | Apdex Score | Level |
| --- | --- | --- | --- | --- | --- | --- |
| Baseline | 22 | 37 | 1 | 60 | 0.68 | (✖) Poor |
| **After** | **50** | **9** | **1** | **60** | **0.91** | **(★) Good** |

# Summary

The changes are expected to be included in [4.8.0](https://github.com/medic/cht-core/milestone/128?closed=1) . The only thing you need to do to take advantage of this massive performance gain is to upgrade to this version.
