From 36d22d82aa202bb199967e9512281e9a53db42c9 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 21:33:14 +0200 Subject: Adding upstream version 115.7.0esr. Signed-off-by: Daniel Baumann --- .../webkit/PerformanceTests/MotionMark/about.html | 52 ++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 third_party/webkit/PerformanceTests/MotionMark/about.html (limited to 'third_party/webkit/PerformanceTests/MotionMark/about.html') diff --git a/third_party/webkit/PerformanceTests/MotionMark/about.html b/third_party/webkit/PerformanceTests/MotionMark/about.html new file mode 100644 index 0000000000..f14638a96b --- /dev/null +++ b/third_party/webkit/PerformanceTests/MotionMark/about.html @@ -0,0 +1,52 @@ + + + + + + + About MotionMark + + + + +
+
+ + +
+

About MotionMark

+ +

MotionMark is a web benchmark that focuses on graphics performance. It draws multiple rendering elements, each of which uses the same set of graphics primitives. An element could be an SVG node, an HTML element with CSS style, or a series of canvas operations. Slight variations among the elements avoid trivial caching optimizations by the browser. Although fairly simple, the effects were chosen to reflect techniques commonly used on the web. Tests are visually rich, being designed to stress the graphics system rather than JavaScript.

+ +

After an initial warm-up, each test runs for a fixed period of time. Based on measurements of the browser’s frame rate, MotionMark adjusts the number of elements to draw, and concentrates around a narrow range where the browser starts to fail animating at 60 frames per second (fps). A piecewise linear regression is applied to the data, and the change point is reported as the test's score. The confidence interval is calculated through bootstrapping. MotionMark calculates the geometric mean of all of the tests’ scores to report the single score for the run.

+ +

MotionMark can be run on a wide variety of devices. Using the device’s screen dimensions it adjusts the drawing area into one of three sizes:

+ +
    +
  1. Small (568 x 320), targeted at mobile phones
  2. +
  3. Medium (900 x 600), targeted at tablets and laptops
  4. +
  5. Large (1600 x 800), targeted at desktops
  6. +
+ +

The design of the benchmark is modular. This makes it easy to write new tests and use different controllers, which can assist a developer working on improving the performance of a web engine. For the purpose of a public benchmark, the MotionMark master suite tests a variety of drawing operations using techniques including CSS, SVG, and Canvas:

+ +
    +
  • Multiply: CSS border radius, transforms, opacity
  • +
  • Arcs and Fills: Canvas path fills and arcs
  • +
  • Leaves: CSS-transformed elements
  • +
  • Paths: Canvas line, quadratic, and Bezier paths
  • +
  • Lines: Canvas line segments
  • +
  • Focus: CSS blur filter, opacity
  • +
  • Images: Canvas getImageData() and putImageData()
  • +
  • Design: HTML text rendering
  • +
  • Suits: SVG clip paths, gradients and transforms
  • +
+ +

To achieve consistent results on mobile devices, put the device in landscape orientation. On laptops and desktops, use the default display resolution and make the browser window fullscreen. Make sure that screen automatic display sleep is turned off or set to longer than 8 minutes.

+ +
+
+
+
+ + \ No newline at end of file -- cgit v1.2.3