- Timestamp:
- May 4, 2022, 1:33:08 PM (3 years ago)
- Branches:
- ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
- Children:
- b738974
- Parents:
- c899175
- Location:
- benchmark
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
benchmark/plot.py
rc899175 r3b5dcfa 33 33 "Ops per threads" : Field('Ops' , 0, False), 34 34 "ns per ops/procs" : Field('ns' , 0, False), 35 "Number of threads" : Field(' thrd', 1, False),35 "Number of threads" : Field('' , 1, False), 36 36 "Total Operations(ops)" : Field('Ops' , 0, False), 37 37 "Ops/sec/procs" : Field('Ops' , 0, False), … … 40 40 "Cycle size (# thrds)" : Field('thrd' , 1, False), 41 41 "Duration (ms)" : Field('ms' , 0, False), 42 "Target QPS" : Field('QPS' , 0, False), 43 "Actual QPS" : Field('QPS' , 0, False), 42 "Target QPS" : Field('' , 0, False), 43 "Actual QPS" : Field('' , 0, False), 44 "Average Read Latency" : Field('us' , 0, True), 44 45 "Median Read Latency" : Field('us' , 0, True), 45 46 "Tail Read Latency" : Field('us' , 0, True), 47 "Average Update Latency": Field('us' , 0, True), 46 48 "Median Update Latency" : Field('us' , 0, True), 47 49 "Tail Update Latency" : Field('us' , 0, True), 48 "Update Ratio" : Field(' %', 0, False),50 "Update Ratio" : Field('\%' , 0, False), 49 51 } 50 52 -
benchmark/process-mutilate.py
rc899175 r3b5dcfa 32 32 33 33 try: 34 latAvs = fields[6] 34 35 lat50s = fields[6] 35 36 lat99s = fields[9] … … 38 39 39 40 try: 41 latAv = locale.atof(latAvs) 40 42 lat50 = locale.atof(lat50s) 41 43 lat99 = locale.atof(lat99s) … … 59 61 try: 60 62 if line.startswith("read"): 61 rlat 50, rlat99 = precentile(line)63 rlatAv, rlat50, rlat99 = precentile(line) 62 64 63 65 elif line.startswith("update"): 64 ulat 50, ulat99 = precentile(line)66 ulatAv, ulat50, ulat99 = precentile(line) 65 67 66 68 elif line.startswith("Total QPS"): … … 85 87 86 88 try: 89 out['Average Read Latency'] = rlatAv 87 90 out['Median Read Latency'] = rlat50 88 91 out['Tail Read Latency'] = rlat99 … … 91 94 92 95 try: 96 out['Average Update Latency'] = ulatAv 93 97 out['Median Update Latency'] = ulat50 94 98 out['Tail Update Latency'] = ulat99
Note: See TracChangeset
for help on using the changeset viewer.