File tree Expand file tree Collapse file tree 4 files changed +17
-1
lines changed
Expand file tree Collapse file tree 4 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -78,6 +78,8 @@ const BenchmarkDetail = ({
7878 result = (
7979 < Result
8080 status = { jobData . status }
81+ message = { jobData . message }
82+ error = { jobData . error }
8183 stderr = { jobData . stderr }
8284 stdout = { jobData . stdout }
8385 execDuration = { jobData . execDuration }
Original file line number Diff line number Diff line change @@ -30,6 +30,8 @@ export default function Example() {
3030 result = (
3131 < Result
3232 status = { jobData . status }
33+ message = { jobData . message }
34+ error = { jobData . error }
3335 stdout = { jobData . stdout }
3436 stderr = { jobData . stderr }
3537 execDuration = { jobData . execDuration }
Original file line number Diff line number Diff line change @@ -2,13 +2,17 @@ import React from 'react';
22
33interface LayoutProps {
44 status : string ;
5+ message : string ;
6+ error : string ;
57 stdout ?: string ;
68 stderr ?: string ;
79 execDuration ?: number ;
810}
911
1012const Result : React . FC < LayoutProps > = ( {
1113 status,
14+ message,
15+ error,
1216 stdout,
1317 stderr,
1418 execDuration,
@@ -18,11 +22,17 @@ const Result: React.FC<LayoutProps> = ({
1822 < b > Status: </ b >
1923 { status }
2024 < br />
25+ < b > Message: </ b >
26+ { message }
27+ < br />
28+ < b > Error: </ b >
29+ { error }
30+ < br />
2131 < b > Stdout: </ b >
2232 < pre > { stdout } </ pre >
2333 < b > Stderr: </ b >
2434 < pre > { stderr } </ pre >
25- < b > Execution duration (milliseconds ): </ b >
35+ < b > Execution duration (μs ): </ b >
2636 < pre > { execDuration } </ pre >
2737 </ div >
2838 ) ;
Original file line number Diff line number Diff line change @@ -58,6 +58,8 @@ function useProcessInterval({
5858 } : {
5959 data : {
6060 status : string ;
61+ message : string ;
62+ error : string ;
6163 stdout : string ;
6264 stderr : string ;
6365 execDuration : number ;
You can’t perform that action at this time.
0 commit comments