3 ms·
> it is still a valid measurement if the frameworks don't enable persistent connections by default I don't agree. Frameworks often prefer the "safe" option ove
by Schlaefer 13y ago
> it is still a valid measurement if the frameworks don't enable persistent connections by default
I don't agree. Frameworks often prefer the "safe" option over "performance" by default. If you activate persistent connections by raw coding it [1] then you should also set an absolutely obvious database configuration flag like [2] in a framework.
---
[1] https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/php/dbraw.php#L9 https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...
[2] https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/cake/app/Config/database.php#L64 https://github.com/TechEmpower/FrameworkBenchmarks/blob/mast...