Thanks for your interest in SQLCipher and for posting to the discussion forum.
The SQLCipher 4.0.0 release introduced full memory wiping which is enabled by default. You can disable this feature for performance when the feature is not required by using PRAGMA cipher_memory_security
Additionally we have recommendations for optimizing performance here: SQLCipher Performance Optimization