I don't get it. Same basic Ubuntu server running on AWS EC2, with the production server having more memory and disk space. Same assets, of course.
But the staging server finishes in about 64 seconds, whereas the production server is taking about 208 seconds. I refer to the one as my staging server, but they both using product for the rails env.
Boot time for the rails app is significantly higher on production, too - over 3 1/2 minutes.
I didn't notice the discrepancy until I started using webpacker. I only have a few tiny JS files using webpacker, though. Not compiling any images or CSS with it - I'm using sprockets for that.
Any ideas why this is the case, and how I can speedup production?