Skip to content

Commit e63a9cc

Browse files
test: added async-hook benchmark
Added a minimalist benchmark test for the async-hooks.
1 parent d4ce144 commit e63a9cc

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

lib/assert.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ const NO_EXCEPTION_SENTINEL = {};
8282

8383
function innerFail(obj) {
8484
if (obj.message instanceof Error) throw obj.message;
85-
85+
console.log('---------------------------------------------------- here is where the error is ----------------------------------------------------')
8686
throw new AssertionError(obj);
8787
}
8888

test/common/benchmark.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ function runBenchmark(name, args, env) {
3232
});
3333

3434
child.on('exit', (code, signal) => {
35+
console.log('---------------------------------------------------- here is code ----------------------------------------------------')
36+
console.log(code)
3537
assert.strictEqual(code, 0);
3638
assert.strictEqual(signal, null);
3739
// This bit makes sure that each benchmark file is being sent settings such

0 commit comments

Comments
 (0)