Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
string-benchmark.cc File Reference
#include <algorithm>
#include <stdlib.h>
#include <stdio.h>
#include <iostream>
#include "runtime/string-value.h"
#include "util/benchmark.h"
#include "util/cpu-info.h"
#include "util/hash-util.h"
#include "common/names.h"
Include dependency graph for string-benchmark.cc:

Go to the source code of this file.

Classes

struct  CompactStringValue< STORAGE_SIZE >
 
struct  TestData< Decimal >
 

Functions

void TestNormalStringsSequential (int batch_size, void *d)
 
void TestCompactStringsSequential (int batch_size, void *d)
 
void TestNormalStringsRandom (int batch_size, void *d)
 
void TestCompactStringsRandom (int batch_size, void *d)
 
void AddTestString (TestData *data, const char *s)
 
void InitTestData (TestData *data, int num_small_strings, int num_large_strings)
 
int main (int argc, char **argv)
 

Function Documentation

void AddTestString ( TestData data,
const char *  s 
)
void InitTestData ( TestData data,
int  num_small_strings,
int  num_large_strings 
)
void TestCompactStringsSequential ( int  batch_size,
void *  d 
)
void TestNormalStringsRandom ( int  batch_size,
void *  d 
)
void TestNormalStringsSequential ( int  batch_size,
void *  d 
)