Thanks Jon,

Yes I though it was the problem and that's why I re-installed ruby / 
postgres (and removed `intel` homebrew). 
Now they all run on ARM, but the specs still takes a lot of time. I have a 
feeling that it's Postgres that is slow but don't know how to 
measure/debug/optimize that.

Cheers

On Wednesday, April 5, 2023 at 12:23:00 PM UTC+2 [email protected] wrote:

> A general peice of advise for ARM is to make sure you’ve built / installed 
> builds for ARM and aren’t accidentally using Rosetta, particularly if your 
> install is “older” you might find you’re using homebrew in rosetta mode.
>
> Cheers
> Jon
>
> On Wed, 5 Apr 2023, at 12:03 AM, 'Carl Q' via rspec wrote:
>
> Hi,
>
> recently I found out my test suite was slow/painfull to run and find out 
> that my colleagues run the same suite in 6min vs 20min for myself.
> We both have same kind of Mac computers (ARM chip), and I'm looking for 
> tips on what/where to look for speeding up my test suite.
>
> I couldn't find any thing that could impact as much the suite duration.
> I have already re-install Ruby/Postgres.
>
> If you have any idea, let me know.
>
> Config: ruby 3.03, Rails 7.0.2.3, rspec 3.11.0, pg 1.4.5
>
>
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "rspec" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to [email protected].
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/rspec/845d3f7a-df75-4bef-b760-32df9936313dn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/rspec/845d3f7a-df75-4bef-b760-32df9936313dn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"rspec" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rspec/f5c6b297-4068-4313-9067-f35ceb98825dn%40googlegroups.com.

Reply via email to