Simon Cruanes
e0d3a18562
improve test a bit
2023-10-25 09:57:25 -04:00
Simon Cruanes
78407c495d
more tests for WS_deque
2023-10-25 09:56:56 -04:00
Simon Cruanes
91c0c3f6c1
fix props
2023-10-25 01:01:51 -04:00
Simon Cruanes
3bfc4cdcc7
more test
2023-10-25 00:28:16 -04:00
Simon Cruanes
c03e342178
tests: run some tests on both Pool and Simple_pool
2023-10-25 00:21:07 -04:00
Simon Cruanes
ae5f3a7e97
tests for ws_deque
2023-10-25 00:09:38 -04:00
Simon Cruanes
43eca1d4e2
restore test
2023-10-24 19:56:18 -04:00
Simon Cruanes
fb7cc5d69f
add heavier test for a particular hangup in fork join
2023-10-24 16:56:52 -04:00
Simon Cruanes
9ab9df78c9
update tests a bit
2023-10-24 13:48:23 -04:00
Simon Cruanes
60255c0e95
test: add dep on trace-tef; add new test for scheduling issues
...
trying to expose that sometimes, some workers might be asleep while
others do several tasks, because they're sleeping on the "wrong" queue
2023-10-24 10:03:46 -04:00
Simon Cruanes
d37733b5bd
add tests for Bounded_queue
2023-10-12 22:24:28 -04:00
Simon Cruanes
cfbcc72648
improve a bit the resource test
2023-08-13 22:47:54 -04:00
Simon Cruanes
6c4d2cbc79
test for proper resource handling in Pool.shutdown
2023-08-13 22:24:14 -04:00
Simon Cruanes
d18e88a772
details in test
2023-07-17 10:54:47 -04:00
Simon Cruanes
366d26527c
another test
2023-07-16 23:21:45 -04:00
Simon Cruanes
f7d9e6c0c1
add prop test for Fork_join.map_list
2023-07-16 23:17:16 -04:00
Simon Cruanes
6c0063f9ac
more tests
2023-07-13 12:23:52 -04:00
Simon Cruanes
20240a6190
fix: Fork_join.for_ 0 must not hang
2023-07-13 12:23:25 -04:00
Simon Cruanes
548212ab43
add prop test for fork_join
2023-07-10 23:20:25 -04:00
Simon Cruanes
2326ae0078
modify Fork_join.for_ to avoid the allocator.
...
The allocator means calling a closure at each step, which means local
a reference will have to be heap allocated (and worse, that floats will
be unboxed). Instead we give the function a pair of low,high bounds for
a local for.
2023-07-10 01:19:16 -04:00
Simon Cruanes
55f831bc8b
add Fork_join.{for_,map_reduce_commutative}
2023-07-10 01:14:16 -04:00
Simon Cruanes
b080c962e1
test: use less aggressive numbers, my poor ram!
2023-07-10 00:01:37 -04:00
Simon Cruanes
e73c1a2966
tests: compat 4.x
2023-07-09 22:07:44 -04:00
Simon Cruanes
27ec0f85e6
test: add more fork-join tests
2023-07-05 21:55:00 -04:00
Simon Cruanes
b346fa03af
rename tests
2023-07-05 21:55:00 -04:00
Simon Cruanes
2db2bd9ba2
rename test dir
2023-07-05 21:55:00 -04:00
Simon Cruanes
0f383e877a
test: add a parallel quicksort
2023-07-05 21:55:00 -04:00
Simon Cruanes
43487ebe49
add Fork_join.all_{list,init}
...
primitives to fork-join over n tasks
2023-07-05 21:55:00 -04:00
Simon Cruanes
3b9f56a138
add test for fork_join
2023-07-05 21:55:00 -04:00
Simon Cruanes
3676d1e28d
test: remove dep
2023-06-20 22:43:58 -04:00
Simon Cruanes
1d23d2d7a1
rename Fut.await_exn to Fut.await
2023-06-20 22:43:33 -04:00
Simon Cruanes
f98bcf2f08
add test for await
2023-06-20 22:43:14 -04:00
Simon Cruanes
62777e1112
test: add tests for Fut.await
2023-06-20 22:43:14 -04:00
Simon Cruanes
eab774813d
test: add load test for chans
2023-06-20 22:43:12 -04:00
Simon Cruanes
4e112e1591
add some property tests
2023-06-15 21:34:33 -04:00
Simon Cruanes
b8588f2d65
feat: add Fut.for_list
2023-06-15 11:59:10 -04:00
Simon Cruanes
39712e7f54
test: regression test for bug in wait_list on empty list
2023-06-15 11:58:32 -04:00
Simon Cruanes
c8235f463d
test: add regression test for bug in join_array
2023-06-15 11:42:03 -04:00
Simon Cruanes
826d1f15c8
add test
2023-06-14 11:34:44 -04:00
Simon Cruanes
a9a51b08c4
test t_tree_futs: env J to set size of pool
2023-06-12 23:17:07 -04:00
Simon Cruanes
9a922088fd
test t_tree_futs: run GC stats thread, for trace
2023-06-12 23:17:07 -04:00
Simon Cruanes
948baea4b2
fix test dune file
2023-06-12 22:22:04 -04:00
Simon Cruanes
392201445b
test: add t_tree_futs
...
exercises futures pretty hard.
2023-06-12 22:07:36 -04:00
Simon Cruanes
e8ba4feea1
expose Atomic
2023-06-10 00:21:46 -04:00
Simon Cruanes
77ace92ec1
add tests for futures
2023-06-09 23:57:27 -04:00
Simon Cruanes
6342705502
test: make the benchmark quicker by default
2023-06-09 23:37:20 -04:00
Simon Cruanes
39693b0f3f
test: add a fib function using futures to parallelize
2023-06-06 23:34:20 -04:00
Simon Cruanes
d3bb7652ba
test: test running multiple pools in succession, then all at once
2023-06-05 13:04:35 -04:00
Simon Cruanes
7005e114d1
remove tracy from t_bench1
2023-05-31 23:44:59 -04:00
Simon Cruanes
4e321b9c46
add little benchmark tool in test + start script
2023-05-31 23:25:31 -04:00