Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cli: log response status in proxy #489

Merged
merged 1 commit into from
Nov 14, 2020
Merged

cli: log response status in proxy #489

merged 1 commit into from
Nov 14, 2020

Conversation

dirkdev98
Copy link
Member

Closes #488

@github-actions
Copy link
Contributor

==== Benchmark result ====

Node.js version: 14

Total benchmarks: 13
          Passed: 13
          Failed: 0
-----------
lbu validator simple                    2000000  iterations      576  ns/op
yup validator simple                      20000  iterations    86238  ns/op
fastest-validator validator simple     10000000  iterations      141  ns/op
lbu validator nested                      50000  iterations    54634  ns/op
yup validator nested                       2000  iterations   593934  ns/op
fastest-validator validator nested      1000000  iterations     1031  ns/op
logger - strings                         500000  iterations     2567  ns/op
logger - objects                         500000  iterations     3085  ns/op
logger - deep objects                    200000  iterations     5405  ns/op
uuid                                    2000000  iterations      654  ns/op
uuid.isValid                           10000000  iterations      152  ns/op
isNil                                 500000000  iterations        0  ns/op
isPlainObject                          50000000  iterations       20  ns/op

@github-actions
Copy link
Contributor

==== C8 test coverage ====
Statements: 70.19% ( 18372/26173 )
Branches : 71.87% ( 2174 /3025 )
Functions : 70.33% ( 678 /964 )
Lines : 70.19% ( 18372 /26173 )

@github-actions
Copy link
Contributor

==== Benchmark result ====

Node.js version: 15

Total benchmarks: 13
          Passed: 13
          Failed: 0
-----------
lbu validator simple                    5000000  iterations      472  ns/op
yup validator simple                      20000  iterations    61134  ns/op
fastest-validator validator simple     10000000  iterations      136  ns/op
lbu validator nested                      50000  iterations    49633  ns/op
yup validator nested                       5000  iterations   408873  ns/op
fastest-validator validator nested      2000000  iterations      876  ns/op
logger - strings                         500000  iterations     2265  ns/op
logger - objects                         500000  iterations     2710  ns/op
logger - deep objects                    500000  iterations     4281  ns/op
uuid                                    2000000  iterations      630  ns/op
uuid.isValid                           10000000  iterations      165  ns/op
isNil                                 500000000  iterations        0  ns/op
isPlainObject                         100000000  iterations       19  ns/op

@dirkdev98 dirkdev98 merged commit 6cd1e82 into main Nov 14, 2020
@dirkdev98 dirkdev98 deleted the feat/cli-proxy-status branch November 14, 2020 12:35
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.

cli: proxy log status codes
1 participant