samvera / questioning_authority

Question your authorities
Other
54 stars 30 forks source link

add bytes and bytes/s to performance data #250

Closed elrayle closed 5 years ago

elrayle commented 5 years ago

Closes #246

New fetch performance data...

"performance":{
  "predicate_count":19,
  "fetch_time_s":1.563339,
  "normalization_time_s":8.0e-06,
  "fetched_bytes":241308,
  "normalized_bytes":19920,
  "fetch_bytes_per_s":154354.23794839124,
  "normalization_bytes_per_s":2490000000.0,
  "total_time_s":1.563347}

New search performance data...

"performance":{
  "result_count":20,
  "fetch_time_s":1.0732,
  "normalization_time_s":1.75178,
  "fetched_bytes":107856,
  "normalized_bytes":2159,
  "fetch_bytes_per_s":100499.44092433843,
  "normalization_bytes_per_s":1232.4606971195014,
  "total_time_s":2.82498}