Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: optimizes featurebased algorithms. #202

Merged
merged 1 commit into from
Sep 28, 2024

Conversation

Artanias
Copy link
Collaborator

No description provided.

@Artanias Artanias added Refactoring Changes made to the code to improve readability, speed of execution, and logic between parts. Performance Code optimizations which do executing program faster. labels Sep 28, 2024
@Artanias Artanias added this to the v0.6.0 milestone Sep 28, 2024
@Artanias Artanias self-assigned this Sep 28, 2024
@Artanias
Copy link
Collaborator Author

Artanias commented Sep 28, 2024

Simple benchmark

command version workers time, s
codeplag check --extension py -d ./ ./src/codeplag 0.4.0 1 16.5
codeplag settings modify --log-level debug && codeplag check --extension py -d ./ ./src/codeplag 0.4.12 4 17.2
codeplag settings modify --log-level debug && codeplag check --extension py -d ./ ./src/codeplag 0.5.3 4 16.08
codeplag settings modify --log-level debug && codeplag check --extension py -d ./ ./src/codeplag 0.5.4 4 17.15
codeplag settings modify --log-level debug && codeplag check --extension py -d ./ ./src/codeplag 0.5.5 4 16.74
threshold == 0 (/etc/codeplag/settings.conf) && codeplag check --extension py -d ./src/codeplag 0.4.0 1 260.245
codeplag settings modify --log-level debug && codeplag check --extension py -d ./src/codeplag --ignore-threshold 0.4.12 4 214.83
codeplag settings modify --log-level debug && codeplag check --extension py -d ./src/codeplag --ignore-threshold 0.5.3 4 213.5
codeplag settings modify --log-level debug && codeplag check --extension py -d ./src/codeplag --ignore-threshold 0.5.4 4 215.96
codeplag settings modify --log-level debug && codeplag check --extension py -d ./src/codeplag --ignore-threshold 0.5.5 4 207.74

@Artanias Artanias merged commit 4dca0ab into main Sep 28, 2024
4 checks passed
@Artanias Artanias deleted the optimize_featurebased_metrics branch September 28, 2024 10:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Performance Code optimizations which do executing program faster. Refactoring Changes made to the code to improve readability, speed of execution, and logic between parts.
Projects
Status: v0.6.0
Development

Successfully merging this pull request may close these issues.

1 participant