[go: up one dir, main page]

Skip to content

Create a Script to Monitor a User Journey (Workflow) - Code Review

Proposal

Write a script for sitespeed to allow our tool to track a user journey, following multiple steps and assessing performance along the way.

What's being asked?

Context: https://gitlab.com/gitlab-com/create-stage/create-engineering-managers/-/issues/529

Overview

The sitespeed.io tool allows you to script a user journey to measure the performance of a complete user workflow. Here is an example. You can script the behavior of visiting multiple pages, clicking links, and performing any action you wish.

Purpose

The purpose of this issue is to iterate on how we measure performance. We want to monitor the performance of a complete user journey (workflow).

What am I being asked to do?

  • 1. Identify the top 3 or 5 most popular User worklows
  • 2. Identify the 3 to 5 slowest User workflows
  • 3. Identify logic that is used in multiple places that if improved would deliver a more far reaching positive performance improvement
  • 4. Work with PM and UX to determine the User Journey to script for this OKR based on what was identified in (1-3 above)
  • 5. Run the script for 3 runs and share the results in this issue
  • 6. Create an issue that investigates opportunities for performance improvements for the slowest step(s)

Example of a User Journey (Workflow)

Measure the total time for this workflow:

  1. User clicks on a repository
  2. User makes a change
  3. User opens an MR
  4. User clicks Merge

The goal is to measure the time it takes for each step and try to identify which steps are the slowest steps in the process and determine whether or not we dan optimize those steps.

Steps

  • Collaborate with Product and Product Designers to identify a meaningful first journey to track.
  • Implement script