Skip to content

Commit c82d8a6

Browse files
committed
added Chart for showing overall time taken
1 parent f77bbbc commit c82d8a6

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import React from 'react'
2+
3+
export function Graphics(props) {
4+
return (
5+
<React.Fragment>
6+
<p>Overall time taken</p>
7+
<canvas id="myChart" width="400" height="300" />
8+
<p>
9+
{' '}
10+
Total time taken combining all the phases -{' '}
11+
<strong>{props.totalTime} ms</strong>{' '}
12+
</p>
13+
</React.Fragment>
14+
)
15+
}

0 commit comments

Comments
 (0)