summaryrefslogtreecommitdiff
path: root/perf/micro
AgeCommit message (Collapse)AuthorFilesLines
2011-08-13perf/micro: diagonal linesChris Wilson2-0/+220
The ideal benchmark for spans?... Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-08-13perf/micro: Test wide vs hairline strokesChris Wilson6-13/+397
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-08-09perf: add curveChris Wilson2-0/+109
Time how long it takes to stroke and fill a single Bezier curve. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-08-09perf: add many-curvesChris Wilson2-0/+120
Continuing the theme of stressing the tessellators, draw lots of Bezier curves! Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-08-09perf: Add many-fillsChris Wilson2-0/+185
A variant of many-strokes tries to answer the question of how much overhead is there in stroking, i.e. if we fill an equivalent path to a set of strokes, do we see an equivalence in performance? Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-08-07perf: add the usual special cases to many-strokesChris Wilson1-1/+109
For completeness, also compare [aligned] horizontal and vertical strokes. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-08-07perf: Add many-strokesChris Wilson2-0/+76
An intersection variant to exercise the stroker with many, many lines. A silly benchmark, but a popular one in the wild. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-08-05perf: Add stroke/fill variants to world-mapChris Wilson1-6/+36
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-08-03perf: Add hash table benchmarkAndrea Canciani2-0/+108
A benchmark to test the speed of hash tables when inserting and removing a huge number of elements. Although originally hash tables were assumed not to get many deletions, in practice they are now being used as caches in multiple places. This means that they often have a fixed number of live elements and an element is evicted whenever a new element is inserted (this happens explicitly for cairo_cache_t objects, but also, for example, in scaled_font_map + holdovers). This access pattern is very inefficient with the current implementation.
2011-08-01perf: Add a few more variations to dragon to exercise unaligned lines/spansChris Wilson1-0/+34
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-07-29Silence gcc warningsAndrea Canciani1-1/+0
2011-07-19test,perf: Another hatching!Chris Wilson2-0/+96
This one illustrates the quadratic explosion lurking in the clipping code. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-07-18tests,perf: Add a hatchings clip-testChris Wilson2-0/+200
A benchmark to test how close we get to reducing paint+clip to an ordinary fill, and to check correctness. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2011-06-24perf: Fix build on win32Andrea Canciani3-0/+63
The performance tools build system for Win32 hasn't been maintained for some time. The makefiles are now structured as in other directories (Makefile.sources used by both Makefile.am and Makefile.win32) and some additional code hides os-specific parts.
2011-06-24perf: Ensure M_SQRT2 is definedAndrea Canciani1-0/+1
pythagoras-tree uses M_SQRT2, which on Win32 is defined by math.h if and only if _USE_MATH_DEFINES is defined.
2011-06-01perf/micro: Add waveChris Wilson1-0/+112
Benjamin just demonstrated this funky trick for generating pixel outlines, and as no good deed should go unpunished, I've added his code to the perf suite. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
2010-04-02perf/micro: Show megapixel fill rate during paint.Chris Wilson2-2/+15
2010-03-30perf/micro: Exercise different sizes and antialising modes with glyphsChris Wilson1-8/+77
2010-03-30perf: Compute ops per secondChris Wilson26-73/+105
Provide a hook for the test to be able to compute the number of ops per second. For instance, the glyphs test uses it to report the number of kiloglyph per second Cairo is able to render.
2009-09-15[perf] Reorganise cairo-perfChris Wilson29-0/+8772
In preparation to creating a new hub to control performance measuring and reporting, move the current cairo-perf out of the way.