Commit graph

  • 9639c98f96 deploy: 1c94c59d88 c-cube 2023-11-17 17:53:06 +00:00
  • 1c94c59d88
    feat: add Fut.map_list Simon Cruanes 2023-11-17 12:41:29 -05:00
  • b9cd527407 deploy: 9de83bde6a c-cube 2023-11-08 20:06:59 +00:00
  • 9de83bde6a
    changelog Simon Cruanes 2023-11-08 14:06:48 -05:00
  • e9ef1f95da deploy: 33d806f8d34e856ad637c6f6d0e4551c009c8a6b c-cube 2023-11-08 19:11:10 +00:00
  • 4a99d80469 deploy: 3f9600ea4d c-cube 2023-11-08 17:46:43 +00:00
  • 3f9600ea4d
    CI: more lenient timeout Simon Cruanes 2023-11-08 12:41:51 -05:00
  • fd2102c7fe
    prepare for 0.5 v0.5 Simon Cruanes 2023-11-08 12:38:34 -05:00
  • 2a59e35a59 deploy: f50ffe9891 c-cube 2023-11-08 17:22:30 +00:00
  • f50ffe9891
    Merge pull request #12 from c-cube/wip-ws-2023-10-25 Simon Cruanes 2023-11-08 12:11:46 -05:00
  • 3f7ed7b6b8 moonpool: expose Fut.{spawn_on_current_runner,await} Simon Cruanes 2023-11-07 21:11:12 -05:00
  • 989c012f77 fix warnings Simon Cruanes 2023-11-07 20:48:04 -05:00
  • 62e8336d84 update tests and benchs for new Fut API Simon Cruanes 2023-11-07 20:42:30 -05:00
  • 59ae1068fd breaking: fut: only have module Infix Simon Cruanes 2023-11-07 20:41:09 -05:00
  • d4e5e811bb breaking: fut: change behavior of ?on Simon Cruanes 2023-11-07 20:41:34 -05:00
  • 9709f88d5f breaking: fut: join does not take ?on anymore Simon Cruanes 2023-11-07 20:38:27 -05:00
  • 9cb7781a2e feat: fut: add spawn_on_current_runner Simon Cruanes 2023-11-07 20:37:39 -05:00
  • 0a432585c6 fix: in WS_pool, only schedule in worker queues in some cases Simon Cruanes 2023-11-07 20:03:46 -05:00
  • 245bfd9b7b test: regression test for bug Simon Cruanes 2023-11-07 20:00:24 -05:00
  • 602dcc18fe
    moonpool: expose Fut.{spawn_on_current_runner,await} Simon Cruanes 2023-11-07 21:11:12 -05:00
  • 5a9f31ab71
    fix warnings Simon Cruanes 2023-11-07 20:48:04 -05:00
  • 532fbfc0bc
    update tests and benchs for new Fut API Simon Cruanes 2023-11-07 20:42:30 -05:00
  • 71c842d442
    breaking: fut: only have module Infix Simon Cruanes 2023-11-07 20:41:09 -05:00
  • 74d9e5a19c
    breaking: fut: change behavior of ?on Simon Cruanes 2023-11-07 20:41:34 -05:00
  • 05bf3080dc
    breaking: fut: join does not take ?on anymore Simon Cruanes 2023-11-07 20:38:27 -05:00
  • 4bd5faaa78
    feat: fut: add spawn_on_current_runner Simon Cruanes 2023-11-07 20:37:39 -05:00
  • ad6157709f
    fix: in WS_pool, only schedule in worker queues in some cases Simon Cruanes 2023-11-07 20:03:46 -05:00
  • 01a60cffa8
    test: regression test for bug Simon Cruanes 2023-11-07 20:00:24 -05:00
  • d2be2db0ef perf fork-join: in both f g only run f in the background Simon Cruanes 2023-11-06 00:09:38 -05:00
  • 6e6a2a1faa feat runner: add get_current_runner Simon Cruanes 2023-11-06 00:09:01 -05:00
  • 8f5a227b6b
    perf fork-join: in both f g only run f in the background Simon Cruanes 2023-11-06 00:09:38 -05:00
  • 41796d42d3
    feat runner: add get_current_runner Simon Cruanes 2023-11-06 00:09:01 -05:00
  • 6fe7076099 update doc and readme Simon Cruanes 2023-10-29 17:12:02 -04:00
  • 2073c600c4 add Moonpool.run_async Simon Cruanes 2023-10-29 17:11:48 -04:00
  • 72f289af84 refactor: use a fixed size work-stealing deque Simon Cruanes 2023-10-29 16:41:19 -04:00
  • 913fb8415e
    update doc and readme Simon Cruanes 2023-10-29 17:12:02 -04:00
  • b4e1e19770
    add Moonpool.run_async Simon Cruanes 2023-10-29 17:11:48 -04:00
  • 5a2b8290b4
    refactor: use a fixed size work-stealing deque Simon Cruanes 2023-10-29 16:41:19 -04:00
  • 80031c0a54 fix compilation error Simon Cruanes 2023-10-29 18:41:02 -04:00
  • 00a5cfc8ba fix: rename Thread_local_storage_ to not collide with the library Simon Cruanes 2023-10-29 18:28:13 -04:00
  • 928345437a fix tests to use new API Simon Cruanes 2023-10-28 13:19:44 -04:00
  • 133a0d6128 breaking: change interface for number of threads Simon Cruanes 2023-10-28 13:00:15 -04:00
  • 21ac980fb2 rename no_runner to immediate_runner Simon Cruanes 2023-10-28 12:48:41 -04:00
  • 056f80b318 add No_runner: a runner that doesn't do anything in the background Simon Cruanes 2023-10-28 12:33:16 -04:00
  • a3d3468b5e feat: add Moonpool.recommended_thread_count Simon Cruanes 2023-10-28 12:29:25 -04:00
  • 7a36783e8b perf: also use the main domain, along with n-1 other ones Simon Cruanes 2023-10-28 11:59:20 -04:00
  • 7fca425388
    fix: in WS_pool, only schedule in worker queues in some cases Simon Cruanes 2023-11-07 20:03:46 -05:00
  • f46b151104
    test: regression test for bug Simon Cruanes 2023-11-07 20:00:24 -05:00
  • f34b7c53db
    perf fork-join: in both f g only run f in the background Simon Cruanes 2023-11-06 00:09:38 -05:00
  • b7ec2fe29d
    feat runner: add get_current_runner Simon Cruanes 2023-11-06 00:09:01 -05:00
  • f1774acd52
    add experiment script wip-schedule-batch Simon Cruanes 2023-10-29 21:57:19 -04:00
  • da7e21ab18
    bench: modify fib_rec to make await and dl more competitive Simon Cruanes 2023-10-29 21:53:09 -04:00
  • a1676ff5b6
    feat suspend: pass run_batch to caller; use that in rest of code feat-2023-10-29-suspend-uses-batch-scheduling Simon Cruanes 2023-10-29 21:35:23 -04:00
  • 0f6bd6288d
    perf: implement batch scheduling for the Fifo pool Simon Cruanes 2023-10-29 21:14:11 -04:00
  • 0f0b887f32
    feat runner: add run_async_batch Simon Cruanes 2023-10-29 21:13:20 -04:00
  • 678664b00d
    feat bb_queue: add transfer_into Simon Cruanes 2023-10-29 21:13:06 -04:00
  • 9f9df9af18
    remove dead code Simon Cruanes 2023-10-29 21:12:59 -04:00
  • c4d67f83ca
    update doc and readme Simon Cruanes 2023-10-29 17:12:02 -04:00
  • ff257df69d
    add Moonpool.run_async Simon Cruanes 2023-10-29 17:11:48 -04:00
  • ee882a0eae
    refactor: use a fixed size work-stealing deque Simon Cruanes 2023-10-29 16:41:19 -04:00
  • 8f9c33ba2c
    fix compilation error Simon Cruanes 2023-10-29 18:41:02 -04:00
  • 64f49b3907
    fix: rename Thread_local_storage_ to not collide with the library Simon Cruanes 2023-10-29 18:28:13 -04:00
  • 8aaed6d951
    fix tests to use new API Simon Cruanes 2023-10-28 13:19:44 -04:00
  • d09da9c092
    breaking: change interface for number of threads Simon Cruanes 2023-10-28 13:00:15 -04:00
  • 22624441fd
    rename no_runner to immediate_runner Simon Cruanes 2023-10-28 12:48:41 -04:00
  • 703ffde303
    add No_runner: a runner that doesn't do anything in the background Simon Cruanes 2023-10-28 12:33:16 -04:00
  • f6a2e9a0ad
    feat: add Moonpool.recommended_thread_count Simon Cruanes 2023-10-28 12:29:25 -04:00
  • 37f8c1059c
    perf: also use the main domain, along with n-1 other ones Simon Cruanes 2023-10-28 11:59:20 -04:00
  • 5ab96aabbc
    safer, but slower, TLS wip-safer-tls Simon Cruanes 2023-10-27 17:07:30 -04:00
  • def384b4f8
    fix warning Simon Cruanes 2023-10-27 16:18:24 -04:00
  • 052b70027a
    compat 4.08 Simon Cruanes 2023-10-27 16:17:56 -04:00
  • bfcf7f774e
    chore: handpick combinations for bench-pi Simon Cruanes 2023-10-27 16:16:49 -04:00
  • ddf394be90
    chore: handpick set of benchmarks Simon Cruanes 2023-10-27 16:06:55 -04:00
  • aba0d84ecf
    ws pool: random stealing; rework main state machine Simon Cruanes 2023-10-27 16:05:52 -04:00
  • aa7906eb2c
    perf TLS: inline Simon Cruanes 2023-10-27 16:05:43 -04:00
  • e67bffeca5
    ws_pool: use TLS for quick worker storage access; reduce contention Simon Cruanes 2023-10-27 15:18:50 -04:00
  • b4ddd82ee8
    ws pool: use non atomic boolean to reduce number of wakeups; refactor Simon Cruanes 2023-10-27 14:48:13 -04:00
  • 359ec0352b
    small change to test Simon Cruanes 2023-10-27 14:47:59 -04:00
  • 68fe7221b8
    suspend: remove additional parameter, always run tasks in handler Simon Cruanes 2023-10-27 14:47:30 -04:00
  • 9e0a583a94
    chore: disable -dl/-seq benchs for now, too verbose Simon Cruanes 2023-10-27 14:46:59 -04:00
  • c044fb8fc9
    tweal to WS pool Simon Cruanes 2023-10-27 12:26:50 -04:00
  • 08722691e8
    ws deque: try to reduce false sharing Simon Cruanes 2023-10-27 12:26:43 -04:00
  • 9e93ebd3bb
    update benchmark fib-rec with more implementations Simon Cruanes 2023-10-27 12:26:03 -04:00
  • 5409cf8e1b
    compat 4.08 Simon Cruanes 2023-10-25 23:50:34 -04:00
  • 3e614ec992
    rename Pool to Ws_pool; deprecated Moonpool.Pool Simon Cruanes 2023-10-25 23:40:01 -04:00
  • 30035fa67d
    fix pool: suspension handler might run from a different thread! Simon Cruanes 2023-10-25 23:30:04 -04:00
  • 1e3629bc67
    fix ws_deque: strict bound for shrinking Simon Cruanes 2023-10-25 23:29:47 -04:00
  • 629b66662f
    fix ws_deque: circular array is also in an atomic Simon Cruanes 2023-10-25 23:18:47 -04:00
  • 1ed25e5aca
    test: make t_ws_deque consume less ram Simon Cruanes 2023-10-25 22:41:26 -04:00
  • dfb588cdc5
    test: update readme Simon Cruanes 2023-10-25 22:41:18 -04:00
  • 056986c84f
    perf pool: no retries for self-queue; fewer retries for stealing Simon Cruanes 2023-10-25 22:38:43 -04:00
  • e937bf0e9d
    perf pool: restore non-hashtable lookup for self-queuing Simon Cruanes 2023-10-25 22:38:35 -04:00
  • 3956fb6566
    fix ws_pool: no work stealing for pools of 1 worker Simon Cruanes 2023-10-25 22:33:08 -04:00
  • d9da7844e2
    test: run more diverse pools in t_fib_rec Simon Cruanes 2023-10-25 22:32:57 -04:00
  • 894851f6e8
    comments in ws_deque Simon Cruanes 2023-10-25 22:32:42 -04:00
  • 530507d84e
    fix fifo_pool: raise Shutdown, not Closed, in run Simon Cruanes 2023-10-25 22:11:08 -04:00
  • 3f720241b2
    feat pool: use Shutdown when running a task after it's closed Simon Cruanes 2023-10-25 22:10:10 -04:00
  • 9a1309c44f
    chore: add keywords in opam Simon Cruanes 2023-10-25 22:03:35 -04:00
  • a89c0ce4f2
    breaking: make Runner.t abstract Simon Cruanes 2023-10-25 21:59:22 -04:00
  • 6452ca89d1
    rename Simple_pool into Fifo_pool, update doc Simon Cruanes 2023-10-25 21:55:29 -04:00