Analy query performance

I am trying to analyze query performance when running multiple term queries, connected once throught "AND" and once throught "OR"
For example if I have this 2 queries

 {
      "size": 0,
      "terminate_after": 1000000000,
      "query": {
        "query_string": {
          "fields": ["text"],
          "query": "york apple",
          "default_operator": "and",
          "fuzziness": "0",
          "phrase_slop": 0
        }
      }
    }

and

 {
      "size": 0,
      "terminate_after": 1000000000,
      "query": {
        "query_string": {
          "fields": ["text"],
          "query": "york apple",
          "default_operator": "or",
          "fuzziness": "0",
          "phrase_slop": 0
        }
      }
    }

where I can see search per seconds for each?
I was thinking to create a script to sent the first query 100 times and then find information regarding search per second and hits
and also the same for the second query , and then to create a graphic to represent the queries performance difference between connecting terms with "AND" or "OR", but I am not really sure where I can find this info regarding query per second and hits.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.