|
Impala
Impalaistheopensource,nativeanalyticdatabaseforApacheHadoop.
|
#include <stdlib.h>#include <stdio.h>#include <iostream>#include "util/benchmark.h"#include "util/cpu-info.h"#include "runtime/string-search.h"#include "experiments/string-search-sse.h"#include "common/names.h"Go to the source code of this file.
Classes | |
| struct | TestData< Decimal > |
Functions | |
| void | TestLibc (int batch_size, void *d) |
| void | TestPython (int batch_size, void *d) |
| void | TestImpalaNullTerminated (int batch_size, void *d) |
| void | TestImpalaNonNullTerminated (int batch_size, void *d) |
| void | InitTestData (TestData *data) |
| int | main (int argc, char **argv) |
| void InitTestData | ( | TestData * | data | ) |
Definition at line 119 of file string-search-benchmark.cc.
References TestData< Decimal >::haystacks, TestData< Decimal >::needles, and TestData< Decimal >::strings.
Referenced by main().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 161 of file string-search-benchmark.cc.
References impala::Benchmark::AddBenchmark(), impala::Benchmark::GetMachineInfo(), impala::CpuInfo::Init(), InitTestData(), impala::Benchmark::Measure(), TestImpalaNonNullTerminated(), TestImpalaNullTerminated(), TestLibc(), and TestPython().
| void TestImpalaNonNullTerminated | ( | int | batch_size, |
| void * | d | ||
| ) |
Definition at line 97 of file string-search-benchmark.cc.
References TestData< Decimal >::haystacks, TestData< Decimal >::matches, TestData< Decimal >::needles, and impala::StringSearchSSE::Search().
Referenced by main().
| void TestImpalaNullTerminated | ( | int | batch_size, |
| void * | d | ||
| ) |
Definition at line 79 of file string-search-benchmark.cc.
References TestData< Decimal >::haystacks, TestData< Decimal >::matches, TestData< Decimal >::needles, and impala::StringSearchSSE::Search().
Referenced by main().
| void TestLibc | ( | int | batch_size, |
| void * | d | ||
| ) |
Definition at line 45 of file string-search-benchmark.cc.
References TestData< Decimal >::haystacks, TestData< Decimal >::matches, and TestData< Decimal >::needles.
Referenced by main().
| void TestPython | ( | int | batch_size, |
| void * | d | ||
| ) |
Definition at line 62 of file string-search-benchmark.cc.
References TestData< Decimal >::haystacks, TestData< Decimal >::matches, TestData< Decimal >::needles, and impala::StringSearch::Search().
Referenced by main().