mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-06 03:05:30 -05:00
improve test a bit
This commit is contained in:
parent
fdc188c291
commit
e0d3a18562
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue