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: visualise use format and output from cli arguments #484

Merged
merged 1 commit into from
Nov 7, 2020

Conversation

dirkdev98
Copy link
Member

Closes #481

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2020

==== Benchmark result ====

Node.js version: 15

Total benchmarks: 13
          Passed: 13
          Failed: 0
-----------
lbu validator simple                    5000000  iterations      451  ns/op
yup validator simple                      20000  iterations    62070  ns/op
fastest-validator validator simple     10000000  iterations      114  ns/op
lbu validator nested                      50000  iterations    46775  ns/op
yup validator nested                       2000  iterations   502776  ns/op
fastest-validator validator nested      2000000  iterations      753  ns/op
logger - strings                         500000  iterations     2138  ns/op
logger - objects                         500000  iterations     2665  ns/op
logger - deep objects                    500000  iterations     4505  ns/op
uuid                                    2000000  iterations      580  ns/op
uuid.isValid                           10000000  iterations      129  ns/op
isNil                                 500000000  iterations        0  ns/op
isPlainObject                         100000000  iterations       16  ns/op

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2020

==== C8 test coverage ====
Statements: 70.15% ( 18291/26075 )
Branches : 71.91% ( 2166 /3012 )
Functions : 70.37% ( 677 /962 )
Lines : 70.15% ( 18291 /26075 )

@github-actions
Copy link
Contributor

github-actions bot commented Nov 7, 2020

==== Benchmark result ====

Node.js version: 14

Total benchmarks: 13
          Passed: 13
          Failed: 0
-----------
lbu validator simple                    5000000  iterations      481  ns/op
yup validator simple                      20000  iterations    58640  ns/op
fastest-validator validator simple     10000000  iterations      133  ns/op
lbu validator nested                      50000  iterations    46637  ns/op
yup validator nested                       5000  iterations   400604  ns/op
fastest-validator validator nested      2000000  iterations      842  ns/op
logger - strings                         500000  iterations     2326  ns/op
logger - objects                         500000  iterations     2737  ns/op
logger - deep objects                    500000  iterations     4344  ns/op
uuid                                    2000000  iterations      546  ns/op
uuid.isValid                           10000000  iterations      165  ns/op
isNil                                 500000000  iterations        0  ns/op
isPlainObject                         100000000  iterations       18  ns/op

@dirkdev98 dirkdev98 merged commit 6fc1db7 into main Nov 7, 2020
@dirkdev98 dirkdev98 deleted the feat/visualise-path-format branch November 7, 2020 12:56
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: specify format and output path for visualise
1 participant