- We’ve using 2.4.
- We setup a DB and a few tables in mysql.
- Then we setup a mysql service and got an API with related. Works smoothly till now.
- Then we setup a codeigniter project using the SAME setup of DF ( same php/apache/mysql).
- Wrote a controller inside codeigniter to call the relation queries ( without join with multiple queries to match DF’s output response ).
Now, we have run apache benchmark ab on both.
Shockingly, DF was 3 times SLOWER than CodeIgniter API !
Same server, same environment, same queries to tables.
I understand there would be overheads for API platform, but that should be marginal. Not 3 times !