Lines Matching +full:footprint +full:- +full:delta

3 # SPDX-License-Identifier: Apache-2.0
5 This script help you to compare footprint results with previous commits in git.
44 proc = subprocess.Popen('git rev-parse --is-inside-work-tree',
62 format = logging.Formatter('%(levelname)-8s: %(message)s')
72 description="Compare footprint apps RAM and ROM sizes. Note: "
75 parser.add_argument('-b', '--base-commit', default=None,
76 help="Commit ID to use as base for footprint "
79 parser.add_argument('-c', '--commit', default=None,
80 help="Commit ID to use compare footprint against base. "
86 proc = subprocess.Popen('git rev-parse %s' % commit, stdout=subprocess.PIPE,
89 commit_id = proc.stdout.read().decode("utf-8").strip()
104 proc = subprocess.Popen('git diff --quiet', stdout=subprocess.PIPE,
109 proc = subprocess.Popen('git reset %s --hard' % commit,
123 cmd = '/bin/bash -c "source ./zephyr-env.sh && twister'
124 cmd += ' +scripts/sanity_chk/sanity_compare.args -o %s"' % output_file
134 logger.error("Couldn't build footprint apps in commit %s" % commit)
136 raise Exception("Couldn't build footprint apps in commit %s" % commit)
139 logging.debug("footprint build for %s" % commit)
143 cmd = "git clone --no-hardlinks %s" % os.environ.get('ZEPHYR_BASE')
176 proc = subprocess.Popen('git diff --quiet', stdout=subprocess.PIPE,
258 delta = test_data[metric] - golden_metric[metric]
259 if delta == 0:
262 'delta': delta,
281 percentage = (float(value['delta']) / float(value['current'] -
282 value['delta']))
285 value['delta'], value['current']))
288 print("There are no changes in RAM neither in ROM of footprint apps.")