@@ -76,9 +76,13 @@ def __lt__(self, other):
7676
7777class GCVS (ExperimentProfile ):
7878 GC = ("gc" , "Alloy" )
79- RC = ("rc" , r"\texttt{Rc<T>}" )
80- ARC = ("arc" , r"\texttt{Arc<T>}" )
81- BASELINE = ("baseline" , r"Baseline" , {"gc-default-allocator" : False })
79+ RC = ("rc" , r"RC \texttt{[gcmalloc]}" )
80+ ARC = ("arc" , r"RC \texttt{[gcmalloc]}" )
81+ BASELINE = (
82+ "baseline" ,
83+ r"RC \texttt{[jemalloc]}" ,
84+ {"gc-default-allocator" : False },
85+ )
8286 TYPED_ARENA = ("typed-arena" , "Typed Arena" )
8387 RUST_GC = ("rust-gc" , "Rust-GC" )
8488
@@ -98,17 +102,21 @@ def _missing_(cls, value):
98102 return cls .GC
99103 return None
100104
105+ @property
106+ def baseline (cls ):
107+ return cls .BASELINE
108+
101109
102110class PremOpt (ExperimentProfile ):
103111 NAIVE = (
104112 "naive" ,
105- "Barriers Naive " ,
113+ "All Barriers " ,
106114 {"premature-finalizer-prevention-optimize" : False },
107115 )
108- OPT = ("opt" , "Barriers Opt " )
116+ OPT = ("opt" , "Optimized Barriers " )
109117 NONE = (
110118 "none" ,
111- "Barriers None " ,
119+ "No Barriers " ,
112120 {
113121 "premature-finalizer-prevention" : False ,
114122 "premature-finalizer-prevention-optimize" : False ,
@@ -131,9 +139,13 @@ def _missing_(cls, value):
131139 return cls .OPT
132140 return None
133141
142+ @property
143+ def baseline (cls ):
144+ return cls .NONE
145+
134146
135147class Elision (ExperimentProfile ):
136- NAIVE = ("naive" , "No elision " , {"finalizer-elision" : False })
148+ NAIVE = ("naive" , "No Elision " , {"finalizer-elision" : False })
137149 OPT = ("opt" , "Elision" )
138150
139151 @classmethod
@@ -152,6 +164,10 @@ def _missing_(cls, value):
152164 return cls .OPT
153165 return None
154166
167+ @property
168+ def baseline (cls ):
169+ return cls .NAIVE
170+
155171
156172def cargo_build (c , src , outdir , install_dir , build_artefact , bin , env = None ):
157173 src = Path (src )
0 commit comments