Open
Description
Some of the mux tests are quite expensive to run:
-
mux send receive bidir
-
mux send recieve
-
miniprotocols Pipe
-
miniprotocols Queue
mux send receive bidir
cabal run network-mux:test -- --quickcheck-replay=0 +RTS -t -RTS -p '/mux send receive bidir/'
mux
Mux
mux send receive bidir: OK (47.13s)
+++ OK, passed 100 tests.
All 1 tests passed (47.13s)
<<ghc: 127197507232 bytes, 16563 GCs, 39856977/140209304 avg/max bytes residency (815 samples), 298M in use, 0.001 INIT (0.001 elapsed), 42.515 MUT (42.429 elapse
d), 4.698 GC (4.709 elapsed) :ghc>>
mux send receive
Note as bad as the former (~80MB).
cabal run network-mux:test -- --quickcheck-replay=0 +RTS -t -RTS -p '$3 == "mux send receive"'
mux
Mux
mux send receive: OK (24.55s)
+++ OK, passed 100 tests.
All 1 tests passed (24.55s)
<<ghc: 65904410008 bytes, 8043 GCs, 25426523/80917000 avg/max bytes residency (578 samples), 184M in use, 0.001 INIT (0.001 elapsed), 21.499 MUT (21.455 elapsed),
miniprotocols Pipe
cabal run network-mux:test -- --quickcheck-replay=0 +RTS -t -RTS -p '/miniprotocols Pipe/'
mux
Mux
2 miniprotocols Pipe: OK (6.92s)
+++ OK, passed 50 tests.
All 1 tests passed (6.92s)
<<ghc: 11855966304 bytes, 2027 GCs, 33426434/95010648 avg/max bytes residency (170 samples), 224M in use, 0.001 INIT (0.000 elapsed), 7.947 MUT (5.689 elapsed), 1
.235 GC (1.238 elapsed) :ghc>>
miniprotocols Queue
cabal run network-mux:test -- --quickcheck-replay=0 +RTS -t -RTS -p '/miniprotocols Queue/'
mux
Mux
2 miniprotocols Queue: OK (10.01s)
+++ OK, passed 50 tests.
All 1 tests passed (10.01s)
<<ghc: 26581746808 bytes, 3309 GCs, 35857628/102024936 avg/max bytes residency (186 samples), 232M in use, 0.001 INIT (0.000 elapsed), 8.983 MUT (8.968 elapsed),
1.047 GC (1.049 elapsed) :ghc>>
Other tests
Other tests seem fine:
cabal run network-mux:test -- --quickcheck-replay=0 +RTS -t -RTS -p '!/miniprotocols Pipe/ && !/mux send receive/ && !/miniprotocols Queue/'
...
<<ghc: 26414567912 bytes, 4081 GCs, 11733079/65176160 avg/max bytes residency (487 samples), 159M in use, 0.001 INIT (0.000 elapsed), 10.764 MUT (47.663 elapsed),
1.478 GC (1.482 elapsed) :ghc>>
Metadata
Metadata
Assignees
Type
Projects
Status
No status