[svn] commit: r2661 - /branches/trac241/src/lib/bench/benchmark.h
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Aug 9 17:43:38 UTC 2010
Author: jinmei
Date: Mon Aug 9 17:43:38 2010
New Revision: 2661
Log:
noted a future extension
Modified:
branches/trac241/src/lib/bench/benchmark.h
Modified: branches/trac241/src/lib/bench/benchmark.h
==============================================================================
--- branches/trac241/src/lib/bench/benchmark.h (original)
+++ branches/trac241/src/lib/bench/benchmark.h Mon Aug 9 17:43:38 2010
@@ -175,6 +175,18 @@
/// It should also be noted that the corresponding \c SetSearchBenchMark
/// object can be accessed (through its public interfaces) via the \c target_
/// member variable of \c BenchMark.
+///
+/// <b>Future Plans and Compatibility Notes</b>
+///
+/// Currently, benchmark developers need to write supplemental code that is
+/// not directly related to benchmarks (such as \c %main()) by hand.
+/// It would be better if we could minimize such development overhead.
+/// In future versions we may provide a common \c %main() function and
+/// option parsers, thereby allowing the developer to only write the benchmark
+/// classes and invoke them, just like what various unit test frameworks do.
+///
+/// If and when we implement it, some existing benchmark cases may need to be
+/// adjusted.
template <typename T>
class BenchMark {
///
More information about the bind10-changes
mailing list