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

Unified Diff: tests/benchmark/benchmark_nbody.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/benchmark/benchmark_life.cc ('k') | tests/benchmark/benchmark_nbody_c.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/benchmark/benchmark_nbody.cc
diff --git a/tests/benchmark/benchmark_nbody.cc b/tests/benchmark/benchmark_nbody.cc
deleted file mode 100644
index 20083509f2d1f3cff27e09dbdcb8855c43858021..0000000000000000000000000000000000000000
--- a/tests/benchmark/benchmark_nbody.cc
+++ /dev/null
@@ -1,37 +0,0 @@
-// Copyright 2014 The Native Client Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#include <stdint.h>
-#include <stdio.h>
-#include <stdlib.h>
-#include <string.h>
-#include <unistd.h>
-
-#include <string>
-
-// @EXEMPTION[include]
-#include "./framework.h"
-
-
-extern "C" {
- int main_nbody(int argc, const char* argv[]);
-}
-
-namespace {
-
-// Wrap NBody in benchmark harness
-class BenchmarkNBody : public Benchmark {
- public:
- virtual int Run() {
- const char *args[] = {"nbody", "500000"};
- return main_nbody(2, args);
- }
- virtual const std::string Name() { return "NBody"; }
- virtual const std::string Notes() { return "c #1 version"; }
-};
-
-} // namespace
-
-// Register an instance to the list of benchmarks to be run.
-RegisterBenchmark<BenchmarkNBody> benchmark_nbody;
« no previous file with comments | « tests/benchmark/benchmark_life.cc ('k') | tests/benchmark/benchmark_nbody_c.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698