Commit graph

86 commits

Author SHA1 Message Date
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
Simon Cruanes
db53458897
also add a basic test 2023-05-30 23:52:27 -04:00