node --trace-opt --trace-bailout bench/parse.js
[marking Parser.parse 0x1aaeac0a128 for recompilation, reason: hot and stable, ICs with typeinfo: 59/95 (62%)]
Bailout in HGraphBuilder: @"Parser.parse": SwitchStatement: non-literal switch label
[disabled optimization for Parser.parse]
[marking EventEmitter.emit 0x1f0e63861860 for recompilation, reason: not much type info but very hot, ICs with typeinfo: 2/70 (2%)]
[optimizing: EventEmitter.emit / 1f0e63861861 - took 1.649 ms]
[marking EventEmitter 0x1aaeac2bbb0 for recompilation, reason: small function, ICs with typeinfo: 1/5 (20%)]
[marking createParser 0x1aaeac38f88 for recompilation, reason: small function, ICs with typeinfo: 0/0 (100%)]
[optimizing: createParser / 1aaeac38f89 - took 0.124 ms]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
console.time('Zuneta-stream'); | |
/** | |
* Modules dependencies | |
*/ | |
var csv = require('csv-stream'), | |
request = require('request'), | |
objectMapper = require('object-mapper-stream'), | |
solr = require('solr-client'), | |
crypto = require('crypto'); |
YES!!!
1° profiling:
lbdremy@lbdremy-Latitude-E6500:~/workspace/nodejs/jsonparse$ node --trace-opt --trace-bailout bench.js
[marking toLowerCase 0x2101a5499e8 for recompilation, reason: small function, ICs with typeinfo: 0/2 (0%)]
[optimizing: toLowerCase / 2101a5499e9 - took 0.804 ms]
[marking parse 0x2101a54a4e0 for recompilation, reason: small function, ICs with typeinfo: 2/4 (50%)]
[optimizing: parse / 2101a54a4e1 - took 0.134 ms]
[marking IsPrimitive 0x2101a553578 for recompilation, reason: small function, ICs with typeinfo: 0/0 (100%)]
[marking NonStringToString 0x2101a552338 for recompilation, reason: small function, ICs with typeinfo: 2/2 (100%)]
Bailout in HGraphBuilder: @"NonStringToString": call to a JavaScript runtime function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "your description" | |
author "your name <[email protected]>" | |
# Environment variables | |
env APP_CONFIG=/home/web/app/config.json | |
env APP_USER=myapp | |
env APP_SCRIPT=/home/web/app/index.js | |
env NODE_ENV=production | |
env PID_FILE=/var/run/app.pid | |
env STDERR_LOG_FILE=/var/log/app/stderr.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
># java -ea:org.apache.lucene -cp /var/lib/chef/solr/solr-jetty/work/Jetty_0_0_0_0_8983_solr.war__solr__k1kf17/webapp/WEB-INF/lib/lucene-core-2.9-dev.jar org.apache.lucene.index.CheckIndex -fix /var/cache/chef/solr/data/index/ |
- Affiliate network name - ¶meter=value_of_the_click_reference_here_CLICKREF
- Advortis - &xref1=CLICKREF
- Affiliate Future - &tracking=CLICKREF
- Affiliate Window - &clickref=CLICKREF
- Affilinet - &subid=CLICKREF
- Aflite - &aref=CLICKREF
- Brand Conversions - &subid=CLICKREF
- Buyat - &LID=CLICKREF
- Carpet Right Affiliates - &link_ref=CLICKREF
- ClixGalore - &OID=CLICKREF
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Module dependencies | |
*/ | |
var GA = require('googleanalytics'), | |
jwt = require('jwt-sign'), | |
request = require('superagent'), | |
fs = require('fs'), | |
privateKey = fs.readFileSync(process.env['GA_PATH_PRIVATE_KEY'] || __dirname + '/key/private.pem','utf8'); |