From 7158df8b0822fefb75872937152d97b00761f8c1 Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Mon, 5 May 2014 10:07:57 -0700 Subject: [PATCH] benchmark: png encoding with z=1 to ensure we're testing hextree not zlib --- benchmark/test_png_encoding1.cpp | 2 +- benchmark/test_png_encoding2.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/benchmark/test_png_encoding1.cpp b/benchmark/test_png_encoding1.cpp index e8ca54e2f..f06a0ef10 100644 --- a/benchmark/test_png_encoding1.cpp +++ b/benchmark/test_png_encoding1.cpp @@ -18,7 +18,7 @@ public: std::string out; for (std::size_t i=0;idata(),actual, "png8:m=h"); + mapnik::save_to_file(im_->data(),actual, "png8:m=h:z=1"); return benchmark::compare_images(actual,expected); } void operator()() const @@ -28,7 +28,7 @@ public: std::string out; for (std::size_t i=0;idata(),"png8:m=h"); + out = mapnik::save_to_string(im_->data(),"png8:m=h:z=1"); } } };