Packages

class CRSBench extends AnyRef

Annotations
@BenchmarkMode() @State() @OutputTimeUnit()
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CRSBench
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new CRSBench()

Value Members

  1. var crs1: CRS
  2. var crs2: CRS
  3. def getEpsgCodeTest(): Boolean
    Annotations
    @Benchmark()
  4. def logicalEqualsFalse(): Boolean
    Annotations
    @Benchmark()
  5. def logicalEqualsTrue(): Boolean
    Annotations
    @Benchmark()
  6. def logicalVarEqualsFalse(): Boolean
    Annotations
    @Benchmark()
  7. def logicalVarEqualsTrue(): Boolean
    Annotations
    @Benchmark()
  8. def resolveCRS(): CoordinateReferenceSystem
    Annotations
    @Benchmark()
  9. def setupData(): Unit

    jmh:run -i 3 -wi 3 -f1 -t1 .*CRSBench.*

    jmh:run -i 3 -wi 3 -f1 -t1 .*CRSBench.*

    LazyCRS (rasterframes fix): [info] Benchmark Mode Cnt Score Error Units [info] CRSBench.logicalEqualsFalse avgt 3 13.534 ± 6.396 us/op [info] CRSBench.logicalEqualsTrue avgt 3 0.254 ± 0.116 us/op [info] CRSBench.logicalLazyEqualsFalse avgt 3 14.505 ± 10.106 us/op [info] CRSBench.logicalLazyEqualsTrue avgt 3 0.035 ± 0.007 us/op [info] CRSBench.resolveCRS avgt 3 0.069 ± 0.082 us/op

    Proj4 1.0.0: [info] Benchmark Mode Cnt Score Error Units [info] CRSBench.logicalEqualsFalse avgt 3 23.397 ± 37.290 us/op [info] CRSBench.logicalEqualsTrue avgt 3 11.639 ± 49.851 us/op [info] CRSBench.logicalLazyEqualsFalse avgt 3 27.671 ± 106.851 us/op [info] CRSBench.logicalLazyEqualsTrue avgt 3 12.928 ± 28.639 us/op [info] CRSBench.resolveCRS avgt 3 0.233 ± 0.844 us/op

    GeoTools: [info] Benchmark Mode Cnt Score Error Units [info] CRSBench.logicalEqualsFalse avgt 3 0.046 ± 0.068 us/op [info] CRSBench.logicalEqualsTrue avgt 3 0.042 ± 0.043 us/op [info] CRSBench.logicalLazyEqualsFalse avgt 3 0.047 ± 0.052 us/op [info] CRSBench.logicalLazyEqualsTrue avgt 3 0.042 ± 0.028 us/op [info] CRSBench.resolveCRS avgt 3 0.041 ± 0.127 us/op

    Proj4 1.0.1 (backed by Caffeine, unbounded): [info] Benchmark Mode Cnt Score Error Units [info] CRSBench.epsgCodeReadTest avgt 3 0.062 ± 0.032 us/op [info] CRSBench.logicalEqualsFalse avgt 3 0.037 ± 0.009 us/op [info] CRSBench.logicalEqualsTrue avgt 3 0.054 ± 0.013 us/op [info] CRSBench.logicalVarEqualsFalse avgt 3 0.038 ± 0.015 us/op [info] CRSBench.logicalVarEqualsTrue avgt 3 0.053 ± 0.022 us/op [info] CRSBench.resolveCRS avgt 3 0.035 ± 0.025 us/op

    Proj4 1.0.1 (backed by ConcurrentHashMap): [info] Benchmark Mode Cnt Score Error Units [info] CRSBench.getEpsgCodeTest avgt 3 0.064 ± 0.161 us/op [info] CRSBench.logicalEqualsFalse avgt 3 0.039 ± 0.009 us/op [info] CRSBench.logicalEqualsTrue avgt 3 0.035 ± 0.020 us/op [info] CRSBench.logicalVarEqualsFalse avgt 3 0.040 ± 0.068 us/op [info] CRSBench.logicalVarEqualsTrue avgt 3 0.037 ± 0.034 us/op [info] CRSBench.resolveCRS avgt 3 0.034 ± 0.008 us/op

    Annotations
    @Setup()