Commit 3969336
committed
Major internal redesign - step 3:
* All built-in backends now implements the new FutureBackend API
* Any backends that does not support the new FutureBackend API, will use the old API
Squashed commit of the following:
commit 30c7a86
Merge: bcd382d 2fa7893
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 11:36:16 2025 -0800
Merge branch 'feature/FutureBackend' of github.com:HenrikBengtsson/future into feature/FutureBackend
commit 2fa7893
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 11:15:19 2025 -0800
Add internal getSocketSelectTimeout() that memoizes the 'timeout' value
commit bcd382d
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 11:05:05 2025 -0800
REVDEP: 415 packages [ci skip]
commit 7f36deb
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 09:45:51 2025 -0800
remove unneeded code
commit 1de0c36
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 03:29:23 2025 -0800
GHA: typo
commit 56e7cf2
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 03:10:18 2025 -0800
drop duplicate code
commit 5995d3a
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 03:04:16 2025 -0800
evalFuture(): disable querying of availableCores() for now
commit f6ba839
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 02:23:20 2025 -0800
GHA: Run future.tests also on future.mirai backends + don't test vignettes on Windows
commit c7d7d86
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 02:07:10 2025 -0800
Make future.backend.version=2 the default; previous attempt was a mistake
commit 29b2b6d
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 02:05:54 2025 -0800
Allow 'backend' to be a list (for backend.version=1)
commit 165b861
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 01:51:56 2025 -0800
Give more informative error message if 'backend' is not a FutureBackend as expected
commit 2539277
Merge: 4c71d9f e8b86ce
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 01:23:20 2025 -0800
Merge branch 'feature/FutureBackend' of github.com:futureverse/future into feature/FutureBackend
commit 4c71d9f
Author: Henrik Bengtsson <[email protected]>
Date: Thu Feb 20 01:16:31 2025 -0800
run() for Future does the common validation and setup now
commit 6c25fd5
Author: Henrik Bengtsson <[email protected]>
Date: Wed Feb 19 23:19:44 2025 -0800
Remove coerceFuture(); not really needed
commit c578170
Author: Henrik Bengtsson <[email protected]>
Date: Wed Feb 19 22:53:44 2025 -0800
Consolodating the help on all FutureBackend:s to one page
commit e8b86ce
Author: Henrik Bengtsson <[email protected]>
Date: Wed Feb 19 22:53:44 2025 -0800
Consolodating the help on all FutureBackend:s to one page
commit 688f5a7
Author: Henrik Bengtsson <[email protected]>
Date: Wed Feb 19 21:54:18 2025 -0800
More fixes for nested future tests on dual-cores machines [ci skip]
commit 00642db
Author: Henrik Bengtsson <[email protected]>
Date: Wed Feb 19 20:43:39 2025 -0800
REVDEP: 415 packages [ci skip]
commit de8670a
Author: Henrik Bengtsson <[email protected]>
Date: Wed Feb 19 14:41:23 2025 -0800
Making sure package passes checks also on single- and dual-core machines (emulated using R_PARALLELLY_AVAILABLECORES_SYSTEM)
commit 0c770e6
Author: Henrik Bengtsson <[email protected]>
Date: Wed Feb 19 12:07:42 2025 -0800
Use the FutureBackend approach by default, if the backend implements it
commit fc23ad6
Author: Henrik Bengtsson <[email protected]>
Date: Wed Feb 19 10:52:34 2025 -0800
ClusterFuture: clean out temporary ClusterFutureBackend0 again
commit 9e5eaa1
Author: Henrik Bengtsson <[email protected]>
Date: Tue Feb 18 19:55:43 2025 -0800
Make sure 'multicore' and 'multisession' with workers = 1 fall back to sequential
Have ClusterFutureBackend "process" the 'workers' argument
commit 7d93ae1
Author: Henrik Bengtsson <[email protected]>
Date: Tue Feb 18 17:17:27 2025 -0800
First prototype of MulticoreFutureBackend
commit 4ff28fc
Author: Henrik Bengtsson <[email protected]>
Date: Tue Feb 18 15:30:25 2025 -0800
Memoize cluster timeout options related to cluster futures; this should really be done when plan() is configured
commit b3208c4
Author: Henrik Bengtsson <[email protected]>
Date: Tue Feb 18 15:18:59 2025 -0800
GHA: Test also with R_FUTURE_BACKEND_VERSION=2
commit 3886998
Author: Henrik Bengtsson <[email protected]>
Date: Tue Feb 18 15:15:51 2025 -0800
First prototype of ClusterFutureBackend and MultisessionFutureBackend classes
commit ecc8c15
Author: Henrik Bengtsson <[email protected]>
Date: Mon Feb 17 20:46:04 2025 -0800
First prototype of a SequentialFutureBackend class
commit 4f56b20
Author: Henrik Bengtsson <[email protected]>
Date: Mon Feb 17 19:13:02 2025 -0800
evalFuture(): add comments explaining that the use of availableCores() adds to the baseline processing time1 parent eb13514 commit 3969336
File tree
29 files changed
+1099
-506
lines changed- .github/workflows
- R
- man
- revdep
- tests
29 files changed
+1099
-506
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
31 | 35 | | |
32 | 36 | | |
33 | 37 | | |
| |||
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| 60 | + | |
56 | 61 | | |
57 | 62 | | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
| 27 | + | |
26 | 28 | | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | | - | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
24 | 28 | | |
25 | 29 | | |
26 | 30 | | |
| |||
92 | 96 | | |
93 | 97 | | |
94 | 98 | | |
| 99 | + | |
95 | 100 | | |
96 | 101 | | |
| 102 | + | |
97 | 103 | | |
98 | 104 | | |
99 | 105 | | |
| |||
105 | 111 | | |
106 | 112 | | |
107 | 113 | | |
| 114 | + | |
108 | 115 | | |
109 | 116 | | |
| 117 | + | |
110 | 118 | | |
111 | 119 | | |
112 | 120 | | |
113 | 121 | | |
| 122 | + | |
114 | 123 | | |
115 | 124 | | |
116 | 125 | | |
| |||
128 | 137 | | |
129 | 138 | | |
130 | 139 | | |
| 140 | + | |
131 | 141 | | |
132 | 142 | | |
133 | 143 | | |
| |||
0 commit comments