A series of refactors that culminate in enabling exporter specific configurations to be provided at benchmark initialization.
This is intended to support a use case like the following.
for n in [10, 100, 1000] {
let x = Double.random(in: 0.0...100.0)
Benchmark("Foo", configuration: .init(
tags: ["n": String(n), "x": String(x)],
exportConfigurations: [
.influx: InfluxExportConfiguration(
fields: ["x": .double]
)
]
)) { _ in
foo(n, x)
}
}
This PR is more easily reviewed by commit.
How Has This Been Tested?
I manually tested the exporter csv against an instance of Influx using Influx Data Explorer and querying a raw csv.
I followed instructions listed here
Minimal checklist:
[x] I have performed a self-review of my own code
[x] I have added DocC code-level documentation for any public interfaces exported by the package
[ ] I have added unit and/or integration tests that prove my fix is effective or that my feature works
Description
A series of refactors that culminate in enabling exporter specific configurations to be provided at benchmark initialization.
This is intended to support a use case like the following.
This PR is more easily reviewed by commit.
How Has This Been Tested?
I manually tested the exporter csv against an instance of Influx using Influx Data Explorer and querying a raw csv. I followed instructions listed here
Minimal checklist:
DocC
code-level documentation for any public interfaces exported by the package