presto-python-client
presto-python-client copied to clipboard
Performance improvements: Check log level. Allow non-default json lib.
- 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 torequests
, combined with the above change, resulted in a 24% decrease in query time.