Bug #7178

Performance Improvement of AsyncTask

Added by Anonymous over 1 year ago.

Status:NewStart date:04/22/2016
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:-
Target version:-
Component:

Description

Developers of ChatSecure,

Hello, first thanks for your efforts on ChatSecure.
I have found that ChatSecure has used AsyncTask.execute in NewChatActivity, MessageView, AccountActivity, AccountAdapter and WelcomeActivity. However, using this method became slower since Android 3.0 as tasks started by this method will be executed serially on a single background thread (explained in API Guide:[[ http://developer.android.com/intl/zh-cn/reference/android/os/AsyncTask.html#execute(Params...)]]) and will slow down your app if multiple AsyncTasks are executed at the same time.
The performance can be improved by using executeOnExecutor to achieve real multi-thread tasks.

Thank you.


Related issues

Copied from ChatSecure:Android - Bug #7165: Performance Improvement of AsyncTask New 04/22/2016

Also available in: Atom PDF