Commits

Sebastien Mondet  committed d9664ca

Add a non-counted run (caching)

  • Participants
  • Parent commits f4e9aca

Comments (0)

Files changed (1)

File fastqbench.ml

   Lwt_io.printf "{section 2|Count Reads}\n" >>= fun () ->
   Lwt_list.iter_s (fun file ->
     Lwt_io.file_length file >>= fun file_lgth64 ->
+    (* one first "caching" run, to be more fair: *)
+    count_reads ~buffer_size:1_000_00 file
+    >>= fun _ ->
     Lwt_io.printf "{b|File:} {t|%s} (%Ld B)\n\
                    {begin table 3}\n\
                    {c h|Experiment}{c h|{#} Reads} {c h|Time (Avg.)}\n"