[cairo-commit] 4 commits - benchmark/evolution.lzma benchmark/firefox-planet-gnome.lzma benchmark/gnome-system-monitor.lzma benchmark/gvim.lzma benchmark/poppler.lzma benchmark/swfdec-giant-steps.lzma benchmark/swfdec-youtube.lzma benchmark/vim.lzma csi-trace.c README

Chris Wilson ickle at kemper.freedesktop.org
Sat Aug 22 07:45:47 PDT 2009


 README                              |   11 +++++++++++
 benchmark/evolution.lzma            |binary
 benchmark/firefox-planet-gnome.lzma |binary
 benchmark/gnome-system-monitor.lzma |binary
 benchmark/gvim.lzma                 |binary
 benchmark/poppler.lzma              |binary
 benchmark/swfdec-giant-steps.lzma   |binary
 benchmark/swfdec-youtube.lzma       |binary
 benchmark/vim.lzma                  |binary
 csi-trace.c                         |   14 +++++++++++---
 10 files changed, 22 insertions(+), 3 deletions(-)

New commits:
commit c785f908d2baf1c2017e61ed60fc1e9faac43937
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Aug 22 15:32:41 2009 +0100

    Add trimmed benchmarks
    
    Add the first 10 seconds from the full versions of evolution,
    gnome-system-monitor, poppler, swfdec-giant-steps and swfdec-youtube.
    
    (My main fear is the initial sequence of operations may be similar and so
    make the benchmark overly responsive to a single factor. Time will tell.)

diff --git a/README b/README
index 6f27663..71dd473 100644
--- a/README
+++ b/README
@@ -110,3 +110,9 @@ firefox-planet-gnome - Scrolling the full height of http://planet.gnome.org/
 
 gvim - Scrolling within a window showing a UTF-8 document
 vim  - The same test, but repeated more often to give a comparable time.
+
+evolution            - based on full/evolution-20090607
+gnome-system-monitor - based on full/gnome-system-monitor-20090821
+popper               - based on full/poppler-20090811
+swfdec-giant-steps   - based on full/swfdec-giant-steps
+swfdec-youtube       - based on full/swfdec-youtube
diff --git a/benchmark/evolution.lzma b/benchmark/evolution.lzma
new file mode 100644
index 0000000..6749429
Binary files /dev/null and b/benchmark/evolution.lzma differ
diff --git a/benchmark/gnome-system-monitor.lzma b/benchmark/gnome-system-monitor.lzma
new file mode 100644
index 0000000..c5201b4
Binary files /dev/null and b/benchmark/gnome-system-monitor.lzma differ
diff --git a/benchmark/poppler.lzma b/benchmark/poppler.lzma
new file mode 100644
index 0000000..c019fe2
Binary files /dev/null and b/benchmark/poppler.lzma differ
diff --git a/benchmark/swfdec-giant-steps.lzma b/benchmark/swfdec-giant-steps.lzma
new file mode 100644
index 0000000..8125ab3
Binary files /dev/null and b/benchmark/swfdec-giant-steps.lzma differ
diff --git a/benchmark/swfdec-youtube.lzma b/benchmark/swfdec-youtube.lzma
new file mode 100644
index 0000000..e110671
Binary files /dev/null and b/benchmark/swfdec-youtube.lzma differ
commit e89eba9a172c93b45dbac093830b18ed5ac561a2
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Aug 22 15:24:21 2009 +0100

    Check trim timeout on context creation
    
    Some applications, like poppler-blitz, use a single surface for the
    entire run and so never trigger the timeout in surface_create(). So move
    the check to context_create(), as contexts are meant to be transient!

diff --git a/csi-trace.c b/csi-trace.c
index f3474bf..abc70ce 100644
--- a/csi-trace.c
+++ b/csi-trace.c
@@ -28,9 +28,6 @@ _script_surface_create (void *closure,
     cairo_surface_t *surface, *image;
     cairo_rectangle_t extents;
 
-    if (timeout && time (NULL) > timeout)
-	longjmp (jmp, 1);
-
     /* use a image target so that we can use this surface as a source */
     image = cairo_image_surface_create (format_from_content (content),
 					ceil (width), ceil (height));
@@ -40,6 +37,16 @@ _script_surface_create (void *closure,
     return surface;
 }
 
+static cairo_t *
+_script_context_create (void *closure,
+			cairo_surface_t *surface)
+{
+    if (timeout && time (NULL) > timeout)
+	longjmp (jmp, 1);
+
+    return cairo_create (surface);
+}
+
 static cairo_status_t
 write (void *closure, const unsigned char *data, unsigned int length)
 {
@@ -55,6 +62,7 @@ main (int argc, char **argv)
     const cairo_script_interpreter_hooks_t hooks = {
 	.closure = cairo_script_context_create_for_stream (write, stdout),
 	.surface_create = _script_surface_create,
+	.context_create = _script_context_create,
     };
     cairo_script_interpreter_t *csi;
     int i;
commit 372f8a003cdaeacb14095330d56408f0a7681195
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Aug 22 15:14:16 2009 +0100

    Add benchmarks: vim and gvim
    
    Scrolling within a UTF-8 document, we draw lots of text, from a variety of
    fonts, at fairly scattered positions.

diff --git a/README b/README
index 8489934..6f27663 100644
--- a/README
+++ b/README
@@ -107,3 +107,6 @@ firefox-talos-svg - The synthetic firefox benchmark (identical to
                     firefox-talos-svg-20090702) that exercise the SVG renderer.
 
 firefox-planet-gnome - Scrolling the full height of http://planet.gnome.org/
+
+gvim - Scrolling within a window showing a UTF-8 document
+vim  - The same test, but repeated more often to give a comparable time.
diff --git a/benchmark/gvim.lzma b/benchmark/gvim.lzma
new file mode 100644
index 0000000..7867f88
Binary files /dev/null and b/benchmark/gvim.lzma differ
diff --git a/benchmark/vim.lzma b/benchmark/vim.lzma
new file mode 100644
index 0000000..225d320
Binary files /dev/null and b/benchmark/vim.lzma differ
commit d3ec11ba5b0615830d35313a9ef65e23b13f6e5e
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date:   Sat Aug 22 15:11:43 2009 +0100

    Add benchmark: firefox-planet-gnome
    
    Scroll the full height of http://planet.gnome.org/, chosen as being my
    read visited site, so its performance is crucial to my sanity!

diff --git a/README b/README
index b368c45..8489934 100644
--- a/README
+++ b/README
@@ -105,3 +105,5 @@ firefox-talos-gfx - The synthetic firefox benchmark (identical to
                     firefox-talos-gfx-20090702) that exercise the core renderer.
 firefox-talos-svg - The synthetic firefox benchmark (identical to
                     firefox-talos-svg-20090702) that exercise the SVG renderer.
+
+firefox-planet-gnome - Scrolling the full height of http://planet.gnome.org/
diff --git a/benchmark/firefox-planet-gnome.lzma b/benchmark/firefox-planet-gnome.lzma
new file mode 100644
index 0000000..cb73a42
Binary files /dev/null and b/benchmark/firefox-planet-gnome.lzma differ


More information about the cairo-commit mailing list