[pypy-commit] benchmarks single-run: tweak the json
fijal
noreply at buildbot.pypy.org
Wed Apr 8 12:17:04 CEST 2015
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: single-run
Changeset: r324:aac968027850
Date: 2015-04-08 12:14 +0200
http://bitbucket.org/pypy/benchmarks/changeset/aac968027850/
Log: tweak the json
diff --git a/runner.py b/runner.py
--- a/runner.py
+++ b/runner.py
@@ -58,8 +58,8 @@
force_host = parser_options.force_host
f.write(json.dumps({
'revision': revision,
- 'results': convert_results(results),
- "interpreter": parser_options.python,
+ 'benchmarks': convert_results(results),
+ "interpreter": parser_options.interpreter_name or parser_options.python,
"machine": force_host if force_host else socket.gethostname(),
"protocol_version_no": "1",
"start_timestamp": start_time,
@@ -110,6 +110,11 @@
'will be store in the result json and used for the upload. '
"(default: 'default')"))
benchmark_group.add_option(
+ '--force-interpreter-name', default=None, action='store',
+ dest='interpreter_name',
+ help=("Force the interpreter name present",)
+ )
+ benchmark_group.add_option(
'-r', '--revision', action="store",
dest='upload_revision',
help=("Specify the revision of the 'changed' interpreter. "
More information about the pypy-commit
mailing list