Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review trace and profile #4

Open
kpgalligan opened this issue Nov 21, 2018 · 0 comments
Open

Review trace and profile #4

kpgalligan opened this issue Nov 21, 2018 · 0 comments

Comments

@kpgalligan
Copy link
Contributor

kpgalligan commented Nov 21, 2018

There are two primary considerations. First, enabling logging on android requires the following:

Enable using "adb shell setprop log.tag.SQLiteStatements VERBOSE".

Enable using "adb shell setprop log.tag.SQLiteTime VERBOSE".

Also, both methods are deprecated in sqlite. sqlite3_trace and sqlite3_profile should use v2's.

It appears that these methods are simply logging, rather than doing any kind of analysis, so might simply be adding similar logging. How to enable them on native, however, is up in the air. Probably just the db config.

This is easier for native, as it is c++. Android will need some jni.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant