Commit 50f33ad0 authored by Peter Wen's avatar Peter Wen Committed by Commit Bot

Android: Disable assert in apkanalyzer.py

Fix perf bots.

NOTRY=true  # Fixing perf bots

Bug: 874956
Change-Id: I7d8ec786b1e32359aef5a2f487180ba3614c5918
Reviewed-on: https://chromium-review.googlesource.com/1178466Reviewed-by: default avataragrieve <agrieve@chromium.org>
Commit-Queue: Peter Wen <wnwen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583756}
parent 1f7e25a7
...@@ -111,9 +111,11 @@ def UndoHierarchicalSizing(data): ...@@ -111,9 +111,11 @@ def UndoHierarchicalSizing(data):
else: else:
# Sibling or higher nodes # Sibling or higher nodes
break break
assert total_child_size <= size, ( # Disabled for perf bots: https://crbug.com/874956
'Child node total size exceeded parent node total size') # TODO(wnwen): Investigate reason
node_size = size - total_child_size #assert total_child_size <= size, (
# 'Child node total size exceeded parent node total size')
node_size = max(0, size - total_child_size)
nodes.append((name, node_size)) nodes.append((name, node_size))
return next_idx, size return next_idx, size
......
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