summaryrefslogtreecommitdiff
path: root/benchmark/parse/vector_tile.benchmark.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] introduce Blob for compressed and uncompressed dataupstream/blobKonstantin Käfer2018-02-211-1/+1
| | | | | | | | | | | | - Blob is a wrapper type for a shared_ptr<const string> that has accessor functions for getting compressed and uncompressed data - Moved util::writeFile, util::readFile, util::compress, util::uncompress, decodeImage, and encodePNG to the Blob interface - Added Blob support to Request and file sources - Added Blob support to VectorTile objects - Added support for gzip decoding to util::uncompress - We're no longer compressing WebP, PNG, and JPEG data when storing in the OfflineDatabase - Android's HTTPRequest returns compressed Blobs by default One caveat is that our previous decompress function didn't support gzip, so once users upgrade to this version, their offline cache may contain both zlib-compressed data and gzip-compressed data, but older versions won't be able to decompress gzip data. On the other hand, we don't support downgrading SDKs anyway, so this shouldn't be a problem. To be on the safe side, we could bump the user_version of the SQLite DB.
* [core] add benchmark for vector tile parsingKonstantin Käfer2017-06-211-0/+28