alibaba / alibaba/testable-mock
从0.7.7升级到0.7.9,启用OmniConstructor的字节码增强模式效率变得非常慢
- Dominant language
- Java
- Stars
- 1.8k
- Forks
- 306
- PR merge metrics
- No merged PRs in 30d
Description
从0.7.7升级到0.7.9之后,单测时间基本从15秒增加到240秒,效率慢太多了,而且有很多testable相关的打印,关掉OmniConstructor的字节码增强模式效率就正常了,不过会影响部分依赖增强模式的用例



Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the unit-test timing difference after upgrading from 0.7.7 to 0.7.9, comparing OmniConstructor bytecode-enhancement enabled and disabled. Use the reported testable output and screenshots as evidence; done means identifying the regression and restoring normal test speed without breaking cases that depend on enhancement mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- performance, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 40/100