GithubHelp home page GithubHelp logo

billymeltdown / sqlcipherspeed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sqlcipher/sqlcipherspeed

3.0 2.0 1.0 1.4 MB

Simple iPhone performance test application for SQLCipher

Home Page: http://www.zetetic.net

License: Other

Objective-C 100.00%

sqlcipherspeed's Introduction

SQLCipherSpeed

A project for testing the speed of SQLCipher on an iOS device, and measuring the impact of the encryption used compared to SQLite.

This fork of the project is a bit of a build-out for the main fork, it stores and displays previous test runs and provides a display averaging those results together.

iOS 4 Only

Please Note: This fork of SQLCipherSpeed requires iOS 4 because it makes use of blocks and Grand Central Dispatch to run the tests without blocking the main run loop. It is not currently compatible with iOS 3 (but if you want to try patching that in, feel free to fork, hack it out, and send us a pull request.)

Prerequisites for Building

Before you build this project, you'll need to load up the submodules used, e.g.:

$ git clone git://github.com/billymeltdown/SQLCipherSpeed.git
$ cd SQLCipherSpeed
$ git submodule init
$ git submodule update

You'll also need to create a source tree in your XCode Preferences named OPENSSL_SRC that points to a checkout of the latest OpenSSL source on your workstation. Check http://openssl.org/source/ for the latest version, below is just an example.

$ curl -C - -O http://openssl.org/source/openssl-1.0.0e.tar.gz
$ tar xf openssl-1.0.0e.tar.gz
$ cd openssl-1.0.0e
$ pwd

Setting up the source tree:

  1. Copy the output of the pwd command above to your clipboard, make sure you get the whole path
  2. In Xcode, navigate to Preferences -> Source Trees
  3. Use the + button to create a new one, name it OPENSSL_SRC, and paste the path to OpenSSL from your clipboard

Cipher Page Size

There's a textfield on the main screen for running the tests, labeled "Page Size." Currently it doesn't do anything on the latest stable version of SQLCipher, but it does get used by the next version currently in development, SQLCipher branch v2beta, which allows the user to do something like PRAGMA cipher_page_size=1024 to set a custom page size.

Need help? Want to help?

Pull requests are encouraged, feature requests are up to you! Feel free to say, "hello", on the SQLCipher discussion list.

Legal

This project is owned and maintained by Zetetic. It is provided under an MIT-style open-source license (see LICENSE.txt).

sqlcipherspeed's People

Contributors

billymeltdown avatar sjlombardo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.