mabdi / small-amp

Test Amplification for Pharo
MIT License
5 stars 4 forks source link

method Compile is too slow #102

Open mabdi opened 3 years ago

mabdi commented 3 years ago

The initial profile shows that 120K test-class creation takes about 6 seconds. But, 1K method compilation takes about 5 seconds.

I expect improvement in the performance if: 1) disable announcements while compiling 2) disable writes to changes files.

mabdi commented 3 years ago
3000 timesRepeat: [ 
    SystemAnnouncer uniqueInstance suspendAllWhile: [  
         SmallBank2Test25658 compile: 'testasdasd self assert: true' ]
]

reduces run time significantly.