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:

 

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

Activity

Show:
Michael Penick
September 13, 2019, 12:01 AM
Edited

I'm still unable to reproduce the driver performance regression.

Built driver using:

Built program using:

Results:

Michael Penick
September 13, 2019, 12:02 AM

What version of libuv are you using on macOS?

Silviu Caragea
September 13, 2019, 12:10 AM

1.27.0( last one from brew I think because I updated 1 week ago all brew packages)

Silviu Caragea
September 13, 2019, 12:23 AM

I’m building with (I specify the openssl location as well because with default one I get a linking error)

Silviu Caragea
September 13, 2019, 12:53 AM

I did the same test on Ubuntu 16.04 LTS and there I cannot replicate. new version slightly better and bot completing between 500 - 700 ms..

So issue is on my osx.. Any idea what I need to check to elucidate this ?

Silviu

Assignee

Unassigned

Reporter

Silviu Caragea

Labels

None

PM Priority

None

Reproduced in

2.11.0
2.12.0

External issue ID

None

Doc Impact

None

Reviewer

None

Pull Request

None

Size

None

Affects versions

Priority

Major