improve test a bit

This commit is contained in:
Simon Cruanes 2023-10-25 09:57:25 -04:00
parent fdc188c291
commit e0d3a18562
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4

View file

@ -2,9 +2,10 @@
open Moonpool open Moonpool
let pool = Pool.create ~min:4 () let ( let@ ) = ( @@ )
let run () = let run () =
let@ pool = Pool.with_ ~min:4 () in
let t1 = Unix.gettimeofday () in let t1 = Unix.gettimeofday () in
let n = 200_000 in let n = 200_000 in