未验证 提交 6104df8f 编写于 作者: 静夜思朝颜's avatar 静夜思朝颜 提交者: GitHub

change ProfileStackElement to single level (#32)

上级 f4e314de
...@@ -84,8 +84,11 @@ type ProfileTask { ...@@ -84,8 +84,11 @@ type ProfileTask {
logs: [ProfileTaskLog!]! logs: [ProfileTaskLog!]!
} }
# Profile thread stack anayze tree # Profile thread stack anayze tree element
type ProfileStackElement { type ProfileStackElement {
# work for tree building, id matches multiple parentId
id: ID!
parentId: ID!
# stack code signature # stack code signature
codeSignature: String! codeSignature: String!
# Include the execution time of children(millisecond) # Include the execution time of children(millisecond)
...@@ -94,14 +97,20 @@ type ProfileStackElement { ...@@ -94,14 +97,20 @@ type ProfileStackElement {
durationChildExcluded: Int! durationChildExcluded: Int!
# continuous dump count # continuous dump count
count: Int! count: Int!
# children of this stack code sign }
children: [ProfileStackElement!]
# Profile thread stack anayze tree
type ProfileStackTree {
elements: [ProfileStackElement!]!
} }
# Profile analyze result # Profile analyze result
type ProfileAnalyzation { type ProfileAnalyzation {
# thread stack dump analyze tree # if not empty means backend has information gave to the user
stack: [ProfileStackElement!]! # such as: a large number of snapshots, only analyze part of the data
tip: String
# thread stack dump analyze trees
trees: [ProfileStackTree!]!
} }
extend type Mutation { extend type Mutation {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册