parameters: (args)
docstring: Implementation of compare subcommand
      Compares two files (JSON or executables) specified in args.FILES
docstring_summary: Implementation of compare subcommand
      Compares two files (JSON or executables) specified in args.FILES
docstring_tokens: Implementation of compare subcommand Compares two files ( JSON or executables ) specified in args . FILES
function: def subcommand_compare(args):
      """Implementation of compare subcommand
      Compares two files (JSON or executables) specified in args.FILES
      """
      before_path, after_path = args.FILES
      before_metrics = read_or_measure_metrics(before_path)
      after_metrics = read_or_measure_metrics(after_path)
      diffs = compare_metrics(before_metrics, after_metrics)
      print(json.dumps(diffs, indent=JSON_INDENT))
function_tokens: def subcommand_compare ( args ) : before_path , after_path = args . FILES before_metrics = read_or_measure_metrics ( before_path ) after_metrics = read_or_measure_metrics ( after_path ) diffs = compare_metrics ( before_metrics , after_metrics ) print ( json . dumps ( diffs , indent = JSON_INDENT ) )