Releases: ocaml-multicore/multicoretests
Releases · ocaml-multicore/multicoretests
0.4
The 0.4 release brings two new "stress test" functions and also adjusts the cmd list distribution of STM_sequential
:
- #415: Remove
--verbose
in internalmutable_set_v5
expect test to avoid a test failure on a slow machine - #443: Add
Lin_domain.stress_test
as a lighter stress test, not requiring an interleaving search. - #462: Add
STM_domain.stress_test_par
, similar toLin_domain.stress_test
for STM models. - #472: Switch
arb_cmds
to use an exponential distribution with a mean of 10, avoiding lists of up to 10000 cmds inSTM_sequential
(reported by @nikolaushuber).
0.3
The 0.3 release brings 3 "usability improvements" to STM
and Util
and a Lin
search improvement that should reduce memory allocation.
- #400: Catch and delay exceptions in
STM
'snext_state
for a nicer UX - #387: Reduce needless allocations in
Lin
's sequential consistency
search, as part of anOut_channel
test cleanup - #379: Extend the set of
Util.Pp
pretty-printers and teach them to
add break hints similar toppx_deriving.show
; teachto_show
to
generate truncated strings when$MCTUTILS_TRUNCATE
environment
variable is set - #368: Switch
STM_domain.agree_prop_par_asym
from using
Semaphore.Binary
to using anint Atomic.t
which improves
the error rate across platforms and backends
0.2
This release adds a range of features and bugfixes:
- #342: Add two submodules of combinators in
Util
:Pp
to pretty-print values back to valid OCaml syntaxEqual
to test equality of values
- #337: Add 3
Bytes.t
combinators toLin
:bytes
,bytes_small
,bytes_small_printable
- #329,340,352: Support
qcheck-lin
andqcheck-stm
on OCaml 4.12.x, 4.13.x and 4.14.x
without theDomain
andEffect
modes - #316: Fix
rep_count
inSTM_thread
so that negative and positive
tests repeat equally many times - #318: avoid repetitive interleaving searches in
STM_domain
andSTM_thread
- #312: Escape and quote
bytes
printed withSTM
'sbytes
combinator - #295: ensure
cleanup
is run in the presence of exceptions inSTM_sequential.agree_prop
andSTM_domain.agree_prop_par
Lin_thread.lin_prop
andLin_effect.lin_prop