Commit graph

392 commits

Author SHA1 Message Date
Simon Cruanes
c77b579caa
bench: add -niter param 2023-06-07 21:23:31 -04:00
Simon Cruanes
65b3d8de06
makefile: detail 2023-06-07 21:12:56 -04:00
Simon Cruanes
bbe96de306
makefile: add bench-fib target 2023-06-07 21:04:18 -04:00
Simon Cruanes
3d972cc0cd
add benchs/ with a basic fib test 2023-06-07 21:03:26 -04:00
Simon Cruanes
39693b0f3f
test: add a fib function using futures to parallelize 2023-06-06 23:34:20 -04:00
Simon Cruanes
bd1ada40d4
Fut: add Infix_local 2023-06-06 23:34:06 -04:00
Simon Cruanes
e618739442
s_queue: improve try_pop, add try_push 2023-06-06 23:20:52 -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
adfa1e62cb
fix(pool): make sure the work queue is closed properly
this way we can't submit new jobs after the pool has been shutdown.
2023-06-05 13:04:10 -04:00
Simon Cruanes
6ffbd15a34
add Pool.size 2023-06-02 12:05:39 -04:00
Simon Cruanes
1f31f26edf
ugh 2023-06-01 23:20:06 -04:00
Simon Cruanes
04583d5a09
fix CI 2023-06-01 23:12:50 -04:00
Simon Cruanes
85dd753cfc
CI 2023-06-01 23:04:26 -04:00
Simon Cruanes
965a04f5c9
doc 2023-06-01 22:52:44 -04:00
Simon Cruanes
27570cc4f7
gh-pages action 2023-06-01 22:49:55 -04:00
Simon Cruanes
4147d29383
doc 2023-06-01 22:45:40 -04:00
Simon Cruanes
b7ba8d0e9b
doc 2023-06-01 22:37:56 -04:00
Simon Cruanes
d9eee6eb50
details 2023-06-01 22:34:14 -04:00
Simon Cruanes
2711e71d18
fix test 2023-06-01 22:21:49 -04:00
Simon Cruanes
2d9e834ccc
small fix 2023-06-01 22:14:44 -04:00
Simon Cruanes
d87dff529d
split into multiple files 2023-06-01 22:04:06 -04:00
Simon Cruanes
835eaf84c4
global thread loop wrappers 2023-06-01 21:54:22 -04:00
Simon Cruanes
feb3b39912
add optional wrapper for worker loop
this makes it possible to instrument the pool workers, or install
effect handlers to provide some form of `await`.
2023-06-01 21:39:36 -04:00
Simon Cruanes
5dcfab7cce
require 4.08; add infix operators; add dep on Either 2023-06-01 21:34:27 -04:00
Simon Cruanes
d7220c75f5
add start_thread_on_some_domain 2023-06-01 20:59:25 -04:00
Simon Cruanes
5840ba0981
ci: try 4.05 again 2023-06-01 20:54:40 -04:00
Simon Cruanes
b5618187d7
readme 2023-05-31 23:54:39 -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
f9ba356657
Fut.wait_block: a bit of spinning before blocking 2023-05-31 00:58:51 -04:00
Simon Cruanes
7d014b0586
readme: heavier test 2023-05-31 00:58:35 -04:00
Simon Cruanes
8c92636aaa
heavier test 2023-05-31 00:53:02 -04:00
Simon Cruanes
a585cc8158
fix: uniformize domain stub 2023-05-31 00:45:43 -04:00
Simon Cruanes
22ab8e4a69
fix for ocaml 5 2023-05-31 00:34:29 -04:00
Simon Cruanes
60e3e7a868
fix CI 2023-05-31 00:21:31 -04:00
Simon Cruanes
f84d3f7937
disable mac OS in CI for now 2023-05-30 23:54:16 -04:00
Simon Cruanes
e120a72e74
badge in readme 2023-05-30 23:54:00 -04:00
Simon Cruanes
2c3b2f3191
fix CI 2023-05-30 23:53:03 -04:00
Simon Cruanes
db53458897
also add a basic test 2023-05-30 23:52:27 -04:00
Simon Cruanes
2f0cf1970e
require ocaml >= 4.05; use mdx for the readme 2023-05-30 23:52:09 -04:00
Simon Cruanes
d31a84bab4
add combinators to Fut 2023-05-30 23:51:52 -04:00
Simon Cruanes
1619f8b773
initial commit 2023-05-30 23:03:05 -04:00