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

Benchmarking tests? #167

Closed
cloderic opened this issue May 4, 2013 · 6 comments
Closed

Benchmarking tests? #167

cloderic opened this issue May 4, 2013 · 6 comments

Comments

@cloderic
Copy link

cloderic commented May 4, 2013

I'm a happy user of Catch and I'm looking for the same kind of simplicity for performance test.

I've found that: http://bruun.co/2012/02/07/easy-cpp-benchmarking

I like the unit test like approach, a way to log the results to a history file would also be nice.

Short story long I think it would be a nice addition to Catch.

Any plan for this kind of features?

@cloderic
Copy link
Author

Am I the only one interested? I'm considering working on it but I'd like to gather idea/needs first

@philsquared
Copy link
Collaborator

Sorry Clodéric, I meant to respond here before.
I definitely have plans for something like this. In fact I've put together a fairly complete incarnation on my current commercial project (so I can't use that code, but I've seen how well it works) just recently.
I'm going to be adding a Catch version. soon.

I don't know if this was a co-ordinated effort but about 20 minutes before your follow-up here there was a post on the Catch Google Group on the same subject. Can I encourage you to pick up there instead (so I can keep this tracker for issues)?

https://groups.google.com/forum/?fromgroups=#!topic/catch-forum/ezkK1t4pzdM

@mloskot
Copy link
Contributor

mloskot commented Dec 12, 2013

👍 as given to #189

@vadz
Copy link
Contributor

vadz commented Dec 20, 2013

FWIW I'd definitely like to have benchmarking support in Catch too. I'd like to have a BENCH macro similar to TEST_CASE which could be used for benchmarking the code and some control over it from the command line.

@cviebig
Copy link

cviebig commented Nov 11, 2015

+1

@horenmar
Copy link
Member

Since this is not going into Catch Classic, but might get into Catch 2 at some point, I am going to close it in favour of #852.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants