Browse Source

noted a future extension

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac241@2661 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
c7722bda92
1 changed files with 12 additions and 0 deletions
  1. 12 0
      src/lib/bench/benchmark.h

+ 12 - 0
src/lib/bench/benchmark.h

@@ -175,6 +175,18 @@ namespace bench {
 /// 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 {
     ///