Skip to content

Commit

Permalink
Revert "debug"
Browse files Browse the repository at this point in the history
This reverts commit 20050d6.
  • Loading branch information
kit-ty-kate committed Jul 12, 2024
1 parent 20050d6 commit 40150c9
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions tests/bench/bench.ml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ let () =
in
let time_OpamPackage_Version_compare_100 =
(* NOTE: https://github.com/ocaml/opam/pull/5518 *)
(* Gc.compact ();
Gc.compact ();
let ic = Stdlib.open_in_bin "/home/opam/all-packages" in
let pkgs =
let rec loop pkgs =
Expand All @@ -81,8 +81,7 @@ let () =
let _ = List.stable_sort OpamPackage.Version.compare pkgs in
Unix.gettimeofday () -. before)
in
List.fold_left (+.) 0.0 l /. float_of_int n *)
1.0
List.fold_left (+.) 0.0 l /. float_of_int n
in
let json = fmt {|{
"results": [
Expand Down

0 comments on commit 40150c9

Please sign in to comment.