File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -273,11 +273,15 @@ def extract_vm_info(self, args):
273
273
out_version = subprocess .check_output ([self .interpreter , '--version' ], universal_newlines = True )
274
274
# The benchmark data goes back a ways, we modify the reported dims for
275
275
# continuity with the historical queries
276
+ graalvm_version_match = re .search (r"\(([^\)]+ ((?:\d+\.?)+))\)" , out_version )
276
277
dims = {
277
278
'guest-vm' : self .name (),
278
279
'guest-vm-config' : self .config_name (),
279
280
'host-vm' : 'graalvm-' + ('ee' if 'Oracle GraalVM' in out_version else 'ce' ),
280
281
'host-vm-config' : self .launcher_type ,
282
+ "platform.graalvm-edition" : 'EE' if 'Oracle GraalVM' in out_version else 'CE' ,
283
+ "platform.graalvm-version" : graalvm_version_match [2 ],
284
+ "platform.graalvm-version-string" : graalvm_version_match [1 ],
281
285
}
282
286
if dims ['guest-vm-config' ].endswith ('-3-compiler-threads' ):
283
287
dims ['guest-vm-config' ] = dims ['guest-vm-config' ].replace ('-3-compiler-threads' , '' )
You can’t perform that action at this time.
0 commit comments