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
#!/usr/bin/env Rscript | |
library(ggplot2); | |
library(plyr); | |
# parse data | |
dat.autocannon = read.csv('simple-autocannon.csv'); | |
dat.wrk = read.csv('simple-wrk.csv'); | |
# combine data | |
dat.autocannon$benchmarker = ' autocannon'; |
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
filename | c | chunks | length | type | rate | time | |
---|---|---|---|---|---|---|---|
http/simple.js | 50 | 0 | 4 | bytes | 12792.92 | 10.019175265 | |
http/simple.js | 500 | 0 | 4 | bytes | 12563.93 | 10.061565233 | |
http/simple.js | 50 | 1 | 4 | bytes | 13476.32 | 10.11492172 | |
http/simple.js | 500 | 1 | 4 | bytes | 12790.91 | 10.072104875 | |
http/simple.js | 50 | 4 | 4 | bytes | 7573.24 | 10.022670265 | |
http/simple.js | 500 | 4 | 4 | bytes | 8168.58 | 10.078595719 | |
http/simple.js | 50 | 0 | 1024 | bytes | 13598.24 | 10.114329918 | |
http/simple.js | 500 | 0 | 1024 | bytes | 12959.98 | 10.06073768 | |
http/simple.js | 50 | 1 | 1024 | bytes | 8173.07 | 10.021258813 |
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
filename | c | chunks | length | type | rate | time | |
---|---|---|---|---|---|---|---|
http/simple.js | 500 | 0 | 1024 | buffer | 12561.08 | 10.070019665 | |
http/simple.js | 500 | 0 | 1024 | buffer | 12295.47 | 10.067049961 | |
http/simple.js | 500 | 0 | 1024 | buffer | 12358.86 | 10.116325268 | |
http/simple.js | 500 | 0 | 1024 | buffer | 12293.9 | 10.064770704 | |
http/simple.js | 500 | 0 | 1024 | buffer | 12272.14 | 10.07143516 | |
http/simple.js | 500 | 0 | 1024 | buffer | 12453.61 | 10.070998224 | |
http/simple.js | 500 | 0 | 1024 | buffer | 12703.56 | 10.069003942 | |
http/simple.js | 500 | 0 | 1024 | buffer | 12522.2 | 10.066801084 | |
http/simple.js | 500 | 0 | 1024 | buffer | 12406.31 | 10.07158091 |
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
filename | configuration | rate (op/sec) | time (sec) | |
---|---|---|---|---|
arrays/var-int.js | n=25 type=Array | 78.16202877261836 | 0.319848402 | |
arrays/var-int.js | n=25 type=Buffer | 99.43471365288336 | 0.25142125 | |
arrays/var-int.js | n=25 type=Int8Array | 100.60232908154222 | 0.248503193 | |
arrays/var-int.js | n=25 type=Uint8Array | 102.13162342880813 | 0.244782166 | |
arrays/var-int.js | n=25 type=Int16Array | 98.14023778327551 | 0.254737512 | |
arrays/var-int.js | n=25 type=Uint16Array | 100.94187449908857 | 0.247667285 | |
arrays/var-int.js | n=25 type=Int32Array | 92.78983388047601 | 0.269426067 | |
arrays/var-int.js | n=25 type=Uint32Array | 90.27754042307774 | 0.276923805 | |
arrays/var-int.js | n=25 type=Float32Array | 73.60696037781192 | 0.339641793 |
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
'use strict'; | |
const net = require('net'); | |
const server = net.createServer(function (socket) { | |
socket.write('hallo world'); | |
}); | |
server.listen('127.0.0.1', 8080); |
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
<!DOCTYPE html> | |
<meta charset="utf8"> | |
<title>dprof visualizer</title> | |
<style> | |
/* general page layout */ | |
html, body { | |
margin: 0; | |
height: 100%; | |
} |
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
'use strict'; | |
const asyncWrap = process.binding('async_wrap'); | |
const http = require('http'); | |
const fs = require('fs'); | |
// | |
// Track | |
// | |
// 1. Setup a global variable to track the context of the async_hook_init_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
<!DOCTYPE html> | |
<meta charset="utf8"> | |
<title>dprof visualizer</title> | |
<style> | |
/* general page layout */ | |
html, body { | |
margin: 0; | |
height: 100%; | |
} |
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
'use strict'; | |
const asyncWrap = process.binding('async_wrap'); | |
const fs = require('fs'); | |
// | |
// Track | |
// | |
// 1. Setup a global variable to track the context of the async_hook_init_function | |
let callbackContext = 'root'; | |
process.nextTick(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
<!DOCTYPE html> | |
<meta charset="utf8"> | |
<title>dprof visualizer</title> | |
<style> | |
/* general page layout */ | |
html, body { | |
margin: 0; | |
height: 100%; | |
} |