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

Benchmark class-validator #245

Closed
samchon opened this issue Oct 17, 2022 · 1 comment
Closed

Benchmark class-validator #245

samchon opened this issue Oct 17, 2022 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@samchon
Copy link
Owner

samchon commented Oct 17, 2022

I think I found the latest validator library even slower than zod.

Therefore, measure performance of the library (class-validator) for honor of zod.

@samchon samchon added the enhancement New feature or request label Oct 17, 2022
@samchon samchon self-assigned this Oct 17, 2022
samchon pushed a commit that referenced this issue Oct 17, 2022
@samchon samchon closed this as completed Oct 18, 2022
samchon pushed a commit that referenced this issue Oct 19, 2022
samchon pushed a commit that referenced this issue Oct 19, 2022
samchon added a commit that referenced this issue Oct 19, 2022
@samchon
Copy link
Owner Author

samchon commented Oct 19, 2022

is() function

Measured by AMD-5800H

image

assertType() function

Measured by AMD-5900HX

image

validate() function

Measured by i5-1135g4, Surface Pro 8

image

samchon added a commit that referenced this issue Oct 19, 2022
samchon added a commit that referenced this issue Oct 19, 2022
Complement #245 - benchmark `class-validator`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant