Skip to content

Instantly share code, notes, and snippets.

@vankop
Created September 8, 2019 13:46
Show Gist options
  • Save vankop/f83bdeda2cae617b4a801d8e210454ef to your computer and use it in GitHub Desktop.
Save vankop/f83bdeda2cae617b4a801d8e210454ef to your computer and use it in GitHub Desktop.
loading modules timings
[
[
"./lib/index",
264.206332
],
[
"./standalone",
88.268907
],
[
"globby",
75.481002
],
[
"./testUtils/createRuleTester",
68.492371
],
[
"./out/index",
65.36066
],
[
"./managers/tasks",
54.500145
],
[
"../utils/pattern",
54.259296
],
[
"micromatch",
52.519942
],
[
"braces",
40.726861
],
[
"table",
38.416596
],
[
"postcss-less",
35.658185
],
[
"./table",
30.412728
],
[
"cosmiconfig",
26.978709
],
[
"./createExplorer",
26.575516
],
[
"./lib/braces",
26.35255
],
[
"postcss-sass",
22.90537
],
[
"js-yaml",
22.319854
],
[
"./lib/js-yaml.js",
22.133142
],
[
"gonzales-pe",
21.077177
],
[
"./makeConfig",
20.291876
],
[
"./utils/checkAgainstRule",
19.913958
],
[
"./js-yaml/loader",
19.76289
],
[
"./_baseClone",
17.209286
],
[
"base",
14.437578
],
[
"../type/js/function",
10.375959
],
[
"esprima",
10.083548
],
[
"./lib/compilers",
10.019422
],
[
"./lib/compiler",
8.74963
],
[
"./LessParser",
8.489602
],
[
"./providers/reader-async",
8.372952
],
[
"./createStream",
7.638045
],
[
"./isPathIgnored",
7.517853
],
[
"./utils/FileCache",
7.223575
],
[
"glob",
6.81431
],
[
"file-entry-cache",
6.042802
],
[
"lodash/mapValues",
5.909088
],
[
"class-utils",
5.763467
],
[
"cache-base",
5.679843
],
[
"crypto",
5.577556
],
[
"./_baseIteratee",
5.372659
],
[
"./utils/getModulePath",
4.934416
],
[
"./_stackSet",
4.675035
],
[
"global-modules",
4.433192
],
[
"./previous-map",
4.420791
],
[
"global-prefix",
4.080624
],
[
"snapdragon-node",
3.932934
],
[
"./core",
3.819967
],
[
"source-map",
3.721586
],
[
"./json",
3.646058
],
[
"static-extend",
3.485996
],
[
"color-convert",
3.48254
],
[
"postcss-scss",
3.345682
],
[
"./_baseAssign",
3.225823
],
[
"./_baseMatches",
3.046109
],
[
"sugarss",
2.598226
],
[
"picomatch",
2.47936
],
[
"lodash/truncate",
2.441825
],
[
"./getPostcssResult",
2.400934
],
[
"./sync",
2.380424
],
[
"source-map-resolve",
2.368089
],
[
"fill-range",
2.24156
],
[
"./failsafe",
2.027789
],
[
"./lib/picomatch",
2.012327
],
[
"postcss-syntax",
1.997271
],
[
"./_baseIsNative",
1.966966
],
[
"./_baseMatchesProperty",
1.906645
],
[
"./calculateCellHeight",
1.882612
],
[
"./_baseIsMatch",
1.837226
],
[
"./vendor/writeFileAtomic",
1.634778
],
[
"union-value",
1.597839
],
[
"./scss-parse",
1.595451
],
[
"./lib/source-map-generator",
1.579012
],
[
"./lazy-result",
1.576427
],
[
"./_baseIsEqualDeep",
1.546807
],
[
"./scss-stringify",
1.495396
],
[
"./lib/compile",
1.460858
],
[
"lodash/flatten",
1.396227
],
[
"./scss-stringifier",
1.34716
],
[
"./gitignore",
1.308753
],
[
"./get",
1.305654
],
[
"./scss-parser",
1.290358
],
[
"import-fresh",
1.283417
],
[
"parse-json",
1.283193
],
[
"object-copy",
1.250821
],
[
"./_baseFlatten",
1.247305
],
[
"signal-exit",
1.228545
],
[
"./js-yaml/dumper",
1.224541
],
[
"./terminal-highlight",
1.21864
],
[
"unset-value",
1.214006
],
[
"../type/js/regexp",
1.199128
],
[
"debug",
1.184344
],
[
"./lib/source-map-consumer",
1.175771
],
[
"ret",
1.153754
],
[
"./wrapString",
1.135511
],
[
"../type/seq",
1.129044
],
[
"glob-parent",
1.113209
],
[
"./_mapCacheClear",
1.100849
],
[
"which",
1.054894
],
[
"./providers/reader-sync",
1.042567
],
[
"brace-expansion",
0.981582
],
[
"./node.js",
0.969538
],
[
"./_initCloneByTag",
0.966368
],
[
"./_Hash",
0.95622
],
[
"./_getMatchData",
0.953795
],
[
"./lib/parser",
0.936956
],
[
"postcss/lib/result",
0.930776
],
[
"postcss/lib/stringifier",
0.927586
],
[
"snapdragon-util",
0.903826
],
[
"./scan",
0.855472
],
[
"./sync.js",
0.853267
],
[
"inflight",
0.850046
],
[
"./async",
0.837114
],
[
"is-descriptor",
0.833891
],
[
"./getCacheFile",
0.830258
],
[
"./lintSource",
0.811084
],
[
"has-value",
0.798729
],
[
"dir-glob",
0.792129
],
[
"./parse",
0.766457
],
[
"./normalize-options",
0.753292
],
[
"collection-visit",
0.748102
],
[
"mixin-deep",
0.747503
],
[
"lodash/trimEnd",
0.74196
],
[
"caller-path",
0.672908
],
[
"./lib/source-node",
0.645944
],
[
"./processor",
0.615642
],
[
"./decode-uri-component",
0.608013
],
[
"./_stringToPath",
0.594262
],
[
"./drawTable",
0.582267
],
[
"./_stringSize",
0.579918
],
[
"./_copySymbols",
0.563969
],
[
"./lib/utils",
0.561317
],
[
"./_charsEndIndex",
0.549868
],
[
"./_baseAssignIn",
0.54917
],
[
"has-values",
0.546134
],
[
"./hash",
0.537705
],
[
"./map-generator",
0.536439
],
[
"./debug",
0.520855
],
[
"./lib/parse",
0.517254
],
[
"error-ex",
0.51648
],
[
"../type/int",
0.512948
],
[
"./_copySymbolsIn",
0.511085
],
[
"./_baseKeys",
0.510915
],
[
"log-symbols",
0.50998
],
[
"to-regex-range",
0.506205
],
[
"to-object-path",
0.506
],
[
"ajv/lib/compile/equal",
0.504744
],
[
"path-type",
0.503185
],
[
"./utils/stream",
0.482468
],
[
"./parser",
0.480622
],
[
"color-name",
0.480504
],
[
"array-union",
0.480173
],
[
"./parse-style",
0.478161
],
[
"./scss-tokenize",
0.477474
],
[
"decode-uri-component",
0.47378
],
[
"isexe",
0.464729
],
[
"lodash/max",
0.458587
],
[
"./_baseIsTypedArray",
0.455416
],
[
"./isRegExp",
0.453708
],
[
"./stat",
0.448284
],
[
"caller-callsite",
0.44074
],
[
"./filters/deep",
0.438234
],
[
"./_baseIndexOf",
0.437921
],
[
"./getDirectory",
0.433518
],
[
"./_equalByTag",
0.431303
],
[
"./_listCacheDelete",
0.428591
],
[
"./hasIn",
0.417619
],
[
"./toFinite",
0.414928
],
[
"./_WeakMap",
0.410245
],
[
"source-map-url",
0.403369
],
[
"lodash/values",
0.402402
],
[
"./_listCacheSet",
0.40057
],
[
"ini",
0.394178
],
[
"./tokenize",
0.384613
],
[
"glob-to-regexp",
0.3826
],
[
"./providers/reader-stream",
0.38238
],
[
"./lib/stringify",
0.378764
],
[
"../type/js/undefined",
0.377549
],
[
"../type/float",
0.377176
],
[
"./alignString",
0.37467
],
[
"./_baseForOwn",
0.36706
],
[
"./_SetCache",
0.363368
],
[
"./stringifier",
0.359075
],
[
"./reportUnknownRuleNames",
0.357197
],
[
"./old.js",
0.357037
],
[
"../assignDisabledRanges",
0.356629
],
[
"call-me-maybe",
0.355947
],
[
"./_mapCacheDelete",
0.353135
],
[
"./common",
0.352612
],
[
"path-dirname",
0.347808
],
[
"merge2",
0.344202
],
[
"./route",
0.343804
],
[
"../package.json",
0.341856
],
[
"./warning",
0.335242
],
[
"./utils/validateOptions",
0.316419
],
[
"./managers/options",
0.316369
],
[
"fast-deep-equal",
0.314256
],
[
"is-glob",
0.31258
],
[
"json-parse-better-errors",
0.309365
],
[
"../adapters/fs-sync",
0.308603
],
[
"../type/timestamp",
0.308348
],
[
"inherits",
0.306515
],
[
"./templates.js",
0.305433
],
[
"globjoin",
0.298321
],
[
"is-accessor-descriptor",
0.295511
],
[
"../type/str",
0.295496
],
[
"resolve-from",
0.295127
],
[
"./_memoizeCapped",
0.293782
],
[
"./_isMasked",
0.293001
],
[
"./toNumber",
0.291392
],
[
"is-windows",
0.290671
],
[
"import-lazy",
0.289697
],
[
"./_baseIsRegExp",
0.289294
],
[
"./stream",
0.287248
],
[
"emoji-regex",
0.284968
],
[
"./nested-declaration",
0.284895
],
[
"is-fullwidth-code-point",
0.283533
],
[
"./_initCloneObject",
0.279271
],
[
"./nodes/inline-comment",
0.27868
],
[
"is-directory",
0.278362
],
[
"./_assocIndexOf",
0.278299
],
[
"is-data-descriptor",
0.277463
],
[
"./lib/expand",
0.277256
],
[
"./_baseKeysIn",
0.276433
],
[
"ms",
0.275746
],
[
"./property",
0.274272
],
[
"./isMap",
0.273188
],
[
"../type/binary",
0.271969
],
[
"array-uniq",
0.270638
],
[
"./lib/extglob",
0.26467
],
[
"map-visit",
0.262873
],
[
"./makeStreamConfig",
0.262379
],
[
"pify",
0.259614
],
[
"urix",
0.259479
],
[
"postcss-reporter/lib/util",
0.259455
],
[
"./isSet",
0.259103
],
[
"./cacheWrapper",
0.256949
],
[
"./_hashClear",
0.253701
],
[
"./_baseIsArguments",
0.251452
],
[
"balanced-match",
0.251289
],
[
"pascalcase",
0.250631
],
[
"./lib/parsers",
0.24906
],
[
"./preprocess",
0.248483
],
[
"./get-lang",
0.248308
],
[
"./_nativeKeys",
0.245808
],
[
"concat-map",
0.244464
],
[
"arr-flatten",
0.243524
],
[
"./filters/entry",
0.241482
],
[
"./utils",
0.241033
],
[
"./positions",
0.23975
],
[
"./_asciiSize",
0.238828
],
[
"./_baseFor",
0.238482
],
[
"../type/null",
0.236876
],
[
"copy-descriptor",
0.234781
],
[
"posix-character-classes",
0.230564
],
[
"isarray",
0.228347
],
[
"./resolve-url",
0.228184
],
[
"assign-symbols",
0.227152
],
[
"./_castFunction",
0.225102
],
[
"./wrapWord",
0.223179
],
[
"./_DataView",
0.223145
],
[
"escape-string-regexp",
0.219478
],
[
"./_getAllKeysIn",
0.219064
],
[
"repeat-element",
0.218722
],
[
"./postcssPlugin",
0.218272
],
[
"callsites",
0.215015
],
[
"./LessStringifier",
0.214932
],
[
"./calculateMaximumColumnWidthIndex",
0.212494
],
[
"../type/bool",
0.209011
],
[
"atob",
0.208707
],
[
"./_initCloneArray",
0.208235
],
[
"./_Set",
0.207653
],
[
"./_Promise",
0.206952
],
[
"../type/omap",
0.204952
],
[
"../type/pairs",
0.203268
],
[
"for-in",
0.202212
],
[
"./verboseFormatter",
0.199695
],
[
"./utils/report",
0.196774
],
[
"./binary-search",
0.19473
],
[
"./mark",
0.194676
],
[
"astral-regex",
0.194318
],
[
"ansi-styles",
0.194101
],
[
"../type/merge",
0.193947
],
[
"./utils/getFormatterOptionsText",
0.193634
],
[
"./readFile",
0.193108
],
[
"./quick-sort",
0.193009
],
[
"./needlessDisables",
0.191842
],
[
"../type/map",
0.191745
],
[
"is-arrayish",
0.191603
],
[
"slash",
0.190081
],
[
"./mapping-list",
0.189025
],
[
"./document",
0.188407
],
[
"./basicChecks",
0.185964
],
[
"./getConfigForFile",
0.184866
],
[
"./type",
0.184757
],
[
"./_unicodeSize",
0.184516
],
[
"ansi-regex",
0.182254
],
[
"./validateTableData",
0.180578
],
[
"./_arrayFilter",
0.179866
],
[
"./utils/getFileIgnorer",
0.179028
],
[
"./_hasPath",
0.177153
],
[
"./providers/stat",
0.175241
],
[
"./_hashGet",
0.175109
],
[
"./nodes/import",
0.174866
],
[
"../type/set",
0.174641
],
[
"./vendor",
0.173944
],
[
"./for-each",
0.173857
],
[
"./compactFormatter",
0.172631
],
[
"./_getRawTag",
0.171702
],
[
"./mode.js",
0.17071
],
[
"./_equalObjects",
0.169676
],
[
"../adapters/fs",
0.167979
],
[
"./memoize",
0.167609
],
[
"./liner",
0.166163
],
[
"./_unicodeToArray",
0.162828
],
[
"./_stackClear",
0.162481
],
[
"lodash/isBoolean",
0.162078
],
[
"./nodes/mixin",
0.161999
],
[
"./base64",
0.161345
],
[
"./_isFlattenable",
0.160925
],
[
"./nodes/interpolation",
0.160861
],
[
"./nodes/variable",
0.16031
],
[
"./utils/levenshteinDistance",
0.160134
],
[
"./warn-once",
0.152946
],
[
"./_baseValues",
0.152592
],
[
"./_baseGt",
0.152367
],
[
"./unixFormatter",
0.15216
],
[
"./_cloneBuffer",
0.151935
],
[
"./createPlugin",
0.148497
],
[
"./lib/cache",
0.146031
],
[
"./_defineProperty",
0.145786
],
[
"./signals.js",
0.145105
],
[
"./_baseExtremum",
0.144068
],
[
"./_baseIsMap",
0.14375
],
[
"./position",
0.143741
],
[
"./_baseCreate",
0.142532
],
[
"./_coreJsData",
0.140996
],
[
"./utils/array",
0.140267
],
[
"./jsonFormatter",
0.138445
],
[
"./getPropertyByPath",
0.138061
],
[
"./_listCacheGet",
0.135717
],
[
"./_cloneSymbol",
0.134751
],
[
"./_baseIsSet",
0.132641
],
[
"./_hashHas",
0.131995
],
[
"./utils/noFilesFoundError",
0.13151
],
[
"./_listCacheHas",
0.130393
],
[
"./_cloneDataView",
0.130391
],
[
"./_hashSet",
0.130386
],
[
"./_stackDelete",
0.129958
],
[
"./utils/ruleMessages",
0.129298
],
[
"./_cloneTypedArray",
0.12873
],
[
"./_objectToString",
0.128442
],
[
"./_basePropertyDeep",
0.127983
],
[
"./utils/getOsEol",
0.127916
],
[
"./_mapCacheSet",
0.125315
],
[
"./_nativeKeysIn",
0.125252
],
[
"./_mapCacheHas",
0.125038
],
[
"./_mapCacheGet",
0.124727
],
[
"./_stackGet",
0.124541
],
[
"./normal-opts",
0.122357
],
[
"./_baseSlice",
0.12201
],
[
"./_stackHas",
0.121583
],
[
"./_cloneRegExp",
0.120415
],
[
"./_getValue",
0.118485
],
[
"./_createBaseFor",
0.118129
],
[
"./_listCacheClear",
0.117399
],
[
"./_baseHasIn",
0.117085
],
[
"./_arrayEach",
0.115942
],
[
"./_copyArray",
0.115942
],
[
"./_hashDelete",
0.115379
],
[
"./_mapToArray",
0.114076
],
[
"./_baseFindIndex",
0.112847
],
[
"./_arraySome",
0.112646
],
[
"./_isKeyable",
0.112457
],
[
"./_asciiToArray",
0.112263
],
[
"./_setCacheAdd",
0.109323
],
[
"./_setToArray",
0.108652
],
[
"./_strictIndexOf",
0.105511
],
[
"./stubFalse",
0.105204
],
[
"./_setCacheHas",
0.102077
],
[
"./_cacheHas",
0.101873
],
[
"./_baseIsNaN",
0.098423
],
[
"strip-ansi",
0.096403
],
[
"./_toSource",
0.09
],
[
"../requireRule",
0.087539
],
[
"has-flag",
0.08683
],
[
"supports-color",
0.084695
],
[
"../rules",
0.072585
],
[
"ignore",
0.072413
],
[
"./js-yaml/type",
0.069871
],
[
"is-buffer",
0.064136
],
[
"split-string",
0.055434
],
[
"once",
0.050942
],
[
"is-plain-object",
0.050212
],
[
"is-extendable",
0.049556
],
[
"arr-union",
0.049345
],
[
"./js-yaml/exception",
0.046831
],
[
"component-emitter",
0.045927
],
[
"picomatch/lib/utils",
0.045393
],
[
"snapdragon",
0.045326
],
[
"fragment-cache",
0.042907
],
[
"regex-not",
0.042329
],
[
"imurmurhash",
0.041973
],
[
"./js-yaml/schema",
0.040772
],
[
"repeat-string",
0.039047
],
[
"safe-regex",
0.038933
],
[
"./_getNative",
0.038611
],
[
"./js-yaml/schema/core",
0.038267
],
[
"./source-map-generator",
0.038247
],
[
"./js-yaml/schema/json",
0.03782
],
[
"../formatters",
0.037097
],
[
"is-extglob",
0.036716
],
[
"map-cache",
0.036399
],
[
"wrappy",
0.036348
],
[
"define-property",
0.036242
],
[
"postcss/lib/input",
0.036002
],
[
"arr-diff",
0.034957
],
[
"isobject",
0.03463
],
[
"../directory-reader",
0.034443
],
[
"is-number",
0.034214
],
[
"object-visit",
0.03377
],
[
"postcss/lib/declaration",
0.03354
],
[
"array-unique",
0.032521
],
[
"../../type",
0.031983
],
[
"kind-of",
0.03179
],
[
"../call",
0.03162
],
[
"./normalizeRuleSettings",
0.031298
],
[
"object.pick",
0.031084
],
[
"postcss/lib/container",
0.029747
],
[
"postcss/lib/root",
0.028443
],
[
"./result",
0.026418
],
[
"postcss/lib/lazy-result",
0.02605
],
[
"./assignDisabledRanges",
0.025921
],
[
"lodash",
0.025176
],
[
"../normalizeRuleSettings",
0.024727
],
[
"../async/for-each",
0.024374
],
[
"to-regex",
0.024186
],
[
"./default_safe",
0.02408
],
[
"postcss/lib/comment",
0.024045
],
[
"./configurationError",
0.023774
],
[
"./utils/hash",
0.023598
],
[
"extend-shallow",
0.023513
],
[
"postcss/lib/parser",
0.022928
],
[
"get-value",
0.022514
],
[
"./glob.js",
0.020955
],
[
"./types",
0.020046
],
[
"../common",
0.018575
],
[
"../utils/path",
0.018202
],
[
"set-value",
0.018095
],
[
"postcss/lib/at-rule",
0.01802
],
[
"./conversions",
0.017718
],
[
"./_baseGetAllKeys",
0.017566
],
[
"./js-yaml/schema/failsafe",
0.017018
],
[
"./loaders",
0.016865
],
[
"fs.realpath",
0.016721
],
[
"postcss/lib/rule",
0.01644
],
[
"./utils/filterFilePaths",
0.016155
],
[
"./exception",
0.015989
],
[
"./js-yaml/schema/default_safe",
0.015719
],
[
"@mrmlnc/readdir-enhanced",
0.015244
],
[
"./schema/default_full",
0.015116
],
[
"./js-yaml/schema/default_full",
0.01505
],
[
"use",
0.014625
],
[
"./css-syntax-error",
0.014136
],
[
"./compilers",
0.014098
],
[
"./schema/default_safe",
0.014068
],
[
"path",
0.014067
],
[
"./declaration",
0.014053
],
[
"./_arrayPush",
0.01376
],
[
"@nodelib/fs.stat",
0.013477
],
[
"./_arrayMap",
0.01311
],
[
"lodash/cloneDeep",
0.012938
],
[
"lodash/isNumber",
0.012938
],
[
"slice-ansi",
0.012599
],
[
"./calculateCellWidthIndex",
0.012577
],
[
"./_arrayLikeKeys",
0.012407
],
[
"../schema",
0.012398
],
[
"postcss/lib/tokenize",
0.012297
],
[
"./_Map",
0.012255
],
[
"extglob",
0.012138
],
[
"./call",
0.012081
],
[
"./stringify",
0.012071
],
[
"./augmentConfig",
0.011993
],
[
"./_overArg",
0.011887
],
[
"expand-brackets",
0.011848
],
[
"./isFunction",
0.011787
],
[
"./_baseGetTag",
0.011773
],
[
"./_copyObject",
0.011716
],
[
"./isObject",
0.011711
],
[
"./dynamicRequire",
0.011548
],
[
"./container",
0.011545
],
[
"fast-glob",
0.011533
],
[
"./parsers",
0.011512
],
[
"./_baseTimes",
0.011486
],
[
"../type",
0.010853
],
[
"minimatch",
0.010656
],
[
"./keysIn",
0.010406
],
[
"./_freeGlobal",
0.010121
],
[
"./node",
0.010094
],
[
"../../utils/path",
0.009977
],
[
"./rules",
0.009891
],
[
"./_baseAssignValue",
0.009883
],
[
"./array-set",
0.009793
],
[
"./get-syntax",
0.009775
],
[
"./_baseIsEqual",
0.009734
],
[
"./_getSymbolsIn",
0.009581
],
[
"./comment",
0.009562
],
[
"./isSymbol",
0.009443
],
[
"./_Symbol",
0.009264
],
[
"./_assignValue",
0.009157
],
[
"lodash/isString",
0.009157
],
[
"./list",
0.009154
],
[
"./_root",
0.009073
],
[
"./_getMapData",
0.009069
],
[
"./_getAllKeys",
0.00904
],
[
"./input",
0.00898
],
[
"lodash/isUndefined",
0.008969
],
[
"./_MapCache",
0.008958
],
[
"./_Stack",
0.008875
],
[
"./toInteger",
0.008752
],
[
"./_nativeCreate",
0.008736
],
[
"./_castPath",
0.008673
],
[
"./_ListCache",
0.008661
],
[
"./_baseGet",
0.008627
],
[
"./_getSymbols",
0.008336
],
[
"./isArrayLike",
0.008316
],
[
"postcss",
0.008305
],
[
"./requireRule",
0.008286
],
[
"./_cloneArrayBuffer",
0.008277
],
[
"./utils/configurationError",
0.00827
],
[
"./_baseProperty",
0.008178
],
[
"./_baseToString",
0.008079
],
[
"./util",
0.007857
],
[
"./_hasUnicode",
0.007801
],
[
"./reader",
0.007729
],
[
"./root",
0.007689
],
[
"./stubArray",
0.00739
],
[
"./_stringToArray",
0.007387
],
[
"./patch-postcss",
0.007157
],
[
"./fs",
0.007116
],
[
"nanomatch",
0.007113
],
[
"chalk",
0.007105
],
[
"./wrapCell",
0.00691
],
[
"./at-rule",
0.006839
],
[
"../../utils/pattern",
0.006817
],
[
"./createStylelint",
0.006722
],
[
"./_isPrototype",
0.006661
],
[
"lodash/times",
0.00655
],
[
"string-width",
0.006519
],
[
"path-is-absolute",
0.006515
],
[
"./common.js",
0.006489
],
[
"./constants",
0.006464
],
[
"./rule",
0.006412
],
[
"./sets",
0.006232
],
[
"./base64-vlq",
0.006156
],
[
"../adapters/fs-stream",
0.00614
],
[
"./createStylelintResult",
0.005954
],
[
"./_getTag",
0.005951
],
[
"./stringFormatter",
0.005908
],
[
"./_getPrototype",
0.005829
],
[
"./_Uint8Array",
0.005734
],
[
"./isArguments",
0.005669
],
[
"./formatters",
0.005532
],
[
"./keys",
0.005415
],
[
"./_baseUnary",
0.005291
],
[
"./getBorderCharacters",
0.005225
],
[
"./_isKey",
0.004957
],
[
"assert",
0.004885
],
[
"./_castSlice",
0.004855
],
[
"./_isIndex",
0.004795
],
[
"url",
0.004782
],
[
"./validateConfig",
0.004776
],
[
"./drawRow",
0.004723
],
[
"./_nodeUtil",
0.004709
],
[
"./eq",
0.004694
],
[
"./_matchesStrictComparable",
0.004517
],
[
"./mapDataUsingRowHeightIndex",
0.004503
],
[
"./toString",
0.004422
],
[
"buffer",
0.004401
],
[
"./_isStrictComparable",
0.004297
],
[
"./isObjectLike",
0.004283
],
[
"./drawBorder",
0.004278
],
[
"stream",
0.004256
],
[
"./_toKey",
0.004207
],
[
"tty",
0.004202
],
[
"./identity",
0.004175
],
[
"./isTypedArray",
0.004117
],
[
"./isLength",
0.004113
],
[
"./isBuffer",
0.004059
],
[
"./_equalArrays",
0.004008
],
[
"./padTableData",
0.003986
],
[
"fs",
0.003959
],
[
"./truncateTableData",
0.003754
],
[
"./stringifyTableData",
0.003739
],
[
"./calculateRowHeightIndex",
0.003677
],
[
"./alignTableData",
0.00367
],
[
"./isArray",
0.003431
],
[
"events",
0.003212
],
[
"util",
0.001892
],
[
"module",
0.001661
],
[
"os",
0.001512
]
]
var Module = require('module');
var _require = Module.prototype.require;
const result = new Map();
Module.prototype.require = function requireWithTiming(name) {
var t = process.hrtime();
var r = _require.call(this, name);
t = process.hrtime(t);
result.set(name, t[0] * 1000 + (t[1] / 1000000));
return r;
};
require('./lib/index');
console.log(JSON.stringify(
Array.from(result).sort((a, b) => b[1] - a[1]),
null,
4
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment