Pierre Ricadat

Results 165 comments of Pierre Ricadat

Sure, I reopened! You'll need to rebase to the latest master since there was a bunch of changes since then.

> Thanks for reporting! It would probably be great to run [async profiler](https://github.com/async-profiler/async-profiler) for those cases and send the results. I noticed that it usually is a case of a...

[EDIT: attached some flamegraph files below]

There's a lot of time spent in `dotty.tools.dotc.classpath.AggregateClassPath.list(String) AggregateClassPath.scala:24` which leads to `dotty.tools.dotc.classpath.DirectoryLookup.list$$anonfun$1(Function1, PackageName, Function1, Object) DirectoryClassPath.scala 5646 243` and many file operations.

Here's a couple flamegraphs from async profiler: On my large file where it takes 5-6 seconds: [flamegraph.html.zip](https://github.com/user-attachments/files/20099793/flamegraph.html.zip) On the small file from the video: [flamegraph2.html.zip](https://github.com/user-attachments/files/20099869/flamegraph2.html.zip)

I am also getting an `AssertionError` just by adding `-experimental` to my Scala 3 project (3.5.0). I can't share the project but sharing the stack in case it helps. Stack...

I investigated a little more and it seemed caused by a macro in zio-schema. It's not easy to make a reproducer but at least I was able to find a...

@guersam I added instances of `Schema` to each type instead of deriving all at once with the parent type. Somehow it solved it.

Yeah it's kind of a known issue: https://github.com/zio/zio/issues/7628 Zio 1 handled race as a special case but that was lost in zio 2.

Wouldn't it be better to make race faster rather than just timeout?