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

Unified Diff: runtime/vm/benchmark_test.cc

Issue 10407042: spawnUri. Take two. This time I'll wait for Anton before committing :-). (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 7 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 | « runtime/vm/benchmark_test.h ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/benchmark_test.cc
===================================================================
--- runtime/vm/benchmark_test.cc (revision 7916)
+++ runtime/vm/benchmark_test.cc (working copy)
@@ -56,7 +56,7 @@
const int kNumIterations = 100;
char* err = NULL;
Dart_Isolate base_isolate = Dart_CurrentIsolate();
- Dart_Isolate test_isolate = Dart_CreateIsolate(NULL, NULL, NULL, &err);
+ Dart_Isolate test_isolate = Dart_CreateIsolate(NULL, NULL, NULL, NULL, &err);
EXPECT(test_isolate != NULL);
Dart_EnterScope();
uint8_t* buffer = NULL;
@@ -66,7 +66,8 @@
Timer timer(true, "Core Isolate startup benchmark");
timer.Start();
for (int i = 0; i < kNumIterations; i++) {
- Dart_Isolate new_isolate = Dart_CreateIsolate(NULL, buffer, NULL, &err);
+ Dart_Isolate new_isolate =
+ Dart_CreateIsolate(NULL, NULL, buffer, NULL, &err);
EXPECT(new_isolate != NULL);
Dart_ShutdownIsolate();
}
« no previous file with comments | « runtime/vm/benchmark_test.h ('k') | runtime/vm/bootstrap_natives.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698