an unswallowable thenable
i presently make no claims that this is actually a good idea
WARNING: may not work correctly with async functions
function* f() { | |
try { | |
yield 1 | |
yield 2 | |
yield 3 | |
} finally { | |
yield 4 | |
yield 5 | |
} | |
} |
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 | |
[JavaScript]: | |
ticks total nonlib name |
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 | |
[JavaScript]: | |
ticks total nonlib name |
an unswallowable thenable
i presently make no claims that this is actually a good idea
WARNING: may not work correctly with async functions
{ | |
"total": 693297661, | |
"version": "0.15.1", | |
"root": { | |
"name": "root", | |
"uid": 1, | |
"init": 0, | |
"destroy": 6419742, | |
"before": [ | |
0 |
src/inventory.rs:30:9: 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/inventory.rs:30 for slot in self.slots.iter_mut() { | |
src/inventory.rs:31 if let Slot::Some(other, stackSize) = slot { | |
src/inventory.rs:32 if itemType != other.itemType() { continue; } | |
src/inventory.rs:33 | |
src/inventory.rs:34 let remainder = other.maxStackSize() - stackSize; | |
src/inventory.rs:35 if remainder >= sum { | |
... |
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; |
7c89c4c7ac
] - (SEMVER-MAJOR) 2015-05-04 io.js v2.0.0 Release (Rod Vagg)509b59ea7c
] - (SEMVER-MAJOR) deps: enable v8 postmortem debugging again (Ben Noordhuis) iojs/io.js#1232db4ded5903
] - (SEMVER-MAJOR) deps: enable v8 postmortem debugging again (Ben Noordhuis) iojs/io.js#123236cd5fb9d2
] - (SEMVER-MAJOR) deps: upgrade v8 to 4.2.77.13 (Ben Noordhuis) iojs/io.js#1232b57cc51d8d
] - (SEMVER-MAJOR) os: remove trailing slash from os.tmpdir() (Christian Tellnes) iojs/io.js#747c1b9913e1f
](https://github.com/nodejs/io.jThe prep-script.sh
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
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') |