presto-python-client icon indicating copy to clipboard operation
presto-python-client copied to clipboard

Performance improvements: Check log level. Allow non-default json lib.

Open 100LL opened this issue 4 years ago • 1 comments

  • Check the log level and prevent unnecessary calls to logger. In testing this resulted in a 15% decrease in query time.
  • Allow user to pass in a different json library. Using ujson instead of the json library built in to requests, combined with the above change, resulted in a 24% decrease in query time.

100LL avatar Jan 05 '21 04:01 100LL

CLA Signed

The committers are authorized under a signed CLA.

  • :white_check_mark: Robert Lee (1af4a3083fd8f2f7dac2b49e7ceb36c9f773da36, 4ecc9b18040a38a2efad06e9f7cf497bab7e7262)