This file contains 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
[jann@Jann-PC clarinet master]$ node bench/async.js samples/creationix.json 2000 9 | |
=N("node bench/a sync.js samples/creationix.json 2000 9") | |
=N("clp (clarinet parser), cls (clarinet event emitter)") | |
cls, 4498 | |
clp, 4920 | |
cls, 3541 | |
clp, 4643 | |
cls, 4426 | |
clp, 4654 | |
cls, 4546 |
This file contains 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
0: Block at unknown: 1:6-1:12 | |
14: Block at unknown: 1:6-1:12 | |
16: Block at unknown: 1:6-1:12 | |
20: Block at unknown: 1:6-1:12 | |
24: Block at unknown: 1:6-1:12 | |
26: Block at unknown: 1:6-1:12 | |
32: Block at unknown: 1:6-1:12 | |
34: Block at unknown: 1:6-1:12 | |
36: Block at unknown: 1:6-1:12 | |
38: Block at unknown: 1:6-1:12 |
This file has been truncated, but you can view the full file.
This file contains 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
<html> | |
<head> | |
<script> | |
window.onload = function() { | |
[].slice.call(document.getElementsByClassName('jschar')).forEach(function(jschar) { | |
jschar.addEventListener('click', function() { | |
alert(jschar.getAttribute('data-text')) | |
}, false) | |
}) | |
} |
This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="content-type" content="text/html;charset=UTF-8" /> | |
<title>CoffeeScript</title> | |
<link rel="stylesheet" type="text/css" href="documentation/css/docs.css" /> |
This file contains 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
/* 1 */indent = -> | |
/* 2 */ it | |
/* 3 */ .split \\n | |
/* 4 */ .map -> ' '+it | |
/* 5 */ .join \\n |
This file contains 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
1MOyoQIABAAAAAAAAAAAAP//AAABAAAAjdP8Tg6TAABKAAAASgAAAAAAAAAAAAAAAAAAAAgARQAA | |
PP8QQABABj2pfwAAAX8AAAGa/hHXWH+pygAAAACgAoAY/jAAAAIEQAwEAggKDAlW2gAAAAABAwME | |
jdP8TiWTAABKAAAASgAAAAAAAAAAAAAAAAAAAAgARQAAPAAAQABABjy6fwAAAX8AAAER15r++kuy | |
71h/qcugEoAA/jAAAAIEQAwEAggKDAlW2gwJVtoBAwMEjdP8TjeTAABCAAAAQgAAAAAAAAAAAAAA | |
AAAAAAgARQAANP8RQABABj2wfwAAAX8AAAGa/hHXWH+py/pLsvCAEAgC/igAAAEBCAoMCVbaDAlW | |
2o3T/E5HlwAAhQAAAIUAAAAAAAAAAAAAAAAAAAAIAEUAAHf/EkAAQAY9bH8AAAF/AAABmv4R11h/ | |
qcv6S7LwgBgIAv5rAAABAQgKDAlW2wwJVtpHRVQgL0ZPTyBIVFRQLzEuMQ0KSG9zdDogMTI3LjAu | |
MC4xOjQ1NjcNCkNvbm5lY3Rpb246IGtlZXAtYWxpdmUNCg0KjdP8TnWXAABCAAAAQgAAAAAAAAAA | |
AAAAAAAAAAgARQAANOQqQABABliXfwAAAX8AAAER15r++kuy8Fh/qg6AEAgA/igAAAEBCAoMCVbb | |
DAlW243T/E6pmQAAbQAAAG0AAAAAAAAAAAAAAAAAAAAIAEUAAF/kK0AAQAZYa38AAAF/AAABEdea |
This file contains 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
SHOULDKEEPALIVE: HASAGENT | |
ALL OPEN CONNS USED | |
REQ GOT SOCKET | |
ONDATA FIRED | |
got a 200 | |
RES-ON-END-2 true | |
RESPONSE END | |
RES-ON-END true | |
ONFREE | |
FREE: IDLE NOW |
This file contains 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
(function(){ | |
var request, MAX_ALTER_TRIES, Database, retrySoon; | |
request = require('request'); | |
MAX_ALTER_TRIES = 10; | |
module.exports = Database = (function(){ | |
Database.displayName = 'Database'; | |
var prototype = Database.prototype, constructor = Database; | |
function Database(options){ | |
this.host = '127.0.0.1'; | |
this.port = 5984; |
This file contains 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
[jann@Jann-PC tmp]$ ab -n 1000 -c 1 http://localhost:9876/thread/a5488f445cc5765be0278bf33e7e93fb/1 # with patch, agent is warmed up | |
This is ApacheBench, Version 2.3 <$Revision: 655654 $> | |
Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ | |
Licensed to The Apache Software Foundation, http://www.apache.org/ | |
Benchmarking localhost (be patient) | |
Completed 100 requests | |
Completed 200 requests | |
Completed 300 requests | |
Completed 400 requests |
This file contains 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
[jann@Jann-PC node-vacuum master]$ node | |
> var vacuum = require('./') | |
undefined | |
> var template = vacuum.compileTemplate('abc {var name="foo"} def-{var name="bar"}-ghi') | |
undefined | |
> template | |
{ parts: | |
[ 'abc ', | |
{ type: 'var', args: [Object] }, | |
' def-', |