class CRSBench extends AnyRef
- Annotations
- @BenchmarkMode() @State() @OutputTimeUnit()
- Alphabetic
- By Inheritance
- CRSBench
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new CRSBench()
Value Members
- var crs1: CRS
- var crs2: CRS
-
def
getEpsgCodeTest(): Boolean
- Annotations
- @Benchmark()
-
def
logicalEqualsFalse(): Boolean
- Annotations
- @Benchmark()
-
def
logicalEqualsTrue(): Boolean
- Annotations
- @Benchmark()
-
def
logicalVarEqualsFalse(): Boolean
- Annotations
- @Benchmark()
-
def
logicalVarEqualsTrue(): Boolean
- Annotations
- @Benchmark()
-
def
resolveCRS(): CoordinateReferenceSystem
- Annotations
- @Benchmark()
-
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()