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

Go to the source code of this file.

Classes

struct  TestData< Decimal >
 

Functions

int StringCompare1 (const char *s1, int n1, const char *s2, int n2, int len)
 
int StringCompare2 (const char *s1, int n1, const char *s2, int n2, int len)
 
int StringCompare3 (const char *s1, int n1, const char *s2, int n2, int len)
 
void TestStringCompare1 (int batch_size, void *d)
 
void TestStringCompare2 (int batch_size, void *d)
 
void TestStringCompare3 (int batch_size, void *d)
 
TestData InitTestData (int len)
 
int main (int argc, char **argv)
 

Function Documentation

TestData InitTestData ( int  len)
int StringCompare1 ( const char *  s1,
int  n1,
const char *  s2,
int  n2,
int  len 
)
int StringCompare2 ( const char *  s1,
int  n1,
const char *  s2,
int  n2,
int  len 
)
int StringCompare3 ( const char *  s1,
int  n1,
const char *  s2,
int  n2,
int  len 
)
void TestStringCompare1 ( int  batch_size,
void *  d 
)
void TestStringCompare2 ( int  batch_size,
void *  d 
)
void TestStringCompare3 ( int  batch_size,
void *  d 
)