FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[BREAKING] refactor: enhance require profermance by gxcsoccer · Pull Request #118 · node-modules/hessian.js · GitHub

[BREAKING] refactor: enhance require profermance - #118

Open
gxcsoccer wants to merge 1 commit into
1.xfrom
enhance-prof
Open

gxcsoccer wants to merge 1 commit into
1.xfrom
enhance-prof

Conversation

Copy link
Copy Markdown
Member
console.time('hessian.js-1');
require('hessian.js-1');
console.timeEnd('hessian.js-1');

优化前

hessian.js-1: 71.638ms

优化后

hessian.js-1: 10.878ms

Copy link
Copy Markdown
Member Author

wait node-modules/byte#36

gxcsoccer changed the title refactor: enhance require profermance [BREAKING] refactor: enhance require profermance Apr 8, 2019

codecov Bot commented Apr 8, 2019 •
edited
Loading

Copy link
Copy Markdown

Codecov Report

Merging #118 into 1.x will increase coverage by 0.18%.
The diff coverage is 97.53%.

@@            Coverage Diff             @@
##              1.x     #118      +/-   ##
==========================================
+ Coverage   94.57%   94.76%   +0.18%     
==========================================
  Files           9       11       +2     
  Lines        1107     1089      -18     
  Branches      195        0     -195     
==========================================
- Hits         1047     1032      -15     
+ Misses         60       57       -3
Impacted Files Coverage Δ
lib/utils.js 100% <100%> (ø) ⬆️
lib/v1/encoder.js 99.05% <100%> (-0.04%) ⬇️
lib/object.js 95.23% <100%> (-0.66%) ⬇️
lib/v1/decoder.js 98.57% <100%> (+0.43%) ⬆️
lib/is_type_of.js 100% <100%> (ø)
index.js 100% <100%> (ø) ⬆️
lib/debug.js 75% <75%> (ø)
lib/v2/decoder.js 88.54% <91.3%> (+0.09%) ⬆️
lib/v2/encoder.js 93.21% <98.76%> (+0.32%) ⬆️
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1a4fc9a...262394c. Read the comment docs.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL