Skip to content

speed up parametrized SQLs

Pavlo Mashliakovskiy requested to merge feature/optimizeSqlParamsParse into master

speed up parametrized SQLs (~ 8900 -> 9000 RPS on /dbRaw TechEmpower benchmark): in case query contains only ? parameters, or no parameters at all - prevents creating new parameters object and use passed by caller.

BREAKING in case ? parameters count in query !== passed parameters count - servet throws an exception; Before this changes extra parameters were ignored

Merge request reports

Loading