diff --git a/benchmark/data/gdal-wgs.xml b/benchmark/data/gdal-wgs.xml new file mode 100644 index 000000000..aa5866532 --- /dev/null +++ b/benchmark/data/gdal-wgs.xml @@ -0,0 +1,21 @@ + + + + + + + style + + ./valid.geotiff.tif + gdal + + + + diff --git a/benchmark/data/raster-wgs.xml b/benchmark/data/raster-wgs.xml new file mode 100644 index 000000000..3ee054d2d --- /dev/null +++ b/benchmark/data/raster-wgs.xml @@ -0,0 +1,21 @@ + + + + + + + style + + ./valid.geotiff.tif + raster + + + + diff --git a/benchmark/data/valid.geotiff.tif b/benchmark/data/valid.geotiff.tif new file mode 100644 index 000000000..b2fe90d30 Binary files /dev/null and b/benchmark/data/valid.geotiff.tif differ diff --git a/benchmark/run b/benchmark/run index 901c276b2..13e7e49ed 100755 --- a/benchmark/run +++ b/benchmark/run @@ -29,4 +29,22 @@ run test_font_registration 10 1000 --width 600 \ --height 600 \ --iterations 20 \ - --threads 10 \ No newline at end of file + --threads 10 + +./benchmark/out/test_rendering \ + --name "gdal tiff rendering" \ + --map benchmark/data/gdal-wgs.xml \ + --extent -180.0,-120.0,180.0,120.0 \ + --width 600 \ + --height 600 \ + --iterations 20 \ + --threads 10 + +./benchmark/out/test_rendering \ + --name "raster tiff rendering" \ + --map benchmark/data/raster-wgs.xml \ + --extent -180.0,-120.0,180.0,120.0 \ + --width 600 \ + --height 600 \ + --iterations 20 \ + --threads 10