Skip to content

Commit

Permalink
Reorganise benchmarks (ocaml#5290)
Browse files Browse the repository at this point in the history
Signed-off-by: Jeremie Dimino <[email protected]>
  • Loading branch information
jeremiedimino authored Dec 10, 2021
1 parent 9580b81 commit 4db21fe
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions bench/bench.ml
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,15 @@ let () =
stat.st_size
in
let results =
[ { Output.name = "clean_build"
; metrics = [ ("time", `Float clean, "secs") ]
[ { Output.name = "Build times"
; metrics =
[ ("Clean build time", `Float clean, "secs")
; ("Null build time", `List zero, "secs")
]
}
; { Output.name = "Misc"
; metrics = [ ("Size of dune.exe", `Int size, "bytes") ]
}
; { Output.name = "zero_build"; metrics = [ ("time", `List zero, "secs") ] }
; { Output.name = "dune_size"; metrics = [ ("size", `Int size, "bytes") ] }
]
in
let version = 2 in
Expand Down

0 comments on commit 4db21fe

Please sign in to comment.