Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: tests/benchmark/benchmark_binarytrees.cc

Issue 993003004: Delete flaky benchmark test (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Fix dependencies. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « tests/benchmark/DEPS ('k') | tests/benchmark/benchmark_binarytrees_c.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2014 The Native Client Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <stdint.h>
6 #include <stdio.h>
7 #include <stdlib.h>
8 #include <string.h>
9 #include <unistd.h>
10
11 #include <string>
12
13 // @EXEMPTION[include]
14 #include "./framework.h"
15
16 extern "C" {
17 int main_binarytrees(int argc, const char* argv[]);
18 }
19
20 namespace {
21
22 // Wrap BinaryTrees in benchmark harness
23 class BenchmarkBinaryTrees : public Benchmark {
24 public:
25 virtual int Run() {
26 const char *args[] = {"binarytrees", "12"};
27 return main_binarytrees(1, args);
28 }
29 virtual const std::string Name() { return "BinaryTrees"; }
30 virtual const std::string Notes() { return "c version"; }
31 };
32
33 } // namespace
34
35 // Register an instance to the list of benchmarks to be run.
36 RegisterBenchmark<BenchmarkBinaryTrees> benchmark_binarytrees;
OLDNEW
« no previous file with comments | « tests/benchmark/DEPS ('k') | tests/benchmark/benchmark_binarytrees_c.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698