Skip to content

Commit

Permalink
Produce less frames with annotations
Browse files Browse the repository at this point in the history
Reviewed By: compositor

Differential Revision: D50676855

fbshipit-source-id: 09c03b0f3ec9095845eac2a96895b393ab0c5182
  • Loading branch information
marat-turaev authored and facebook-github-bot committed Oct 31, 2023
1 parent 1402375 commit 65b3475
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions sapp/pipeline/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,17 @@ def from_json(j: Dict[str, Any]) -> "ParseTraceAnnotation":
subtraces=j["subtraces"],
)

def __hash__(self) -> int:
return hash(
(
self.location,
self.kind,
self.msg,
self.leaf_kind,
self.leaf_depth,
)
)


class ParseTraceFeature(NamedTuple):
name: str
Expand Down

0 comments on commit 65b3475

Please sign in to comment.