You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm a Ph.D. student and I'm doing research on improving performance
for Android apps.
In Catlog, "CatlogDBHelper.findFilterItems" accesses database,
so you put the invocation of this method into AsyncTask at line 593 of
LogcatActivity.java ("showFiltersDialog" method) to improve
responsiveness.
But there are two other places in LogcatActivity.java where you still
invoke "CatlogDBHelper.findFilterItems" in UI thread.
"addFiltersToSuggestions" calls "findFilterItems" at line 186 and it's
eventually called by two "onPreExecute" methods at line 1906 and 1290.
"onPreExecute" is executed by UI thread.
Why don't you also put all invocations to "findFilterItems" into background
thread? Is there any specific reason?
Thanks,
Yu
The text was updated successfully, but these errors were encountered:
Hi developers of Catlog,
I'm a Ph.D. student and I'm doing research on improving performance
for Android apps.
In Catlog, "CatlogDBHelper.findFilterItems" accesses database,
so you put the invocation of this method into AsyncTask at line 593 of
LogcatActivity.java ("showFiltersDialog" method) to improve
responsiveness.
But there are two other places in LogcatActivity.java where you still
invoke "CatlogDBHelper.findFilterItems" in UI thread.
"addFiltersToSuggestions" calls "findFilterItems" at line 186 and it's
eventually called by two "onPreExecute" methods at line 1906 and 1290.
"onPreExecute" is executed by UI thread.
Why don't you also put all invocations to "findFilterItems" into background
thread? Is there any specific reason?
Thanks,
Yu
The text was updated successfully, but these errors were encountered: