Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@
7de742a776fcdad4b098695617b9e7afab822c82
# Biome
5a78e2466221c91fc3607be5b6549797551de4d1
# Upgrade to OCamlformat 0.27.0-preview1
67efa898e24f44d5e0ec354aa722db2bd5628339
2 changes: 1 addition & 1 deletion .ocamlformat
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ break-separators=before
dock-collection-brackets=false
margin=90
module-item-spacing=sparse
version=0.26.2
version=0.27.0-preview1
ocaml-version=4.08.0
6 changes: 3 additions & 3 deletions benchmarks/common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -193,9 +193,9 @@ end = struct
then fun x -> x
else
fun x ->
x
|> List.filter ~f:(fun nm -> Filename.check_suffix nm spec.ext)
|> List.map ~f:Filename.chop_extension)
x
|> List.filter ~f:(fun nm -> Filename.check_suffix nm spec.ext)
|> List.map ~f:Filename.chop_extension)
|> List.sort ~cmp:compare

let ml = create "ml" ".ml"
Expand Down
10 changes: 5 additions & 5 deletions benchmarks/report.ml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ let stats (h, t) =
let escape_name_for_gnuplot s =
let b = Buffer.create (String.length s) in
String.iter s ~f:(function
| '_' -> Buffer.add_string b {|\\\_|}
| c -> Buffer.add_char b c);
| '_' -> Buffer.add_string b {|\\\_|}
| c -> Buffer.add_char b c);
Buffer.contents b

let text_output _no_header (h, t) =
Expand Down Expand Up @@ -291,9 +291,9 @@ let output_tables r conf =
output_table
r
(List.map conf ~f:(function
| None -> read_blank_column ()
| Some (dir1, dir2, color, title, refe) ->
read_column ~title ~color dir1 (Spec.create dir2 "") refe))
| None -> read_blank_column ()
| Some (dir1, dir2, color, title, refe) ->
read_column ~title ~color dir1 (Spec.create dir2 "") refe))
(output_function !no_header);
no_header := true);
close ()
Expand Down
4 changes: 2 additions & 2 deletions benchmarks/run.ml
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -341,5 +341,5 @@ let _ =
List.iter compilers ~f:(fun (comp, dir) ->
measure param src (Filename.concat times dir) Spec.js comp;
List.iter suites ~f:(function
| None -> ()
| Some suite -> measure param code (Filename.concat times dir) suite comp))
| None -> ()
| Some suite -> measure param code (Filename.concat times dir) suite comp))
Loading
Loading