You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey there, I'm looking to add some extra columns for a few of my benchmarks where I have mocked a networking layer. I'd like to track the number of network sends as well as the sizes of the sends, averaged over the number of iterations, similar to other columns.
Searching issues here as well as documentation I started going down two paths:
Custom Column
I quickly found the documentation with the simple TagColumn example. However, it's still not clear how to get any extra information from the run. #180 was the closest I could find here.
I could maybe see this working if there was a way for me to emit extra data as part of the run (maybe in global cleanup) that I would index later at column visualization time. But I wasn't able to find any static accessors to get the current benchmark while inside the Global Setup or Cleanup methods that I could use to key my data
Custom Diagnoser
I don't have much experience with the diagnosers, but looking at the ones provided I was very hopeful that I could look at their implementations to see how to get my data into the mix somehow. I was deeply disappointed to see that all of the diagnosers are basically source-embedded to the benchmark results, with no flexibility to add my own, barring a source edit. It wouldn't be the end of the world to add it locally, but we aren't consuming the package as source, so we'd need to start doing that.
I only recently upgraded to the most recent version, so if there was something that was added recently that resolves this, apologies for my ignorance. Thanks!
The text was updated successfully, but these errors were encountered:
Hey there, I'm looking to add some extra columns for a few of my benchmarks where I have mocked a networking layer. I'd like to track the number of network sends as well as the sizes of the sends, averaged over the number of iterations, similar to other columns.
Searching issues here as well as documentation I started going down two paths:
I quickly found the documentation with the simple TagColumn example. However, it's still not clear how to get any extra information from the run. #180 was the closest I could find here.
I could maybe see this working if there was a way for me to emit extra data as part of the run (maybe in global cleanup) that I would index later at column visualization time. But I wasn't able to find any static accessors to get the current benchmark while inside the Global Setup or Cleanup methods that I could use to key my data
I don't have much experience with the diagnosers, but looking at the ones provided I was very hopeful that I could look at their implementations to see how to get my data into the mix somehow. I was deeply disappointed to see that all of the diagnosers are basically source-embedded to the benchmark results, with no flexibility to add my own, barring a source edit. It wouldn't be the end of the world to add it locally, but we aren't consuming the package as source, so we'd need to start doing that.
I only recently upgraded to the most recent version, so if there was something that was added recently that resolves this, apologies for my ignorance. Thanks!
The text was updated successfully, but these errors were encountered: