pouryafard75 / RM-ASTDiff

MIT License
2 stars 1 forks source link

Long running diff execution #78

Closed tsantalis closed 9 months ago

tsantalis commented 1 year ago

https://github.com/apache/drill/commit/1517a87eb1effb2aac0c75b5f5ea6abc25407ab0

[pool-1-thread-1] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Connected to GitHub with OAuth token [pool-1-thread-1] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Processing https://github.com/apache/drill.git 1517a87eb1effb2aac0c75b5f5ea6abc25407ab0 ... [pool-1-thread-1] INFO org.refactoringminer.astDiff.matchers.ProjectASTDiffer - ModelDiff.getRefactorings() execution time: 1 seconds [pool-1-thread-1] INFO org.refactoringminer.astDiff.matchers.ProjectASTDiffer - Diff execution: 28 seconds

pouryafard75 commented 1 year ago

@tsantalis Could you please update the numbers after checking out https://github.com/tsantalis/RefactoringMiner/pull/453?

tsantalis commented 1 year ago

@pouryafard75 The time it take is half than before

First execution [pool-1-thread-1] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Connected to GitHub with OAuth token [pool-1-thread-1] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Processing https://github.com/apache/drill.git 1517a87eb1effb2aac0c75b5f5ea6abc25407ab0 ... [pool-1-thread-1] INFO org.refactoringminer.astDiff.matchers.ProjectASTDiffer - ModelDiff.getRefactorings() execution time: 0 seconds [pool-1-thread-1] INFO org.refactoringminer.astDiff.matchers.ProjectASTDiffer - Diff execution: 13 seconds

Second execution [pool-1-thread-1] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Connected to GitHub with OAuth token [pool-1-thread-1] INFO org.refactoringminer.rm1.GitHistoryRefactoringMinerImpl - Processing https://github.com/apache/drill.git 1517a87eb1effb2aac0c75b5f5ea6abc25407ab0 ... [pool-1-thread-1] INFO org.refactoringminer.astDiff.matchers.ProjectASTDiffer - ModelDiff.getRefactorings() execution time: 0 seconds [pool-1-thread-1] INFO org.refactoringminer.astDiff.matchers.ProjectASTDiffer - Diff execution: 14 seconds