projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fbef11b
)
Revert "Add process.startTime"
author
Ryan Dahl
<ry@tinyclouds.org>
Tue, 16 Feb 2010 17:32:25 +0000
(09:32 -0800)
committer
Ryan Dahl
<ry@tinyclouds.org>
Tue, 16 Feb 2010 17:32:25 +0000
(09:32 -0800)
Unnecessary
This reverts commit
896cef23c4a9bb1e3e4eeaef8cf101ea4e43af74
.
doc/api.txt
patch
|
blob
|
history
src/node.js
patch
|
blob
|
history
diff --git
a/doc/api.txt
b/doc/api.txt
index 98fe9a4b7a3857ce90d85b57a976ec2a89850463..b99670d45a95bc300fd7eab6d765bd0fe9f23fdb 100644
(file)
--- a/
doc/api.txt
+++ b/
doc/api.txt
@@
-112,9
+112,6
@@
The PID of the process.
+process.platform+ ::
What platform you're running on. +"linux2"+, +"darwin"+, etc.
-+process.startTime+ ::
-When the process started.
-
+process.memoryUsage()+ ::
Returns the memory usage of the Node process. It looks like this
+
diff --git
a/src/node.js
b/src/node.js
index 026234bafb9d6482d6b5ad7b641143cdc0f352a5..af4856b8e2d5c92acf762db8baee31e7eb66081c 100644
(file)
--- a/
src/node.js
+++ b/
src/node.js
@@
-1,5
+1,4
@@
(function (process) {
-process.startTime = new Date();
process.global.process = process;
process.global.global = process.global;