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

Implement Benchmarks #254

Merged
merged 4 commits into from
Nov 6, 2023
Merged

Implement Benchmarks #254

merged 4 commits into from
Nov 6, 2023

Conversation

justing-bq
Copy link
Contributor

Description

Implement Benchmarks.

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

@karenc-bq
Copy link
Contributor

Can we add the benchmarking results to the documentation as well?

@@ -73,35 +73,66 @@

logger = Logger(__name__)

_profiles: Dict[str, List[PluginFactory]] = {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is PR that updates the plugin profiles on the JDBC Wrapper. The existing plugin profile implementation also isn't widely used as seen on the JDBC side. What do you think if we add the plugin profile feature later?

Comment on lines 111 to 112
if contains_profile(profile_name):
plugin_factories = get_plugin_factories(profile_name)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit:

Suggested change
if contains_profile(profile_name):
plugin_factories = get_plugin_factories(profile_name)
plugin_factories = get_plugin_factories(profile_name)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops. Surprised I didn't catch this myself. Thanks for pointing it out.

@@ -73,35 +73,66 @@

logger = Logger(__name__)

_profiles: Dict[str, List[PluginFactory]] = {}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this PR also fully implement driver configuration profiles? If so, should we add docs for driver profiles? Could also be done in a separate PR

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs added.

@justing-bq justing-bq merged commit 8d33325 into main Nov 6, 2023
7 checks passed
@justing-bq justing-bq deleted the benchmarks branch November 6, 2023 23:16
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.

3 participants