Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include <vector>
#include <sstream>
#include "runtime/string-value.h"
#include "util/benchmark.h"
#include "util/cpu-info.h"
#include "util/thrift-util.h"
#include "gen-cpp/Types_types.h"
#include <boost/shared_ptr.hpp>
#include <thrift/protocol/TBinaryProtocol.h>
#include <thrift/TApplicationException.h>
#include <thrift/transport/TBufferTransports.h>
Go to the source code of this file.
Classes | |
struct | TestData< Decimal > |
Functions | |
void | TestDeserializeSharedState (int size, void *d) |
void | TestDeserialize (int size, void *d) |
int | main (int argc, char **argv) |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 69 of file deserialize-benchmark.cc.
References impala::Benchmark::AddBenchmark(), impala::CpuInfo::Init(), TestData< Decimal >::length, impala::Benchmark::Measure(), TestData< Decimal >::msg, TestDeserialize(), TestDeserializeSharedState(), TestData< Decimal >::tmem_transport, TestData< Decimal >::tproto, and TestData< Decimal >::tproto_factory.
void TestDeserialize | ( | int | size, |
void * | d | ||
) |
Definition at line 63 of file deserialize-benchmark.cc.
References impala::DeserializeThriftMsg(), TestData< Decimal >::length, TestData< Decimal >::msg, and impala::Status::ok().
Referenced by main().
void TestDeserializeSharedState | ( | int | size, |
void * | d | ||
) |
Definition at line 48 of file deserialize-benchmark.cc.
References TestData< Decimal >::tproto.
Referenced by main().