Lines Matching +full:- +full:- +full:json
4 # SPDX-License-Identifier: Apache-2.0
8 # end up with a json file in the build directory that can be used as input
15 # ./scripts/footprint/fpdiff.py ram1.json ram2.json
23 import json
42 data1 = json.load(f)
45 data2 = json.load(f)
56 # pylint: disable=undefined-loop-variable
60 diff = n.size - node.size
65 print(f"{n.identifier} -> {Fore.GREEN}{diff}{Fore.RESET}")
67 print(f"{n.identifier} -> {Fore.RED}+{diff}{Fore.RESET}")
71 print(f"{node.identifier} ({Fore.GREEN}-{node.size}{Fore.RESET}) disappeared.")