Skip to content

springmeyer/wkt-parsing-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

wkt-parsing-benchmark

WKT geometry parsing benchmarks

Depends

  • libmapnik
  • libgeos_c

Running

To build and run the benchmarks simply do:

make

Results

1) OS X

$ clang++ -v
Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.3.0
Thread model: posix

$ geos-config --version
3.3.8

$ mapnik-config --git-describe
v2.1.0-1112-g401ca20

mapnik compiled against libc++, using -std=c++11

$ ./run
1) threaded -> mapnik: 640 milliseconds
2) threaded -> geos: 2470 milliseconds
3) mapnik: 2800 milliseconds
4) geos: 9150 milliseconds

mapnik compiled against libstdc++, using -ansi

$ ./run
1) threaded -> mapnik: 880 milliseconds
2) threaded -> geos: 2520 milliseconds
3) mapnik: 3440 milliseconds
4) geos: 9200 milliseconds

About

testing code for benchmarking wkt geometry parsing

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages