---
title: "MotionMark: A New Graphics Benchmark"
description: "MotionMark is a browser graphics benchmark that measures how complex a scene can get before the frame rate falls below 60 fps, instead of measuring frame rate on a fixed scene."
url: "https://swe.quest/articles/motionmark-a-new-graphics-benchmark-5da40d5018884d59"
canonical: "https://webkit.org/blog/6943/motionmark-a-new-graphics-benchmark/"
source: "WebKit"
published: "2016-09-21"
difficulty: "medium"
kind: "Deep dive"
reading_minutes: 8
tags: ["browsers","web-performance","performance"]
---

# MotionMark: A New Graphics Benchmark

A post on [WebKit](https://swe.quest/sources/webkit.md), published 2016-09-21, 8 min read, Deep dive. Original: [https://webkit.org/blog/6943/motionmark-a-new-graphics-benchmark/](https://webkit.org/blog/6943/motionmark-a-new-graphics-benchmark/)

## Summary

MotionMark is a browser graphics benchmark that measures how complex a scene can get before the frame rate falls below 60 fps, instead of measuring frame rate on a fixed scene. It uses requestAnimationFrame to avoid throttled offscreen frames and scales the stage to the device's screen size. A controller first raises complexity exponentially to find an upper bound, then runs repeated ramps across the change point. It fits a piecewise least-squares regression to estimate that point, with bootstrapped confidence intervals. Its narrowly focused tests helped WebKit find costly graphics-context save/restore calls and an iOS CADisplayLink timing bug that halved animation speed.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Browsers](https://swe.quest/tags/browsers.md) (Web & mobile)
- [Web performance](https://swe.quest/tags/web-performance.md) (Web & mobile)
- [Performance engineering](https://swe.quest/tags/performance.md) (Reliability & operations)

## Prerequisites

- requestAnimationFrame
- browser rendering basics
- Canvas, SVG and CSS animations ([easy posts on CSS](https://swe.quest/tags/css.md?difficulty=easy))

## Keywords

MotionMark, WebKit, requestAnimationFrame, CADisplayLink, SVG, HTML5 canvas

## Related posts

- [Announcing MotionMark 1.3](https://swe.quest/articles/announcing-motionmark-1-3-9ce06baaebc3841b.md): WebKit · 2024-01-10 · Medium · 2 min read · Browsers, Performance engineering, Web performance
  MotionMark 1.3, Apple's browser graphics benchmark, now detects the browser's requestAnimationFrame frequency and uses it as the target frame rate instead of assuming 60fps.
- [MotionMark 1.2](https://swe.quest/articles/motionmark-1-2-d808e41277976708.md): WebKit · 2021-06-07 · Medium · 2 min read · Browsers, Performance engineering, Web performance
  MotionMark 1.2 is a small reliability-focused update to the browser graphics benchmark.
- [Speedometer 3.0: The Best Way Yet to Measure Browser Performance](https://swe.quest/articles/speedometer-3-0-the-best-way-yet-to-measure-browser-performance-2c6a7e3e4a16f5e5.md): WebKit · 2024-03-11 · Medium · 7 min read · Browsers, Performance engineering, Web performance, Frontend
  Speedometer 3.0, jointly governed by Blink, Gecko and WebKit developers, changes how browser responsiveness is measured.
- [Speedometer 2.1](https://swe.quest/articles/speedometer-2-1-0754b057a0ec4b71.md): WebKit · 2022-08-02 · Medium · 1 min read · Browsers, Performance engineering, JavaScript
  Speedometer 2.1 is a minor update that fixes the benchmark harness so it no longer measures artificial timer throttling.
- [Measuring the back/forward cache with Application Metrics](https://swe.quest/articles/measuring-the-back-forward-cache-with-application-metrics-3b96d5be7b308071.md): Sentry · 2026-09-24 · Medium · 5 min read · Web performance, Browsers, Observability, JavaScript
  Sentry's new opt-in bfcacheMetricsIntegration (JavaScript SDK v11) turns the browser's back/forward cache decisions into application metrics, closing a blind spot where cache hits leave no page-load telemetry.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
