Commit 60acf3e8 authored by Sergiy Byelozyorov's avatar Sergiy Byelozyorov Committed by Commit Bot

Revert "[tools] Keep raw data in the generated JSON for debugging purposes"

This reverts commit 1e1cca61.

Reason for revert: breaks builders

Original change's description:
> [tools] Keep raw data in the generated JSON for debugging purposes
> 
> R=​machenbach@chromium.org
> 
> Bug: chromium:861668
> Change-Id: Ic3225ed5919c21a7f6a9f21cba4aa491e1d6606d
> Reviewed-on: https://chromium-review.googlesource.com/1140331
> Reviewed-by: Michael Achenbach <machenbach@chromium.org>
> Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#54508}

TBR=machenbach@chromium.org,sergiyb@chromium.org

Change-Id: I10dff94c9cfe08c4a6b6d4d225b429fe16b95d19
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: chromium:861668
Reviewed-on: https://chromium-review.googlesource.com/1141784Reviewed-by: 's avatarSergiy Byelozyorov <sergiyb@chromium.org>
Commit-Queue: Sergiy Byelozyorov <sergiyb@chromium.org>
Cr-Commit-Position: refs/heads/master@{#54517}
parent f9486332
......@@ -18,7 +18,6 @@ For each command, you can try ./runtime-call-stats.py help command.
'''
import argparse
import copy
import json
import os
import re
......@@ -555,8 +554,6 @@ def do_json(args):
if domain not in versions[version]: versions[version][domain] = {}
read_stats(os.path.join(root, filename),
versions[version][domain], args)
# TODO(sergiyb): Remove after resolving https://crbug.com/861668.
raw_data = copy.deepcopy(versions)
for version, domains in versions.items():
if args.aggregate:
create_total_page_stats(domains, args)
......@@ -573,8 +570,6 @@ def do_json(args):
entry.append(round(s['ci']['perc'], 2))
stats.append(entry)
domains[domain] = stats
# TODO(sergiyb): Remove after resolving https://crbug.com/861668.
versions['raw_data'] = raw_data
print json.dumps(versions, separators=(',', ':'))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment