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):
273273 out_version = subprocess .check_output ([self .interpreter , '--version' ], universal_newlines = True )
274274 # The benchmark data goes back a ways, we modify the reported dims for
275275 # continuity with the historical queries
276+ graalvm_version_match = re .search (r"\(([^\)]+ ((?:\d+\.?)+))\)" , out_version )
276277 dims = {
277278 'guest-vm' : self .name (),
278279 'guest-vm-config' : self .config_name (),
279280 'host-vm' : 'graalvm-' + ('ee' if 'Oracle GraalVM' in out_version else 'ce' ),
280281 '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 ],
281285 }
282286 if dims ['guest-vm-config' ].endswith ('-3-compiler-threads' ):
283287 dims ['guest-vm-config' ] = dims ['guest-vm-config' ].replace ('-3-compiler-threads' , '' )
You can’t perform that action at this time.
0 commit comments