diff options
| author | Bryce Harrington <bryce@osg.samsung.com> | 2014-08-06 17:51:12 -0700 |
|---|---|---|
| committer | Bryce Harrington <bryce@osg.samsung.com> | 2014-08-06 17:51:12 -0700 |
| commit | 7e0df210dd9cb58817c023ca2d16fde9206efce1 (patch) | |
| tree | 374c133966f144ff5e1162c74b77c42edf755c0a | |
| parent | 11fd8bf05c888bad40ca5a50e83a8fc09e8790c5 (diff) | |
Enable text and transform tests
| -rwxr-xr-x | utils/canvas_perf | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/canvas_perf b/utils/canvas_perf index 8db6e8b..ddce865 100755 --- a/utils/canvas_perf +++ b/utils/canvas_perf @@ -30,13 +30,13 @@ perfdefs = [ [ "fill_curves", 50, 8, ["curves", "-f", "solid"] ], [ "stroke_star", 1000, 7, ["star", "-f", "none"] ], [ "fill_star", 1000, 12, ["star", "-f", "solid"] ], -# [ "transform", 10, 0.2, ["transform"] ], + [ "transform", 10, 0.2, ["transform"] ], [ "image", 100, 0.3, ["image"] ], [ "image_scale", 100, 0.8, ["image_scale"] ], [ "image_rotate", 15, 0.3, ["image_rotate"] ], [ "linear_gradient", 100, 2, ["linear_gradient"] ], [ "radial_gradient", 100, 0.3, ["radial_gradient"] ], -# [ "text", 100, 0.6, ["text"] ], + [ "text", 100, 0.6, ["text"] ], [ "clip", 100, 0.8, ["clip"] ] ] @@ -71,7 +71,7 @@ for testcase in perfdefs: '-i', str(iterations), '-s', str(testcase[1]), '-j', - '-o', 'output.json', + '-o', '/tmp/output.json', '-t', 'egl', '--deferred-rendering', ] @@ -82,7 +82,7 @@ for testcase in perfdefs: json_output = execute(cmd) print(json_output) - with open('output.json') as file: + with open('/tmp/output.json') as file: result = json.load(file)[0] value = testcase[1] / (result["average run time (s)"]*1000) |