作者:alilx | 来源:互联网 | 2023-10-13 18:54
I know that there's some really lazy "mock the whole word" stuff in here, and I know we're doing a lot of rendering, but if someone with some experience in profiling ruby can figure out where the biggest bottlenecks are and find some quick wins to speed things up, that'd be fantastic.
Maybe it's a performance issue in the code, but I suspect it's more likely an issue in the mocking and stubbing that takes place before each spec. They never used to be this slow, and I find it surprising given there's no database or filesystem calls.
该提问来源于开源项目:formtastic/formtastic
!!!
Finished in 870.17 seconds
1149 examples, 0 failures
Coverage: 95.77% (threshold: 95%)