Skip to content

Commit

Permalink
Add dumptrace option to benchmark swarming test (#342)
Browse files Browse the repository at this point in the history
This option is needed to make the "Max Memory" field of benchmark stats be non-zero.

Bug: b/159127803
  • Loading branch information
hevrard authored Jun 17, 2020
1 parent 0107458 commit a33ed81
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/swarming/bot-scripts/benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,12 @@ def main():

#### Call benchmark command
gapit = os.path.join(agi_dir, 'gapit')
dumptrace = os.path.join(out_dir, 'benchmark.systrace')
cmd = [
gapit, 'benchmark',
'-startframe', test_params['startframe'],
'-numframes', test_params['numframes']
'-numframes', test_params['numframes'],
'-dumptrace', dumptrace
]

if 'additionalargs' in test_params.keys():
Expand Down

0 comments on commit a33ed81

Please sign in to comment.