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

Add simple macros for the 4 session-benchmarking methods #9

Merged
merged 6 commits into from Jan 17, 2014

Conversation

workwithnano
Copy link
Contributor

  • This adds a companion macro for each of the 4 session-benchmarking methods.
  • Instead of allowing for custom strings in the step method, it inserts a string with the Class and Method which is calling the macro.
  • The macros are best used by inserting MGBenchStep() at the end of each method you want to track from, as that will tell you (assuming you're putting the method in most/all of your benchmarked methods) how long that method ran for.

Nano added 3 commits May 25, 2013 11:19
…e the default Class/Method helper string

Signed-off-by: Nano <a>
@workwithnano
Copy link
Contributor Author

Still need to test this pull request, hold off on accepting.

@workwithnano
Copy link
Contributor Author

There we go. That last commit adds the feature you're looking for, optional step messages in MGBenchStep.

MattesGroeger pushed a commit that referenced this pull request Jan 17, 2014
Add simple macros for the 4 session-benchmarking methods
@MattesGroeger MattesGroeger merged commit 64649e4 into MattesGroeger:master Jan 17, 2014
@MattesGroeger
Copy link
Owner

I just now saw your pull request by coincidence. I'm really sorry, for some reason I didn't get any notification. Great work, I'll merge it and create a new version asap! Thank you so much! I'm watching my own project now, hope I'll get notified next time.

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.

None yet

2 participants