Performance degradation while updating to master

Description

Hello,

While updating the cpp driver from 0edf3d2eff88d7594ed7dc070f889b1bcacb677f to master I found out a very big regressing into our internal benchmarks.

Schema is:

 

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 CREATE TABLE test_table ( col1 ascii, col2 bigint, col3 blob, col4 boolean, col5 decimal, col6 double, col7 float, col8 int, col9 timestamp, col10 uuid, col11 text, col12 varint, col13 timeuuid, col14 inet, PRIMARY KEY (col1));

You don't have to add any data inside. The difference is noticeable even with empty results.

I did a small c++ app to show this regression (please find attach):

0edf3d2eff88d7594ed7dc070f889b1bcacb677f - test completes in 1082 ms
master - in over 3800 ms (never seen less than 3.4 seconds)

I performed the tests on a MacBook Pro (Retina, 15-inch, Mid 2014) 2.5 GHz Intel Core i7, 16 GB 1600 MHz DDR3

Basically the test is measuring how fast you can send 100000 prepared queries and receive their responses.

Environment

Mac OS X, Linux

Pull Requests

None

Status

Assignee

Unassigned

Reporter

Silviu Caragea

Labels

None

PM Priority

None

Reproduced in

2.11.0
2.12.0

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

External issue ID

None

Doc Impact

None

Reviewer

None

Size

None

Affects versions

2.12.0
2.11.0

Priority

Major