I run the same code in "cli task action" and "web controller action". The code is used to update data in MySQL. But when I use CLI to run the function, it takes about over 30 times as compared with the time calling from web.
I want to create cron jobs to update data automatically. But it's too slow calling from CLI. It happens both in CentOS 7 and OSX 10.10.3.
Phalcon 1.3.3
Thanks!