Benchmark directory structure

3 views
Skip to first unread message

Monty Williams

unread,
Jun 17, 2009, 10:10:07 PM6/17/09
to ruby-benchmark-suite
Should we add a third top level category? micro-benchmarks and macro-benchmarks both seem mostly self-contained, but it seems like there should be another category for benchmarks that require additional infrastructure such as MySQL. It's kind of a nit, but my `rake bench:dir DIR=rbs/macro-benchmarks` now requires me to setup MySQL in my QA lab or to add patterns to exclude benchmarks that require it.

-- Monty

Roger Pack

unread,
Jun 17, 2009, 11:39:18 PM6/17/09
to ruby-bench...@googlegroups.com

One possibility would be moving the rails directory to be a sibling to
micro and macro.
Another might be running it like PATTERN=macro-benchmarks/* and it
would avoid [?] rails?
-=r

Monty Williams

unread,
Jun 18, 2009, 12:40:38 PM6/18/09
to ruby-bench...@googlegroups.com
A sibling seems the right thing to me. It makes it more visible to anyone starting to look at RBS. I think Rails is certainly important enough to deserve a category of it's own rather than being a subdirectory of macro-benchmarks..

Roger Pack

unread,
Jun 18, 2009, 6:22:53 PM6/18/09
to ruby-bench...@googlegroups.com
> A sibling seems the right thing to me. It makes it more visible to anyone starting to look at RBS. I think Rails is certainly important enough to deserve a category of it's own rather than being a subdirectory of macro-benchmarks..

I agree--it's more of a "system" benchmark than anything.

Antonio Cangiano

unread,
Jun 22, 2009, 12:04:17 AM6/22/09
to ruby-bench...@googlegroups.com
On Thu, Jun 18, 2009 at 12:40 PM, Monty Williams <monty.w...@gemstone.com> wrote:

A sibling seems the right thing to me. It makes it more visible to anyone starting to look at RBS. I think Rails is certainly important enough to deserve a category of it's own rather than being a subdirectory of macro-benchmarks.

+1

Cheers,
Antonio
--
Coming soon... http://ThinkCode.TV
Zen and the Art of Programming: http://AntonioCangiano.com
Aperiodico di resistenza informatica: http://StackTrace.it
Author of "Ruby on Rails for Microsoft Developers": http://bit.ly/rorforms
Reply all
Reply to author
Forward
0 new messages