I got a PoC working and opened a PR for it:
https://github.com/elixir-lang/elixir/pull/13283

But the benchmark results against real world projects were not promising.
I'm not sure if we should continue increasing the granularity of ExUnit 
async.

On Thursday, January 25, 2024 at 10:33:35 AM UTC+8 Yiming Chen wrote:

> Before proposing more API options, let me first try to hack a working 
> version of case-level async ExUnit.
> So that I can benchmark the performance differences between case-level and 
> module-level async runner.
> And we can then decide if it's worth pursuing case-level async further.
>
> Best,
> Yiming
> On Friday, January 5, 2024 at 3:07:31 AM UTC+8 michal...@swmansion.com 
> wrote:
>
>> That would be awesome for tests with a lot of `refute_receive` 
>> assertions  
>>
>> niedziela, 1 października 2023 o 13:46:24 UTC+2 dsds...@gmail.com 
>> napisał(a):
>>
>>> Sorry for the late response.
>>> I'll look into the API options again and post the results here.
>>>
>>> On Tuesday, September 5, 2023 at 1:21:01 AM UTC+8 José Valim wrote:
>>>
>>>> If we want to add more parallelism later, then it is worth discussing 
>>>> future developments of the API now, so we don't put ourselves into a 
>>>> corner. If the answer is no, it is clear we are only parallelizing tests 
>>>> or 
>>>> parallelizing modules, but never both. And if we want to do both in the 
>>>> future, we should maybe consider the API now.
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elixir-lang-core+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elixir-lang-core/6bd16707-5a5a-4329-a635-82622112e131n%40googlegroups.com.

Reply via email to