motion-compare

  • CSS transition

    transition: transform 700ms ease. The browser runs the curve.

    Frames
    not measured yet
    Avg frame
    not measured yet
    Worst frame
    not measured yet
    Overshoots
    not measured yet
    Settled at
    not measured yet
  • Linear rAF tween

    requestAnimationFrame, position = distance x elapsed / 700 ms.

    Frames
    not measured yet
    Avg frame
    not measured yet
    Worst frame
    not measured yet
    Overshoots
    not measured yet
    Settled at
    not measured yet
  • Spring physics

    Damped spring integrated each frame (the library's approach). No fixed duration.

    Frames
    not measured yet
    Avg frame
    not measured yet
    Worst frame
    not measured yet
    Overshoots
    not measured yet
    Settled at
    not measured yet

Every number is read in this browser during the run, from the dot's rendered position in each requestAnimationFrame. Frame gaps follow your display refresh and whatever else the page is doing, so they say little about the cost of each approach in isolation. Run it a few times; the values move.