Welcome Guest, Not a member yet? Register   Sign In
JSON encoding test at TechEmpower, CodeIgniter vs PHP.
#2

> The reason for the slow performance for single-queries (as I read their code used for the tests) was the use of CodeIgniter-2 (but a bigger reason was) and using mysql driver in CodeIgniter and for PHP they used PDO driver (I reported that issue).

Did you confirm that? If you change it to PDO_MySQL, the performance increases?

> Can anyone tell me why does this function run slower comparing to the raw-php code?

Every framework is slow. It does a lot of things before running code in controllers.
Reply


Messages In This Thread
RE: JSON encoding test at TechEmpower, CodeIgniter vs PHP. - by kenjis - 12-01-2015, 11:00 PM



Theme © iAndrew 2016 - Forum software by © MyBB