mirror of
https://github.com/nodejs/node.git
synced 2025-05-17 16:40:19 +00:00

This commit improves module loading performance by at least ~25-35% in the module-loader benchmarks. Some optimization strategies include: * Try-finally/try-catch isolation * Replacing regular expressions with manual parsing * Avoiding unnecessary string and array creation * Avoiding constant recompilation of anonymous functions and function definitions within functions PR-URL: https://github.com/nodejs/node/pull/5172 Reviewed-By: James M Snell <jasnell@gmail.com>
16 lines
460 B
Plaintext
16 lines
460 B
Plaintext
Exiting with code=1
|
|
|
|
assert.js:*
|
|
throw new assert.AssertionError({
|
|
^
|
|
AssertionError: 1 == 2
|
|
at Object.<anonymous> (*test*message*error_exit.js:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at Object.Module._extensions..js (module.js:*:*)
|
|
at Module.load (module.js:*:*)
|
|
at tryModuleLoad (module.js:*:*)
|
|
at Function.Module._load (module.js:*:*)
|
|
at Function.Module.runMain (module.js:*:*)
|
|
at startup (node.js:*:*)
|
|
at node.js:*:*
|