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

Unified Diff: tools/node-windows-tick-processor.bat

Issue 1179173009: Add support for running the profiler output processing scripts with node. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: buffered readline polyfill Created 5 years, 6 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 | « tools/node-polyfill.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/node-windows-tick-processor.bat
diff --git a/tools/windows-tick-processor.bat b/tools/node-windows-tick-processor.bat
old mode 100755
new mode 100644
similarity index 67%
copy from tools/windows-tick-processor.bat
copy to tools/node-windows-tick-processor.bat
index 79b440fa6c64b46f8035a7faf8cb26887404fb8b..b8ac12d610faca27ef0deaabc9e0685fc8b79544
--- a/tools/windows-tick-processor.bat
+++ b/tools/node-windows-tick-processor.bat
@@ -1,7 +1,6 @@
@echo off
SET tools_dir=%~dp0
-IF 1%D8_PATH% == 1 (SET D8_PATH=%tools_dir%..)
SET log_file=v8.log
@@ -27,4 +26,8 @@ IF NOT %arg8:~0,2% == 8 (IF NOT %arg8:~0,2% == 8- SET log_file=%8)
SET arg9=9%9
IF NOT %arg9:~0,2% == 9 (IF NOT %arg9:~0,2% == 9- SET log_file=%9)
-type %log_file% | %D8_PATH%\d8 %tools_dir%splaytree.js %tools_dir%codemap.js %tools_dir%csvparser.js %tools_dir%consarray.js %tools_dir%profile.js %tools_dir%profile_view.js %tools_dir%logreader.js %tools_dir%SourceMap.js %tools_dir%tickprocessor.js %tools_dir%tickprocessor-driver.js -- --windows %*
+SET temp_script=%TEMP%.\node-tick-processor-input-script
+
+type %tools_dir%node-polyfill.js %tools_dir%splaytree.js %tools_dir%codemap.js %tools_dir%csvparser.js %tools_dir%consarray.js %tools_dir%profile.js %tools_dir%profile_view.js %tools_dir%logreader.js %tools_dir%SourceMap.js %tools_dir%tickprocessor.js %tools_dir%tickprocessor-driver.js >> %temp_script%
+node %temp_script% %log_file% -- --windows %*
+del %TEMP%.\node-tick-processor-input-script
« no previous file with comments | « tools/node-polyfill.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698