Skip to content

Latest commit

 

History

History
39 lines (24 loc) · 1.62 KB

README.md

File metadata and controls

39 lines (24 loc) · 1.62 KB

With Docker

In the root of the repository, run ./scripts/benchmark

Without Docker

Get Dependencies

Dependency Jars

Pre-built ImageIO jars can be found here. The jars are in this archive.

Native Dependencies

Pre-built native dependencies can be found here. For Ubuntu 12.04 and compatible systems, this tarball is known to work. GDAL also needs certain data to operate, those files can be found here.

GDAL Java Bindings

Java bindings are also needed. For Ubuntu 12.04 and compatible systems, this package contains the needed files.

Get Data

The test data can be found here.

Run

GDAL_DATA=$(pwd)/benchmark/gdal/gdal-data LD_LIBRARY_PATH=$(pwd)/benchmark/gdal/native:$LD_LIBRARY_PATH ./sbt "project benchmark" "jmh:run"

Using JMH

We use JMH to wire up all benchmarks. Understanding the semantics of the JMH annotations takes some time. For clues, take a look at this cheatsheet