The following are different implementations of DB_common::modifyQuery()
.
To benchmark them, I ran each one 5 times locally on a laptop (i7-4650U, PHP 7.0.32). The results:
- common-none.php: (9.420 + 9.370 + 9.341 + 9.549 + 9.541)/5 = 9.444
- common-ghe.php: (10.549 + 10.161 + 10.081 + 10.448 + 10.253)/5 = 10.298
- common-qed.php (10.043 + 9.980 + 9.988 + 9.918 + 10.018)/5 = 9.989
- common-qes.php: (9.531 + 9.871 + 9.801 + 9.782 + 9.952)/5 = 9.787