FrameworkBenchmarks icon indicating copy to clipboard operation
FrameworkBenchmarks copied to clipboard

Single query test raw connectivity vs ORM

Open amichair opened this issue 6 years ago • 0 comments

The JSON/multiple/fortune test requirements all specifically require instantiation of objects (whether or not they are created by an ORM layer or manually using raw connectivity data), whereas the single query test drops this requirement and mentions just 'rows' with raw connectivity (with no object instantiation, i.e. a row converted manually into a JSON object.)

I'm not sure if this is an ommission bug or intentional. If it's a bug it should be fixed to be consistent with the other tests, and if intentional perhaps this should be clarified explicitly and maybe the rational for this diference explained.

Personally I would expect that it also require object instantiation, just to make it consistent and allow comparisons to be a bit more meaningful (even between different tests of the same framework), but perhaps your rational is different.

Clarification in the docs would be welcome :-)

amichair avatar May 04 '19 16:05 amichair