-
Notifications
You must be signed in to change notification settings - Fork 7
Require Performance #19
Copy link
Copy link
Open
Description
Start time: (2015-11-24 06:15:01 UTC) [treshold=1%,sorted]
# [order] module time %
1 [43] empower (node...er/index.js) 37ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 84%
2 [36] ./lib/decorat...ecorator.js) 33ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 75%
3 [28] escallmatch (...ch/index.js) 31ms ▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇▇ 70%
4 [9] esprima (node.../esprima.js) 19ms ▇▇▇▇▇▇▇▇▇▇▇▇▇ 43%
5 [19] espurify (nod...fy/index.js) 5ms ▇▇▇▇ 11%
6 [7] chalk (node_m...lk/index.js) 4ms ▇▇▇ 9%
7 [42] define-proper...es/index.js) 2ms ▇▇ 5%
8 [11] estraverse (n...traverse.js) 2ms ▇▇ 5%
9 [35] ./decorate (n...decorate.js) 2ms ▇▇ 5%
10 [16] ./lib/create-...hitelist.js) 2ms ▇▇ 5%
11 [27] deep-equal (n...al/index.js) 2ms ▇▇ 5%
12 [4] ansi-styles (...i-styles.js) 1ms ▇ 2%
13 [37] ./lib/captura...pturable.js) 1ms ▇ 2%
14 [5] strip-ansi (n...si/index.js) 1ms ▇ 2%
15 [14] object-keys (...ys/index.js) 1ms ▇ 2%
16 [6] has-color (no...or/index.js) 1ms ▇ 2%
17 [0] text-table (n...le/index.js) 1ms ▇ 2%
18 [17] isarray (node...ay/index.js) 1ms ▇ 2%
19 [18] ./lib/clone-a...lone-ast.js) 1ms ▇ 2%
20 [8] ./lib/default...-options.js) 1ms ▇ 2%
21 [33] array-map (array-map) 1ms ▇ 2%
22 [21] array-map (no...ap/index.js) 1ms ▇ 2%
23 [1] date-time (no...me/index.js) 1ms ▇ 2%
24 [23] array-reduce...ce/index.js) 1ms ▇ 2%
25 [2] parse-ms (nod...ms/index.js) 1ms ▇ 2%
26 [3] pretty-ms (no...ms/index.js) 1ms ▇ 2%
27 [26] ./lib/is_argu...rguments.js) 1ms ▇ 2%
Total require(): 44
Total time: 44ms
Looks like escallmatch is the big offender here. Moving to call-signature should help. If that ends up being unworkable, at least have escallmatch use acorn, so we only require one parser library.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
