aboutsummaryrefslogtreecommitdiffstats
path: root/src/benchmarks/auto/animations/comparison/README.md
blob: a5c441d2a9dedf7b3e51e5a85d1cd52535540f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# comparison

These benchmarks compare a number of different ways of moving images around, and
are help validate the casual gaming idea which should be very viable with QML.

The benchmarks give an indication of how many animated items can run
simultaneously in the UI. It should be in the thousands.

One quirk if you run these is that on a threaded renderloop, the animation one
runs faster than animators. This is because the work is broken into two major
chunks. One is doing the animation while the other is doing the batching in the
renderer and scheduling the rendering. If those happen on separate threads, we
get better parallelization so 'animation' comes out better.

However, if you try again with QSG_RENDER_LOOP=windows in the environment,
you'll see that if it all happens on the same thread, then animators are a bit
cheaper (because they are simpler).