Changeset 3b5dcfa for benchmark


Ignore:
Timestamp:
May 4, 2022, 1:33:08 PM (2 years ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
b738974
Parents:
c899175
Message:

Some more tiny fixes to the memcached results handling

Location:
benchmark
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • benchmark/plot.py

    rc899175 r3b5dcfa  
    3333        "Ops per threads"       : Field('Ops'   , 0, False),
    3434        "ns per ops/procs"      : Field('ns'    , 0, False),
    35         "Number of threads"     : Field('thrd'  , 1, False),
     35        "Number of threads"     : Field(''      , 1, False),
    3636        "Total Operations(ops)" : Field('Ops'   , 0, False),
    3737        "Ops/sec/procs"         : Field('Ops'   , 0, False),
     
    4040        "Cycle size (# thrds)"  : Field('thrd'  , 1, False),
    4141        "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),
    4445        "Median Read Latency"   : Field('us'    , 0, True),
    4546        "Tail Read Latency"     : Field('us'    , 0, True),
     47        "Average Update Latency": Field('us'    , 0, True),
    4648        "Median Update Latency" : Field('us'    , 0, True),
    4749        "Tail Update Latency"   : Field('us'    , 0, True),
    48         "Update Ratio"          : Field('%'     , 0, False),
     50        "Update Ratio"          : Field('\%'    , 0, False),
    4951}
    5052
  • benchmark/process-mutilate.py

    rc899175 r3b5dcfa  
    3232
    3333        try:
     34                latAvs = fields[6]
    3435                lat50s = fields[6]
    3536                lat99s = fields[9]
     
    3839
    3940        try:
     41                latAv = locale.atof(latAvs)
    4042                lat50 = locale.atof(lat50s)
    4143                lat99 = locale.atof(lat99s)
     
    5961                try:
    6062                        if   line.startswith("read"):
    61                                 rlat50, rlat99 = precentile(line)
     63                                rlatAv, rlat50, rlat99 = precentile(line)
    6264
    6365                        elif line.startswith("update"):
    64                                 ulat50, ulat99 = precentile(line)
     66                                ulatAv, ulat50, ulat99 = precentile(line)
    6567
    6668                        elif line.startswith("Total QPS"):
     
    8587
    8688        try:
     89                out['Average Read Latency'] = rlatAv
    8790                out['Median Read Latency'] = rlat50
    8891                out['Tail Read Latency'] = rlat99
     
    9194
    9295        try:
     96                out['Average Update Latency'] = ulatAv
    9397                out['Median Update Latency'] = ulat50
    9498                out['Tail Update Latency'] = ulat99
Note: See TracChangeset for help on using the changeset viewer.