8PYTHON_VERSION_COMPATIBILITY =
"PY3"
11 'recipe_engine/context',
14 'recipe_engine/properties',
25 now = api.time.utcnow()
26 src_path = api.path.start_dir.join(
'perf')
27 with api.context(cwd=src_path):
28 results = api.file.glob_paths(
32 test_data=[
'nanobench_abc123.json'])
34 raise Exception(
'Unable to find nanobench JSON file!')
37 basename = api.path.basename(src)
39 'nano-json-v1', str(now.year).zfill(4),
40 str(now.month).zfill(2), str(now.day).zfill(2), str(now.hour).zfill(2),
41 api.vars.builder_name))
43 if api.vars.is_trybot:
44 gs_path =
'/'.
join((
'trybot', gs_path,
45 str(api.vars.issue), str(api.vars.patchset)))
48 'gs://%s' % api.properties[
'gs_bucket'], gs_path, basename))
52 cmd=[
'gsutil',
'cp',
'-z',
'json', src, dst],
57 builder =
'Perf-Debian10-Clang-GCE-CPU-AVX2-x86_64-All-Debug'
59 api.test(
'normal_bot') +
60 api.properties(buildername=builder,
61 gs_bucket=
'skia-perf',
63 path_config=
'kitchen')
68 api.properties(buildername=builder,
69 gs_bucket=
'skia-perf',
71 path_config=
'kitchen') +
72 api.properties.tryserver(
74 gerrit_project=
'skia',
75 gerrit_url=
'https://skia-review.googlesource.com/',
static SkString join(const CommandLineFlags::StringArray &)