Skip to content

performance optimization #1444

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

Merged
merged 2 commits into from
Jun 17, 2025
Merged

performance optimization #1444

merged 2 commits into from
Jun 17, 2025

Conversation

sergiyvamz
Copy link
Contributor

Summary

Optimize performance:

  • avoid unnecessary pipeline chain calls
  • use plugin factories to instantiate plugins; avoid using dynamic class constructor finding and invocation
  • restructure JDBC calls/methods details into a single enum
  • various optimization refactoring

Additional Reviewers

@karenc-bq
@aaron-congo

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link

github-actions bot commented Jun 14, 2025

Qodana Community for JVM

3 new problems were found

Inspection name Severity Problems
Constant values 🔶 Warning 2
Unused assignment 🔶 Warning 1

💡 Qodana analysis was run in the pull request mode: only the changed files were checked

View the detailed Qodana report

To be able to view the detailed Qodana report, you can either:

  1. Register at Qodana Cloud and configure the action
  2. Use GitHub Code Scanning with Qodana
  3. Host Qodana report at GitHub Pages
  4. Inspect and use qodana.sarif.json (see the Qodana SARIF format for details)

To get *.log files or any other Qodana artifacts, run the action with upload-result option set to true,
so that the action will upload the files as the job artifacts:

      - name: 'Qodana Scan'
        uses: JetBrains/[email protected]
        with:
          upload-result: true
Contact Qodana team

Contact us at [email protected]

@sergiyvamz sergiyvamz force-pushed the fix-plugin-factories-performance branch from 72e2bc8 to a1652c9 Compare June 17, 2025 00:19
codestyle
telemetry counters
fix plugin factory instantiation for a case with configuration profile
enable jacoco
JdbcMethod enum and updated wrapper classes
optimize telemetry and target driver dialects
optimize plugin factories
@sergiyvamz sergiyvamz force-pushed the fix-plugin-factories-performance branch from a1652c9 to 484b4ee Compare June 17, 2025 00:19
@sergiyvamz sergiyvamz merged commit 5a7eec7 into main Jun 17, 2025
10 of 11 checks passed
@sergiyvamz sergiyvamz deleted the fix-plugin-factories-performance branch June 17, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants