diff options
author | Carl Worth <cworth@cworth.org> | 2006-11-03 15:32:57 -0800 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-11-06 09:39:02 -0800 |
commit | 52eb7134bd22c648a10e2b9b8c5d1409de309887 (patch) | |
tree | 88183b7880edb3d636b569c6993511dc6a6549e6 /perf/cairo-perf.c | |
parent | e760d0927ee5b732392284fc19fda225f137f909 (diff) |
cairo-perf-diff: Use two-part hash to avoid stale data when perf suite changes.
The perf tree's sha1 is now in the cache file name, so that
if the performance suite itself ever changes then new data
will be generated rather than using stale stuff from the cache.
Also, we now use the src tree's sha1 rather than the commit's
so that commits that don't change the src directory are also
treated as identical, (which they really should be as far as
performance of the library itself is concerned).
Diffstat (limited to 'perf/cairo-perf.c')
-rw-r--r-- | perf/cairo-perf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perf/cairo-perf.c b/perf/cairo-perf.c index 0bee719b1..22126766a 100644 --- a/perf/cairo-perf.c +++ b/perf/cairo-perf.c @@ -68,7 +68,7 @@ target_is_measurable (cairo_boilerplate_target_t *target) case CAIRO_SURFACE_TYPE_WIN32: case CAIRO_SURFACE_TYPE_BEOS: case CAIRO_SURFACE_TYPE_DIRECTFB: -#if CAIRO_VERSION_MAJOR > 1 || (CAIRO_VERSION_MAJOR = 1 && CAIRO_VERSION_MINOR > 2) +#if CAIRO_VERSION_MAJOR > 1 || (CAIRO_VERSION_MAJOR == 1 && CAIRO_VERSION_MINOR > 2) case CAIRO_SURFACE_TYPE_NQUARTZ: case CAIRO_SURFACE_TYPE_OS2: #endif |