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

Unified Diff: lib/src/runner/browser/compiler_pool.dart

Issue 1062813006: Add the ability to run test suites in parallel. (Closed) Base URL: git@github.com:dart-lang/test@master
Patch Set: Code review changes Created 5 years, 8 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 | « lib/src/executable.dart ('k') | lib/src/runner/engine.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/runner/browser/compiler_pool.dart
diff --git a/lib/src/runner/browser/compiler_pool.dart b/lib/src/runner/browser/compiler_pool.dart
index a424151af93fda56f221f1d07a48e93a325f7f07..0e89690c38d8bf71880fc36f5bf15c76374904c9 100644
--- a/lib/src/runner/browser/compiler_pool.dart
+++ b/lib/src/runner/browser/compiler_pool.dart
@@ -41,14 +41,14 @@ class CompilerPool {
/// The completer for the [Future] returned by [close].
Completer _closeCompleter;
- /// Creates a compiler pool that runs up to [parallel] instances of `dart2js`
- /// at once.
+ /// Creates a compiler pool that runs up to [concurrency] instances of
+ /// `dart2js` at once.
///
- /// If [parallel] isn't provided, it defaults to 4.
+ /// If [concurrency] isn't provided, it defaults to 4.
///
/// If [color] is true, `dart2js` will be run with colors enabled.
- CompilerPool({int parallel, bool color: false})
- : _pool = new Pool(parallel == null ? 4 : parallel),
+ CompilerPool({int concurrency, bool color: false})
+ : _pool = new Pool(concurrency == null ? 4 : concurrency),
_color = color;
/// Compile the Dart code at [dartPath] to [jsPath].
« no previous file with comments | « lib/src/executable.dart ('k') | lib/src/runner/engine.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698