How to speed up tasker?

603 views
Skip to first unread message

GJD

unread,
May 7, 2014, 3:20:01 AM5/7/14
to tas...@googlegroups.com
I got a lot of projects using tasker. Like switching data, bluetooth, wifi, speech, notifications, alarms, schedules, location, ect.
Especially  when turning on / off the screen triggers things like data, bluetooth, wifi, location and say.
Then there are some shortcuts going through tasker, like for ssLauncher page turning.

How to speed up tasker a bit. Because turning on the screen, unlock using widget locker, it takes a bit to tasker become ready again to launch a shortcut.

I did already turned off most of the profiles, when there a not needed. Like if wifi is off, the profile wifi connected is also turned off.

I'm using a Galaxy Note 2 running jelly bean unrooted.

Is there also a way tasker can run multible tasks at once? For now i only can find that tasker is buffering the tasks?

To make the different project more stand-alone working, i made a mechanisme of profiles to react on variable set commands. In this case a task of one project don't have to perform a task from another project, just have to set a variable.
Also with just speaking out text (say), i listen to the variable set for TTS_TEXT_TO_SAY.

Jay M

unread,
May 7, 2014, 8:05:14 AM5/7/14
to tas...@googlegroups.com

Use local variables were ever ya can.

Jay M

--
You received this message because you are subscribed to the Google Groups "Tasker" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tasker+un...@googlegroups.com.
Visit this group at http://groups.google.com/group/tasker.
For more options, visit https://groups.google.com/d/optout.

Jeremy Harris

unread,
May 7, 2014, 9:45:21 AM5/7/14
to tas...@googlegroups.com
There's probably room to optimize some of your tasks...like mentioned above. Also, if your rooted, have a capable custom kernel, and know what your doing, you can overclock your processor for some impressive overall improvements to your phone's performance.

Brandon Horwath

unread,
May 7, 2014, 1:22:57 PM5/7/14
to tas...@googlegroups.com
If you use variable setting actions to search for multiple values in a variable, that can consume considerable time before a valid result is isolated.

If that's the case, using regex can optimize performance significantly.

For example, I use to perform manual variable searching for time codes in text messages. So I had a variable set for possible hourly time increments in a loop, and search for that variable. It was a terrible hack job, super resource consuming, and anti-tasker in most aspects.

Understanding regex more has allowed me to simplify the 5 looped actions into one simple if condition
IF %SMSRB ~R (1[012]|[1-9])([:]|[.]|)([0-5][0-9]|)([ ]|)(am|pm|noon)

which looks confusing, granted. But, in terms of efficiency this action is processed immediately, opposed to minutes of processing using variable searching. In addition, this doesn't just search for hourly matches, but any variation of time code. So regex can be much more inclusive and efficient.

Just a suggestion if it applies to you :)

Matt R

unread,
May 7, 2014, 2:40:32 PM5/7/14
to tas...@googlegroups.com
You could look at task priority levels.  If there's something you want to react first (even if other tasks are running), try giving it a higher priority.  Consider that the priority level of shortcuts is set in the Tasker preferences and changing that preference only affects new shortcuts (i.e. you may need to recreate your shortcuts if you want to adjust their priority).

Matt

Pent

unread,
May 8, 2014, 1:53:57 AM5/8/14
to tas...@googlegroups.com

You could look at task priority levels.  If there's something you want to react first (even if other tasks are running), try giving it a higher priority.  Consider that the priority level of shortcuts is set in the Tasker preferences and changing that preference only affects new shortcuts (i.e. you may need to recreate your shortcuts if you want to adjust their priority).

That's probably the main thing.

In human terms Tasker should not normally be experienced as slow unless there are loops, network
or major processing (e.g. images) involved.

Pent
Reply all
Reply to author
Forward
0 new messages