-
-
Notifications
You must be signed in to change notification settings - Fork 978
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
Question (but Possible Feature): OperationSetupAttribute? #871
Comments
Hi @Mike-EEE
We also execute many operations in a single iteration by default to:
|
Ah ok @adamsitnik thank you for your time here. Perhaps I am confused, then. From looking at the remarks of #730, it is my understanding (and experience, which is what made me look this up in the first place 😆) that the Based on my experience yesterday, I was using FWIW I was in favor of #730 as it made sense to me as well. However, after reading this page it cleared up a lot for me in terms of how this works now. |
this is correct
would you like to run this code before every benchmark invocation? or before every iteration that would execute the benchmark many times?
awesome! 👍 |
So in my case, I would like to reset the stream that I am testing before any code is run. This has to occur every time before the operation is invoked or else I get the drastically different results as noted above. Essentially, the code runs on a finished stream which means no data which means no compute. :) |
Now I understand. If your operation takes milliseconds or more, you should just use |
OK... that's what I was thinking. Is there a technical barrier that keeps from creating and using an Now that I have a better understanding of the pipeline this makes sense to me. |
@Mike-EEE so today we have: [GlobalSetup] and you would like to have: [GlobalSetup] ? We just assumed that everybody wanted the |
So you want to run an open source project. 😂 Hey, it's your model. I think it's pretty rad and it makes sense. The ask here isn't for me per se, but for those who might want to follow your model as such. In my case, I do want that and I would definitely take advantage of both scenarios now that I understand what they actually mean. 😁 But, that said I can understand the frustration here in saying one thing and then asking for another. The big thing for me is that while the If you can talk me out of this data gap then I for one would feel better about walking down from this. |
When it comes to For non-nano-benchmarks the |
Hello Community,
I was re-reading #730 and was curious why there isn't an
OperationSetupAttribute
? Is there something that is keeping additional code from being executed with each operation? Besides performance, that is. 😆Thank you for any consideration/insight you can provide here.
The text was updated successfully, but these errors were encountered: