mirror of
https://github.com/simdjson/simdjson
synced 2026-06-08 17:27:07 +00:00
14039d05a9
* Adding a distinct user id benchmark * reenabling everything * Removing an unnecessary "value()". * Better tests of the examples and some fixes. * Guarding exception code.
27 lines
561 B
C++
27 lines
561 B
C++
#include "simdjson.h"
|
|
#include <iostream>
|
|
#include <sstream>
|
|
#include <random>
|
|
#include <vector>
|
|
SIMDJSON_PUSH_DISABLE_ALL_WARNINGS
|
|
#include <benchmark/benchmark.h>
|
|
SIMDJSON_POP_DISABLE_WARNINGS
|
|
|
|
#include "partial_tweets/ondemand.h"
|
|
#include "partial_tweets/iter.h"
|
|
#include "partial_tweets/dom.h"
|
|
|
|
#include "largerandom/ondemand.h"
|
|
#include "largerandom/iter.h"
|
|
#include "largerandom/dom.h"
|
|
|
|
#include "kostya/ondemand.h"
|
|
#include "kostya/iter.h"
|
|
#include "kostya/dom.h"
|
|
|
|
#include "distinctuserid/ondemand.h"
|
|
#include "distinctuserid/dom.h"
|
|
|
|
|
|
BENCHMARK_MAIN();
|