Sha256: d6820295ebbae35ff85af0ffdfad40c7c0868b0df4b4f090dd0446139aaf6cde

Contents?: true

Size: 505 Bytes

Versions: 16

Compression:

Stored size: 505 Bytes

Contents

// Copyright (c) 2019-2020 Dr. Colin Hirsch and Daniel Frey
// Please see LICENSE for license or visit https://github.com/taocpp/json/

#include <tao/json.hpp>

#include "bench_mark.hpp"

int main( int argc, char** argv )
{
   for( int i = 1; i < argc; ++i ) {
      tao::json::events::to_value consumer;
      tao::json::events::from_file( consumer, argv[ i ] );

      tao::bench::mark( "json", argv[ i ], [&]() {
         (void)tao::json::to_string( consumer.value, 4 );
      } );
   }
   return 0;
}

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
couchbase-3.0.0.alpha.4-x86_64-linux ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.4-x86_64-darwin-19 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.4-universal-darwin-19 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.4 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.3-x86_64-linux ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.3-x86_64-darwin-19 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.3-universal-darwin-19 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.3 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.2-x86_64-linux ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.2-x86_64-darwin-19 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.2-universal-darwin-19 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.2 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.1-x86_64-linux ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.1-x86_64-darwin-19 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.1-universal-darwin-19 ext/third_party/json/src/perf/json/pretty_print_file.cpp
couchbase-3.0.0.alpha.1 ext/third_party/json/src/perf/json/pretty_print_file.cpp