Hi Stephen,
Thanks for the response. Of course, I should have made clear the
changes I made to crypto-speedtest.tcl.
Yes, I took crypto-speedtest.tcl from Master. No, I did not use the
test verbatim.
It would have been more accurate to say I did a new .tcl file based on
crypto-speedtest.tcl. Here are my modifications:
https://gist.github.com/2635406
Basically, in my modification, the differences between the 3 databases
used for testing are that one uses SQLite's sqlite3 executable, one
uses SQLCipher's sqlite3 executable and another one uses SQLCipher's
sqlite3 executable while beginning each test case with a key (to
perform encryption).
If you need more clarification, or if I made a mistake in the script,
please let me know. Thank you for your time.
- Denis
On May 7, 11:11 am, Stephen Lombardo <
sjlomba...@zetetic.net> wrote:
> Hi Denis,
>
> Are you using the latest version of speedtest off master? If so, it looks
> like I made a mistake, committing a change related to internal performance
> checking of HMAC. Thus, the script on master is actually comparing the
> performance difference between SQLCipher with HMAC and SQLCipher without
> HMAC. As a result, both of the test cases would actually create encrypted
> databases. If you used that test verbatim, your tests named SQLCipher(no
> encryption) are probably using encryption too, resulting in the big
> difference.
>
> I've fixed the speedtest on master now (
https://github.com/sqlcipher/sqlcipher/commit/b6302e30a24ea3cf5ce26a9...
> ).
>
> You could make the same changes on your script too, or just post your
> script to a gist (
http://gist.github.com) and we'll suggest how to modify
> it to match.
>
> Please let us know if this is the issue. Thanks!
>
> Cheers,
> Stephen
>