High CPU usage in Tidepool Web

Description

Problem

One some machines (e.g. Gerrit's), there is pretty high CPU/GPU usage in Tidepool Web, even when there's no data in the account. The Chrome Task Manager shows the "GPU Process" running at around 80% and the Tidepool Tab process running at around 40%. When switching to another tab, both processes drop to <5%.

Done Criteria

None

Design Specifications:

None

Accessibility Specifications

None

Test Strategy


  1. Create account on dev (fix applied)

  2. Visit the basics, daily, bgLog, trends, and settings views and record CPU Usage

  3. Visit the basics, daily, bgLog, trends, and settings views with a `?animateStats=false` query param set and record CPU usage

    1. Ensure that the idle CPU usage drops down to nearly zero, and for the most part stays there after a short wait while the loading activity wraps up.

Test Verification Doc:

Status

Priority

Assignee

Clint Beacock

QA Assignee

Ginny Yadav

Reporter

Janet Diehl

Requested By (External)

None

Fix versions

T-Shirt Size

S: 2-3 days

Risk Level

0

User Issue

11

Components

None

Pre-Risk Mitigation

None

Design Review Required?

No

Design Approved By:

None

Accessibility Review Required?

None

Accessibility Review Approved By

None

Approved for Production By:

Tapani

Marketing Comms

No

Support Follow Up

No

KB Update

No

Dev Documentation

N/A

KissMetrics Events Implemented?

N/A

Labels