MCPcopy Create free account
hub / github.com/Wscats/chrome-devtools-cli / render

Method render

src/core/view/panel/ModelPanel/index.tsx:156–206  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

154 }
155
156 render() {
157 return (
158 <div>
159 <Row type="flex" justify="center" align="middle" gutter={[0, 0]}>
160 <Col span={1}>
161 <Progress
162 type="circle"
163 percent={this.state.memory / 10}
164 format={(percent) => `${percent * 10} M`}
165 />
166 </Col>
167 <Col span={23}>
168 <div
169 ref="renderMemoryCharts"
170 style={{ minWidth: '600px', height: '400px' }}
171 ></div>
172 </Col>
173 </Row>
174 <Row type="flex" justify="center" align="middle" gutter={[0, 0]}>
175 <Col span={1}>
176 <Progress
177 type="circle"
178 percent={this.state.fps}
179 format={(percent) => `${percent} FPS`}
180 />
181 </Col>
182 <Col span={23}>
183 <div
184 ref="renderFpsCharts"
185 style={{ minWidth: '600px', height: '400px' }}
186 ></div>
187 </Col>
188 </Row>
189 {/* <Row type="flex" justify="center" align="middle" gutter={[0, 0]}>
190 <Col span={1}>
191 <Progress
192 type="circle"
193 percent={this.state.networkSpeed / 10}
194 format={(percent) => `${percent * 10} K`}
195 />
196 </Col>
197 <Col span={23}>
198 <div
199 ref="renderNetworkSpeedCharts"
200 style={{ minWidth: '600px', height: '400px' }}
201 ></div>
202 </Col>
203 </Row> */}
204 </div>
205 );
206 }
207}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected