Permalink
Browse files

17: Moved .travis.yaml to .travis.yml

I'm clearly being a dolt tonight.  I guess I've reached that age.
:p
  • Loading branch information...
1 parent 8200de4 commit 1eb1a90d9856eb0449b8e358832647d3cccda325 @hughfdjackson committed Feb 26, 2013
Showing with 7,125 additions and 0 deletions.
  1. 0 .travis.yaml → .travis.yml
  2. +3 −0 node_modules/profiler/.npmignore
  3. +19 −0 node_modules/profiler/LICENSE
  4. +56 −0 node_modules/profiler/README.md
  5. +34 −0 node_modules/profiler/binding.gyp
  6. +360 −0 node_modules/profiler/build/Makefile
  7. +1 −0 node_modules/profiler/build/Release/.deps/Release/nprof.d
  8. +1 −0 node_modules/profiler/build/Release/.deps/Release/nprof.node.d
  9. +29 −0 node_modules/profiler/build/Release/.deps/Release/obj.target/profiler/profiler.o.d
  10. +1 −0 node_modules/profiler/build/Release/.deps/Release/profiler.node.d
  11. 0 node_modules/profiler/build/Release/linker.lock
  12. +2,955 −0 node_modules/profiler/build/Release/nprof
  13. BIN node_modules/profiler/build/Release/nprof.node
  14. BIN node_modules/profiler/build/Release/obj.target/profiler/profiler.o
  15. BIN node_modules/profiler/build/Release/profiler.node
  16. +6 −0 node_modules/profiler/build/binding.Makefile
  17. +106 −0 node_modules/profiler/build/config.gypi
  18. +211 −0 node_modules/profiler/build/gyp-mac-tool
  19. +83 −0 node_modules/profiler/build/nprof.target.mk
  20. +156 −0 node_modules/profiler/build/profiler.target.mk
  21. +35 −0 node_modules/profiler/package.json
  22. +51 −0 node_modules/profiler/profiler.cc
  23. +22 −0 node_modules/profiler/tools/build-nprof
  24. +26 −0 node_modules/profiler/tools/nprof-stub.js
  25. +26 −0 node_modules/profiler/tools/v8/LICENSE
  26. +292 −0 node_modules/profiler/tools/v8/codemap.js
  27. +93 −0 node_modules/profiler/tools/v8/consarray.js
  28. +78 −0 node_modules/profiler/tools/v8/csvparser.js
  29. +184 −0 node_modules/profiler/tools/v8/logreader.js
  30. +795 −0 node_modules/profiler/tools/v8/profile.js
  31. +219 −0 node_modules/profiler/tools/v8/profile_view.js
  32. +327 −0 node_modules/profiler/tools/v8/splaytree.js
  33. +60 −0 node_modules/profiler/tools/v8/tickprocessor-driver.js
  34. +881 −0 node_modules/profiler/tools/v8/tickprocessor.js
  35. +15 −0 node_modules/profiler/wscript
File renamed without changes.
@@ -0,0 +1,3 @@
+/.lock-wscript
+/build/
+/nprof
@@ -0,0 +1,19 @@
+Copyright (c) 2010 Ben Noordhuis
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
@@ -0,0 +1,56 @@
+# node-profiler
+
+Access the V8 profiler from node.js - http://nodejs.org/
+
+## A word of advice
+
+This module is for people who need fine-grained run-time control over the V8
+profiler. You don't need it if all you want is wholesale profiling, simply
+start `node` with profiling enabled:
+
+ node --prof application.js
+
+Read on, however, if you want to wield the arcane powers this module grants.
+
+## Compiling
+
+Easy as pie. To build from source:
+
+ node-gyp configure build install
+
+Or, if you have `npm` installed:
+
+ npm install profiler
+
+## Usage
+
+In most cases you will want to start your application with the profiler in
+suspended animation.
+
+ node --prof --prof_lazy --log application.js
+
+And inside your application:
+
+ var profiler = require('profiler');
+ //
+ // <here be code you don't want to profile>
+ //
+ profiler.resume();
+ //
+ // <performance critical code here>
+ //
+ profiler.pause();
+
+This results in a v8.log being written to the current directory that you can
+process with the bundled `nprof` tool. Run `sh tools/build-nprof` to build it.
+
+## Advanced usage
+
+You will sometimes want to run the garbage collector before profiling
+a performance critical section of code. Here is how you do it:
+
+ $ cat application.js
+ if (typeof gc === 'function') gc();
+ profiler.resume();
+ // ...
+ $ node --prof --prof_lazy --log --expose-gc application.js
@@ -0,0 +1,34 @@
+{
+ 'targets': [
+ {
+ 'target_name': 'profiler',
+ 'sources': ['profiler.cc']
+ },
+
+ {
+ 'target_name': 'nprof',
+ 'conditions': [
+ # requires a posix shell
+ ['OS != "win"', {
+ 'actions': [{
+ 'action_name': 'nprof',
+ 'inputs': [
+ 'tools/nprof-stub.js',
+ 'tools/v8/splaytree.js',
+ 'tools/v8/codemap.js',
+ 'tools/v8/csvparser.js',
+ 'tools/v8/consarray.js',
+ 'tools/v8/profile.js',
+ 'tools/v8/profile_view.js',
+ 'tools/v8/logreader.js',
+ 'tools/v8/tickprocessor.js',
+ 'tools/v8/tickprocessor-driver.js',
+ ],
+ 'outputs': ['<(PRODUCT_DIR)/nprof'],
+ 'action': ['tools/build-nprof', '<@(_outputs)'],
+ }],
+ }],
+ ],
+ },
+ ]
+}
Oops, something went wrong.

0 comments on commit 1eb1a90

Please sign in to comment.