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

perf(inputs/influxdb_listener): benchmark serving writes #6673

Merged
merged 2 commits into from
Dec 2, 2019

Conversation

goller
Copy link
Contributor

@goller goller commented Nov 18, 2019

Required for all PRs:

  • Signed CLA.
  • Associated README.md updated.
  • Has appropriate unit tests.

Here are some benchmarks for the influxdb listener. I'm hoping these can be guides for performance if there are refactors to do in the plugin.

@danielnelson danielnelson added this to the 1.13.0 milestone Nov 18, 2019
@danielnelson danielnelson added area/influxdb feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin performance problems with decreased performance or enhancements that improve performance labels Nov 18, 2019
return listener
}

func BenchmarkHTTPListener_serveWrite(b *testing.B) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Is the underscore normal here? It looks kind of out of place.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey @reimda I was following the format of Examples like:

 The naming convention to declare examples for the package, a function F, a type T and method M on type T are:

func Example() { ... }
func ExampleF() { ... }
func ExampleT() { ... }
func ExampleT_M() { ... }

@danielnelson
Copy link
Contributor

@reimda Go ahead and merge when you are ready.

@reimda reimda merged commit 03a6910 into master Dec 2, 2019
@reimda reimda deleted the perf/influx_benchmarks branch December 2, 2019 18:49
athoune pushed a commit to bearstech/telegraf that referenced this pull request Apr 17, 2020
…6673)

* perf(inputs/influxdb_listener): benchmark serving writes

* chore(inputs/influxdb_listener): remove stray comment
idohalevi pushed a commit to idohalevi/telegraf that referenced this pull request Sep 29, 2020
…6673)

* perf(inputs/influxdb_listener): benchmark serving writes

* chore(inputs/influxdb_listener): remove stray comment
arstercz pushed a commit to arstercz/telegraf that referenced this pull request Mar 5, 2023
…6673)

* perf(inputs/influxdb_listener): benchmark serving writes

* chore(inputs/influxdb_listener): remove stray comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/influxdb feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin performance problems with decreased performance or enhancements that improve performance
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants