Changeset b738974 for benchmark/plot.py


Ignore:
Timestamp:
May 4, 2022, 2:27:25 PM (2 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, ast-experimental, master, pthread-emulation, qualifiedEnum
Children:
f6737ae1
Parents:
5695645 (diff), 3b5dcfa (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of plg.uwaterloo.ca:software/cfa/cfa-cc

File:
1 edited

Legend:

Unmodified
Added
Removed
  • benchmark/plot.py

    r5695645 rb738974  
    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),
     50        "Update Ratio"          : Field('\%'    , 0, False),
    4851}
    4952
     
    9295        print("Making Plots")
    9396
    94         for name, data in series.items():
     97        for name, data in sorted(series.items()):
    9598                _col = next(colors)
    9699                plt.scatter(data['x'], data['y'], color=_col, label=name, marker='x')
Note: See TracChangeset for help on using the changeset viewer.