C# performance query

From what we’ve seen, pretty=false improves both latency and throughput.
How did you exactly set the pretty to false?
Here are the things you can do to.

  1. Use prepared statement. Set adhoc to false
  2. Set pretty=false
  3. Increase pipeline-batch to 2048.
    info on how to increase it is at at: N1QL 200x slower than views for simple queries