Commit b1fb6471 authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[1603] move OldMessageRenderer to benchmarks/

for now, we'll keep it here for comparison.
parent cd8b0868
......@@ -95,8 +95,6 @@ libdns___la_SOURCES += labelsequence.h labelsequence.cc
libdns___la_SOURCES += masterload.h masterload.cc
libdns___la_SOURCES += message.h message.cc
libdns___la_SOURCES += messagerenderer.h messagerenderer.cc
# keep the following two during development for performance comparison
libdns___la_SOURCES += oldmessagerenderer.h oldmessagerenderer.cc
libdns___la_SOURCES += name.h name.cc
libdns___la_SOURCES += name_internal.h
libdns___la_SOURCES += nsec3hash.h nsec3hash.cc
......
......@@ -18,6 +18,7 @@ rdatarender_bench_LDADD += $(top_builddir)/src/lib/util/libutil.la
rdatarender_bench_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
message_renderer_bench_SOURCES = message_renderer_bench.cc
message_renderer_bench_SOURCES += oldmessagerenderer.h oldmessagerenderer.cc
message_renderer_bench_LDADD = $(top_builddir)/src/lib/dns/libdns++.la
message_renderer_bench_LDADD += $(top_builddir)/src/lib/util/libutil.la
message_renderer_bench_LDADD += $(top_builddir)/src/lib/exceptions/libexceptions.la
......@@ -16,7 +16,7 @@
#include <dns/name.h>
#include <dns/messagerenderer.h>
#include <dns/oldmessagerenderer.h>
#include <oldmessagerenderer.h>
#include <cassert>
#include <vector>
......
......@@ -15,7 +15,7 @@
#include <exceptions/exceptions.h>
#include <util/buffer.h>
#include <dns/name.h>
#include <dns/oldmessagerenderer.h>
#include <oldmessagerenderer.h>
#include <cctype>
#include <cassert>
......
......@@ -15,6 +15,11 @@
#ifndef __OLDMESSAGERENDERER_H
#define __OLDMESSAGERENDERER_H 1
//
// This is a copy of an older version of MessageRenderer class. It is kept
// here to provide a benchmark target.
//
#include <dns/messagerenderer.h>
namespace isc {
......@@ -45,6 +50,6 @@ private:
}
#endif // __OLDMESSAGERENDERER_H
// Local Variables:
// Local Variables:
// mode: c++
// End:
// End:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment