This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Before | |
----------------------------------------------------------------------------------------- | |
Benchmark Time CPU Iterations UserCounters... | |
----------------------------------------------------------------------------------------- | |
ValueCountsDictionaryChunks/0 8112938 ns 8112013 ns 87 bytes_per_second=4.81539Gi/s items_per_second=517.048M/s null_percent=0 num_unique=100 | |
ValueCountsDictionaryChunks/1 8563428 ns 8563225 ns 82 bytes_per_second=4.56166Gi/s items_per_second=489.804M/s null_percent=0.1 num_unique=100 | |
ValueCountsDictionaryChunks/2 9591335 ns 9590370 ns 72 bytes_per_second=4.0731Gi/s items_per_second=437.345M/s null_percent=1 num_unique=100 | |
ValueCountsDictionaryChunks/3 12068706 ns 12066611 ns 55 bytes_per_second=3.23724Gi/s items_per_second=347.596M/s null_percent=10 num_unique=100 | |
ValueCountsDictionaryChunks/4 22068866 ns 22068960 ns 32 bytes_per_second=1.7700 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---------------------------------------------------------------------------------------------------- | |
Benchmark Time CPU Iterations UserCounters... | |
---------------------------------------------------------------------------------------------------- | |
FilterInt64FilterNoNulls/262144/0/0 73795 ns 73864 ns 9581 bytes_per_second=3.30528G/s data null%=0 mask null%=0 option=0 select%=99.9 size=262.144k | |
FilterInt64FilterNoNulls/262144/0/1 71842 ns 71910 ns 9643 bytes_per_second=3.39507G/s data null%=0 mask null%=0 option=1 select%=99.9 size=262.144k | |
FilterInt64FilterNoNulls/262144/0/2 42188 ns 42223 ns 16538 bytes_per_second=5.78212G/s data null%=0 mask null%=0 option=2 select%=99.9 size=262.144k | |
FilterInt64FilterNoNulls/262144/1/0 375322 ns 375612 ns 1831 bytes_per_second=665.58M/s data null%=0 mask null%=0 option=0 select%=50 size=262.144k | |
FilterInt64FilterNoNulls |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <cstdint> | |
#include <iostream> | |
#include <memory> | |
#include <numeric> | |
#include <vector> | |
#include "arrow/api.h" | |
#include "arrow/compute/api.h" | |
#define ANKERL_NANOBENCH_IMPLEMENT | |
#include "nanobench.h" |