# Application Chart: Dumbbell Latency Chart

Dumbbell rows comparing p95 latency per endpoint before and after a release, with connector bars, paired dots, and an axis row.

- Page: https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/dumbbell-latency-chart
- Collection: [Application](https://www.shadcn-ui-blocks.com/blocks/application-pro), Standard tier
- Group: [Charts](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts)
- Created: 2026-07-04
- Preview image: https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/dumbbell-latency-chart.png

## Install

```bash
npx shadcn@latest add @shadcn-ui-blocks/application-pro-charts-dumbbell-latency-chart
```

Needs an API key from a Pro or Team plan: add `@shadcn-ui-blocks` to the registries in components.json with the key as an `Authorization: Bearer` header. Setup: https://www.shadcn-ui-blocks.com/docs/shadcn-cli. The MCP server installs it without the setup: https://www.shadcn-ui-blocks.com/docs/mcp.

## Depends on

- Installs to: `@/components/blocks/application-pro/charts/dumbbell-latency-chart`

## About this block

Dumbbell Latency Chart compares p95 latency per endpoint
before and after a release, five rows from POST /v1/checkout
(480 to 210 ms) to GET /v1/account (130 to 95 ms). Each row
is a track with two dots joined by a connector bar: a muted
dot for the before value and a solid dot for the after, so
the size and direction of every improvement reads at a
glance. The header callout names the median change, 39%
faster.

The block is pure CSS positioning from a fixed data array,
no chart library. Each millisecond value maps to a percent
position on the track against a 700 ms maximum, and the
connector spans the gap between the two dots. Swapping in
your before-and-after numbers is a single array update.

## When to use

Reach for this block on a performance or release review page
where the team needs to show the effect of an optimization
per endpoint. Wire the rows to your metrics backend querying
p95 over matched windows on each side of the change, and set
the maximum to your slowest expected value.

A natural flow around it on an Application Pro page:

**Before**

- [Kpi cards row](https://www.shadcn-ui-blocks.com/blocks/application-pro/stat-cards)

**After**

- [Data table](https://www.shadcn-ui-blocks.com/blocks/application-pro/data-tables)
- [Status health](https://www.shadcn-ui-blocks.com/blocks/application-pro/status-health)

## What you can display

One strong use is the before-and-after latency comparison
across endpoints. Other dumbbell reads:

- **Cost per plan.** List price versus discounted price per
  tier to show the spread at a glance.
- **Score movement.** Last quarter versus this quarter per
  team to surface who moved most.
- **Budget versus actual.** Planned versus spent per
  department with the gap as the connector.

> Tip: keep the before dot muted and the after dot solid so
> direction reads without a legend lookup.

## More in Application Charts

- [Area With Range Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/area-with-range-chart)
- [Bubble Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/bubble-chart)
- [Bullet KPI Rows](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/bullet-kpi-rows)
- [Cohort Retention Heatmap](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/cohort-retention-heatmap)
- [Conversion Funnel Bars](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/conversion-funnel-bars)
- [Diverging Survey Bars](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/diverging-survey-bars)
- [Gauge Progress Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/gauge-progress-chart)
- [Grouped Bar Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/grouped-bar-chart)
- [Heatmap Calendar Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/heatmap-calendar-chart)
- [Histogram Distribution Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/histogram-distribution-chart)
- [Horizontal Bar Ranking](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/horizontal-bar-ranking)
- [Latency Percentile Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/latency-percentile-chart)
- [Mrr Stacked Bars](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/mrr-stacked-bars)
- [Multi Line Trend](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/multi-line-trend)
- [Pareto Error Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/pareto-error-chart)
- [Percent Stacked Bars](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/percent-stacked-bars)
- [Plan Mix Donut](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/plan-mix-donut)
- [Radar Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/radar-chart)
- [Radial Usage Rings](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/radial-usage-rings)
- [Revenue Area Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/revenue-area-chart)
- [Scatter Plot Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/scatter-plot-chart)
- [Signups Bar Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/signups-bar-chart)
- [Slope Comparison Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/slope-comparison-chart)
- [Sparkbar Row](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/sparkbar-row)
- [Stacked Category Bars](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/stacked-category-bars)
- [Stepped Area Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/stepped-area-chart)
- [Usage Line Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/usage-line-chart)
- [Waterfall Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/waterfall-chart)
- [Weekly Active Users Chart](https://www.shadcn-ui-blocks.com/blocks/application-pro/charts/weekly-active-users-chart)
