blob: cc4cb9ea43b4db9316c1c005959af770f64b2848 [file] [log] [blame]
#!/usr/bin/env python3
# Copyright 2022 The IREE Authors
#
# Licensed under the Apache License v2.0 with LLVM Exceptions.
# See https://llvm.org/LICENSE.txt for license information.
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
from dataclasses import dataclass
GIST_LINK_PLACEHORDER = "<<gist-link-placeholder>>"
@dataclass(frozen=True)
class CommentData(object):
"""Benchmark comment data."""
# Unique id to identify the same kind of comment.
type_id: str
# Abbreviated markdown to post as a comment.
abbr_md: str
# Abbreviated markdown to post on gist.
full_md: str