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

Unified Diff: tests/service_tests/performance/performance_test.cc

Issue 1659163007: Rename fletch -> dartino (Closed) Base URL: https://github.com/dartino/sdk.git@master
Patch Set: address comments Created 4 years, 11 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/service_tests/performance/java/SnapshotRunner.java ('k') | tests/service_tests/service_tests.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/service_tests/performance/performance_test.cc
diff --git a/tests/service_tests/performance/performance_test.cc b/tests/service_tests/performance/performance_test.cc
index 96963db54e61bcc492af7159998b92386d63262a..563abbb1df907528683c273493ae09e0b9358771 100644
--- a/tests/service_tests/performance/performance_test.cc
+++ b/tests/service_tests/performance/performance_test.cc
@@ -8,7 +8,7 @@
#include <cstdio>
#include "include/service_api.h"
-#include "include/fletch_api.h"
+#include "include/dartino_api.h"
#include "src/shared/assert.h"
#include "src/shared/platform.h"
@@ -24,7 +24,7 @@ static int status = 0;
static const int kDone = 1;
static const int kCallCount = 10000;
-static fletch::Monitor* echo_monitor = fletch::Platform::CreateMonitor();
+static dartino::Monitor* echo_monitor = dartino::Platform::CreateMonitor();
static bool echo_async_done = false;
static uint64_t GetMicroseconds() {
@@ -125,7 +125,7 @@ void EchoInThread(void* data) {
static void RunThreadTests() {
const int kThreadCount = 32;
- fletch::ThreadPool thread_pool(kThreadCount);
+ dartino::ThreadPool thread_pool(kThreadCount);
thread_pool.Start();
for (int i = 0; i < kThreadCount; i++) {
while (!thread_pool.TryStartThread(EchoInThread,
@@ -150,9 +150,9 @@ static void WaitForStatus(int expected) {
static void* DartThreadEntry(void* arg) {
const char* path = static_cast<char*>(arg);
- FletchSetup();
- FletchRunSnapshotFromFile(path);
- FletchTearDown();
+ DartinoSetup();
+ DartinoRunSnapshotFromFile(path);
+ DartinoTearDown();
ChangeStatusAndNotify(kDone);
return NULL;
}
« no previous file with comments | « tests/service_tests/performance/java/SnapshotRunner.java ('k') | tests/service_tests/service_tests.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698