I wanted to understand how everyone’s projects perform in development. We are all working on applications of different sizes with laptops/computers with different specs and setups.
So I thought it would be useful to capture a poll to get an understanding.
To avoid making a poll for literally everything - please vote below for the polls and also provide a description of your setup as well as a comment.
Such as
Make/Model
Desktop or Laptop
CPU
RAM
HDD/SSD
OS
Shell environment
And anything else you think may be important to your wicked speed or poor performance.
How long does it take for your API server to import?
The value where it says “Took z ms” under “x files generated”. z is the value here
< 1s
< 1 - 3s
< 3 - 6s
< 6 - 10s
< 10s+
0voters
How many API type files are generated in your project?
The value where it says “x files generated”. X is the value here.
Love this poll by the way! Very interested in everyone else’s experiences. From 0.35 to 0.36 I’ve noticed a substantial increase in my app’s API-side’s build process - mostly at the “Importing Server Functions” stage. Is this a just me thing or…?
M1 is definitely really smooth for this type of work. With WSL2 I have of course better performance with the Ryzen 5 and 32Gb, I will say between 50%-100% faster, but that only since I add 16Gb of RAM, memory was a big bottleneck for performance. Also, WSL is slow to start, and you can not use by example Github Desktop (maybe I can today with WSLg that I just install). Overall I like WSL and I think Microsoft still work hard on it. I was a big Linux fan for a long time, but having the ecosystem of Windows for gaming and have Linux for work without dual boot is huge.
That’s really interesting observation. I initially had poor performance in WSL2 and tried Gitbash, and found it was just as bad. Perhaps my RAM and SSD are not as fast as I thought. I do have 16gb ram but I had hoped using Gitbash would mitigate that as it should be less resource hungry.
Curious what is your exact file count for the types? Have you seen your timing increase linearly as the file count goes up?
The way that WSL manage the RAM is really bad, you need a lot more that you will without WSL, but having near the same environment than prod is really nice.
I have 71 files… Let’s make tests to see if timing increase linearly!
Yea totally - I wonder what makes the biggest impact on timings. No doubt many factors go into it, such as SSD speed, CPU speed and performance and memory too. But would be interesting to see it as a graph.
Here is the comparison with WSL2
Made with example-blog
Desktop Ryzen 5 3600 6-core 32 GB :
42 files generated
Took 496 ms
Starting API Server… Took 3 ms
/graphql 1423 ms
… Imported in 1424 ms
webpack 5.51.1 compiled successfully in 7202 ms
I’m not a hardware geek, but what it seems to use to most resource for dev server is the write/read memory RAM. That explain why the M1 have excellent performance. So the speed of RAM have a big impact for this type of work (it’s 3600Mhz for the desktop, and it’s supposed to be 4266MHz for the MacBook), with also the processor speed single-core (that’s why the desktop have better performance).
Oh interesting. What’s your single core speed on the M1 vs desktop?
I think is really hard to compare CPU of different architecture, normally M1 have 3200Mhz clockspeed vs 3600Mhz for the AMD Ryzen (up to 4200Mhz on turboboost). Single core peak performance is better on the M1, but is not enough to compare 1 to 1. It’s also worth mentioning that the M1 consume only 15.1W vs 65W and don’t have real cooling system.
I wonder if an upgrade such as a M.2 ssd would make a difference too.
Max transfer rate on dev server is 60Mb/s, since traditional HDD go up to 160Mb/s I don’t think you will see any difference. It’s basically a job between the CPU and RAM.