Skip to content

Instantly share code, notes, and snippets.

Jeremiah Senkpiel Fishrock123

Block or report user

Report or block Fishrock123

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
Fishrock123 / patch.profile
Created Sep 17, 2018
Node.js --prof of @ 3fdbbb02caf5b6038e56f687aaf4089c1db096a6 for benchmark/timers/timers-timeout-pooled.js n=10000000
View patch.profile
Statistical profiling result from isolate-2-patch-v8.log, (6806 ticks, 37 unaccounted, 0 excluded).
[Shared libraries]:
ticks total nonlib name
10 0.1% /usr/lib/system/libsystem_pthread.dylib
3 0.0% /usr/lib/libc++abi.dylib
1 0.0% /usr/lib/system/libsystem_platform.dylib
ticks total nonlib name
Fishrock123 / master.profile
Created Sep 17, 2018
Node.js --prof of master @ ab5f789e3f3f726702b86bc7b9661895780d4d12 for benchmark/timers/timers-timeout-pooled.js n=10000000
View master.profile
Statistical profiling result from isolate-1-master-v8.log, (5687 ticks, 37 unaccounted, 0 excluded).
[Shared libraries]:
ticks total nonlib name
8 0.1% /usr/lib/system/libsystem_pthread.dylib
5 0.1% /usr/lib/system/libsystem_malloc.dylib
3 0.1% /usr/lib/libc++abi.dylib
ticks total nonlib name
Fishrock123 /
Last active May 7, 2018
unswallowable thenable

an unswallowable thenable

i presently make no claims that this is actually a good idea

WARNING: may not work correctly with async functions

Fishrock123 / interval.dprof.json
Created Sep 18, 2016
intervals and async_hooks
View interval.dprof.json
"total": 693297661,
"version": "0.15.1",
"root": {
"name": "root",
"uid": 1,
"init": 0,
"destroy": 6419742,
"before": [
View err.log
src/ 48:10 error: type mismatch resolving `<core::slice::IterMut<'_, inventory::Slot<T>> as core::iter::Iterator>::Item == inventory::Slot<_>`:
expected &-ptr,
found enum `inventory::Slot` [E0271]
src/ for slot in self.slots.iter_mut() {
src/ if let Slot::Some(other, stackSize) = slot {
src/ if itemType != other.itemType() { continue; }
src/ let remainder = other.maxStackSize() - stackSize;
src/ if remainder >= sum {
View path.diff
diff --git a/lib/path.js b/lib/path.js
index a2162ca..0efa5a3 100644
--- a/lib/path.js
+++ b/lib/path.js
@@ -1,602 +1,1606 @@
'use strict';
-const util = require('util');
-const isWindows = process.platform === 'win32';
+const inspect = require('util').inspect;
Fishrock123 /
Last active Aug 29, 2015
(Hopefully) everything semver-{major,minor} (i.e. added features) in io.js v1.0.0 - v2.5.0

The will setup the latest Node and install the latest perf version on your Linux box.

When you want to generate the flame graph, run the following (folder locations taken from install script):

# expose kernel pointers to perf
# because of /proc/kallsyms; with kernel.kpt_restrict=1, the symbol addresses are hidden
sudo sysctl kernel/kptr_restrict=0

perf record -i -g -e cycles:u -- ~/sources/node/node --perf-basic-prof script.js
Fishrock123 / gulp.js
Last active Jun 22, 2018
gulp & browserify (+watchify +babelify)
View gulp.js
var gulp = require('gulp')
var browserify = require('browserify')
var watchify = require('watchify')
var babelify = require('babelify')
var source = require('vinyl-source-stream')
var buffer = require('vinyl-buffer')
var merge = require('utils-merge')
Fishrock123 / git.log
Created Apr 4, 2015
git log --pretty=full --since="$(git show -s --format=%ad `git rev-list --max-count=1 --tags`)" --until="" --pretty=oneline --abbrev-commit | pbcopy
View git.log
8c6c376 doc: add GPG fingerprint for Fishrock123
ccbea18 doc: better formatting for collaborator GPG keys
3a69b76 benchmark: add rsa/aes-gcm performance test
1c709f3 benchmark: add/remove hash algorithm
f782824 deps: refactor openssl.gyp
eb459c8 tools: fix gyp to work on MacOSX without XCode
15f058f gyp: fix build with python 2.6
21f4fb6 deps: update gyp to e1c8fcf7
efadffe win,node-gyp: optionally allow node.exe/iojs.exe to be renamed
dac903f deps: make node-gyp work with io.js
You can’t perform that action at this time.