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
Transactions: 200000 hits | |
Availability: 100.00 % | |
Elapsed time: 47.48 secs | |
Data transferred: 585.37 MB | |
Response time: 0.02 secs | |
Transaction rate: 4212.30 trans/sec | |
Throughput: 12.33 MB/sec | |
Concurrency: 98.79 | |
Successful transactions: 200000 | |
Failed transactions: 0 |
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
rax: ............|......|......R_r_r.R_r.|......R_r_r...|......|....|....R_r_r.R_r. | |
rbx: ............|......|....R___r.....r.|....R___r.....|......|....|..R___r....... | |
rcx: ............|......|........r.....r.|........r.....|......|....|......r....... | |
rdx: ............|......|........r.....r.|........r.....|......|....|......r....... | |
004: ....R_______|______|______..........|..............|......|....|.............. | |
005: ......A_a...|......|................|..............|......|....|.............. | |
006: ........A___|__a...|................|..............|..A___|....|.............. | |
007: ............|..A___|______..........|..............|......|....|.............. | |
008: ............|......|..R_a...........|..............|......|....|.............. | |
009: ............|......|..........A_a...|..............|......|....|.............. |
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
// | |
// Place in the folder with node's source and run following in bash: | |
// $ node graph.js 60bf2d6 0d7a021 > graph.log | |
// | |
var child_process = require('child_process'), | |
exec = child_process.exec; | |
var start = process.argv[2]; | |
var end = process.argv[3]; | |
var bench = process.argv[4]; |
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
var cluster = require('cluster'); | |
var os = require('os'); | |
var fs = require('fs'); | |
var https = require('https'); | |
if (cluster.isMaster) { | |
for (var i = 0; i < os.cpus().length; i++) { | |
cluster.fork(); | |
} | |
return; |
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
commit bda00b93bed86610319f73cc6e857bd6ae05bff7 | |
Author: Fedor Indutny <fedor.indutny@gmail.com> | |
Date: Thu Jun 20 23:32:26 2013 +0200 | |
couch_users_db: introduce public_users option | |
When `couchdb.public_users` is set to `true`, getting `/_users/id` will | |
return user document with sensitive information stripped. | |
diff --git a/etc/couchdb/default.ini.tpl.in b/etc/couchdb/default.ini.tpl.in |
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
commit 461f784d01a071172ab9a993313db3c00b3a6b5c | |
Author: Fedor Indutny <fedor.indutny@gmail.com> | |
Date: Wed Aug 14 17:14:35 2013 +0400 | |
fsevents: FSEvents is most likely not thread-safe | |
Perform all operation with FSEventStream in the same thread, where it'll | |
be used. | |
Conflicts: |
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
<?xml version="1.0"?> | |
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'> | |
<service_bundle type="manifest" name="minecraft"> | |
<service name="minecraft" type="service" version="1"> | |
<create_default_instance enabled="true"/> | |
<single_instance/> | |
<dependency name="milestone" grouping="require_all" restart_on="none" type="service"> | |
<service_fmri value="svc:/milestone/multi-user"/> |
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
commit b8e3d3701ac07d9304aee7cde1f0ebb5e17a8db8 | |
Author: Fedor Indutny <fedor.indutny@gmail.com> | |
Date: Mon Oct 28 20:43:03 2013 +0400 | |
darwin: avoid calling pGetCurrentProcess | |
Use some black-magic from Apple to change process name without getting | |
a "Not responding" tag from Activity Manager. | |
fix #966 |
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
var jit = require('jit.js'), | |
esprima = require('esprima'), | |
assert = require('assert'); | |
var ast = esprima.parse(process.argv[2]); | |
// Compile | |
var fn = jit.compile(function() { | |
// This will generate default entry boilerplate | |
this.Proc(functon() { |
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
CFLAGS ?= | |
CFLAGS += -g -Wall | |
all: main | |
%.o: %.c | |
$(CC) $(CFLAGS) -c $< -o $@ | |
main: main.o | |
$(CC) $(CFLAGS) $< -o $@ |