mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
Fix slowness in debug run of test-tcp-many-clients
I'm not sure what is actually causing
node_g test/mjsunit/test-tcp-many-clients.js
to run slowly, but I traced the problem to
afd9e714d3.
Somehow it has to do with promoting the compilation of src/util.js. That
change wasn't actually intended to be included in afd9e7 commit anyway, so
I'm reverting it here.
This commit is contained in:
1 parent
2097b9d2e5
commit
733ee426dc
1 file changed
+2
-3
+2
-3
@@ -275,9 +275,6 @@ Load (int argc, char *argv[])
|
||||
EventEmitter::constructor_template->GetFunction());
|
||||
Promise::Initialize(node_obj);
|
||||
|
||||
ExecuteNativeJS("util.js", native_util);
|
||||
ExecuteNativeJS("events.js", native_events);
|
||||
|
||||
Stdio::Initialize(node_obj);
|
||||
Timer::Initialize(node_obj);
|
||||
ChildProcess::Initialize(node_obj);
|
||||
@@ -302,6 +299,8 @@ Load (int argc, char *argv[])
|
||||
HTTPServer::Initialize(http);
|
||||
HTTPConnection::Initialize(http);
|
||||
|
||||
ExecuteNativeJS("util.js", native_util);
|
||||
ExecuteNativeJS("events.js", native_events);
|
||||
ExecuteNativeJS("http.js", native_http);
|
||||
ExecuteNativeJS("file.js", native_file);
|
||||
ExecuteNativeJS("node.js", native_node);
|
||||
|
||||
Reference in new issue
Block a user